In KRC 2 I have an input word : SIGNAL IW_PLC_Recipe_Number $IN[201] TO $IN[216] ,
that I want to simulate (I am working in Office Lite). I can simulate separate inputs (as shown in the manual), but is there a way to simulate to simulate a combination of bits (to set is as an integer value)?
Simulate input word
-
Plc_User -
March 1, 2016 at 11:25 AM -
Thread is marked as Resolved.
-
-
A possible way to do it is to link outputs to inputs in the SPS.sub and put a value to the outputs
In $Config.dat
DECL SIGNAL IW_PLC_Recipe_Number $IN[201] TO $IN[216]
DECL SIGNAL OW_PLC_Recipe_Number $OUT[201] TO $OUT[216]in Sps.sub
IW_PLC_Recipe_Number = OW_PLC_Recipe_Number -
I do not think it is possible to assign value to the INPUT。
-
Sorry I made a mistake there. In Office Lite I would use Outputs instead of Inputs.
If you have an inword (IW_PLC_Recipe_Number) make it an outword (OW_PLC_Recipe_Number) then you can modify the outword and look at the value of it.