Hi,
I am able to use NetToPLCSim with PLCSIM, which properly reads Outputs and can write on Inputs if I set the cyclic process image to "None".
However, I am not able to do the same on a Fail-safe input module.
Is there any way to do that?
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have no experience with the F-CPU for myself. But I've had a similar question from another user, and he realized it by adding a datablock to the program, then write to the datablock instead of to the input area, and at the beginning of the OB cycle which your process image belongs to, overwrite the process image with the values from the datablock (I0.0 := DB1.DBX0.0 or IW0 := DB1.DBW0 and so on).
Without modifying the program, you can check the S7ProSim Interface of Plcsim for S7-300/400. This interface I was using in earlier versions of Nettoplcsim. There is a method to write direct peripheral values, means you can also simulate value you can read with PIWxy. But you'll have to write you own application to access the interface. But I don't know if this allows you to simulate also F-DIs.
Last edit: Thomas Wiens 2022-03-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am able to use NetToPLCSim with PLCSIM, which properly reads Outputs and can write on Inputs if I set the cyclic process image to "None".
However, I am not able to do the same on a Fail-safe input module.
Is there any way to do that?
Thank you
I have no experience with the F-CPU for myself. But I've had a similar question from another user, and he realized it by adding a datablock to the program, then write to the datablock instead of to the input area, and at the beginning of the OB cycle which your process image belongs to, overwrite the process image with the values from the datablock (I0.0 := DB1.DBX0.0 or IW0 := DB1.DBW0 and so on).
Without modifying the program, you can check the S7ProSim Interface of Plcsim for S7-300/400. This interface I was using in earlier versions of Nettoplcsim. There is a method to write direct peripheral values, means you can also simulate value you can read with PIWxy. But you'll have to write you own application to access the interface. But I don't know if this allows you to simulate also F-DIs.
Last edit: Thomas Wiens 2022-03-04