Siemens Bits to Integer Conversion

D

Thread Starter

dschmidt

I have a series of bits that denote alarm states inside the PLC. The PLC uses the alarms states for its internal logic. I'd like to monitor these alarms in a SCADA system as an integer. I can unpack the integer and inspect each bit in the SCADA system. How can I pack the bits into the integer using Siemens PLC ladder or function block logic?
 
I would assume your SCADA system can access at least one word in a data table.

You haven't stated which Siemens PLC but in ladder format it could be one rung for each alarm bit.
the equivalent to get/put statements, one for each bit.

The same idea applies to any other PLC not just Siemens.
 
Top