[email protected]
Member
Hello,
I have a signal from a switch on my PLC. The signal is either 1 or 0. i want to store the current value of the switch in a DB block.
I have currently set up a DB to store a DWord and it works fine. However when i set up a new DB to store the switch signal i was not successful. Do i use the data type as "Bool" in the DB block?
Also I cannot use a MOVE block to move the 1 or 0 signal to the DB? Any help would be much appreciated
I have a signal from a switch on my PLC. The signal is either 1 or 0. i want to store the current value of the switch in a DB block.
I have currently set up a DB to store a DWord and it works fine. However when i set up a new DB to store the switch signal i was not successful. Do i use the data type as "Bool" in the DB block?
Also I cannot use a MOVE block to move the 1 or 0 signal to the DB? Any help would be much appreciated