David.Reed.Schmidt
Member
Hello,
I have a new downtime reporting system at work that connects to the PLC and monitors downtime. The reporting system works by reading a INT value inside the PLC and determining the downtime reason that way. For example 0 is off, 1 is running, 3 is starved for product, 4 is blocked downstream, 5 is break/lunch, etc. The ladder logic assigns the value of the INT tag.
I cannot figure out how to assign values with the ladder logic. I know the logic; for example if the machine is on but there is no product at the infeed sensor then the downtime state is "starved" and therefore I want to assign the INT value for the downtime reason to "3." If the machine is on and there is product at the entrance sensor then I want to change the downtime reason to "running" or an INT value of "1."
I'm using RSLogix 5000 on a brand new CompactLogix PLC. So it has the latest and greatest addressing scheme.
I scoured the internet for an answer and am totally defeated. I'm begging for mercy. Please share your knowledge.
I have a new downtime reporting system at work that connects to the PLC and monitors downtime. The reporting system works by reading a INT value inside the PLC and determining the downtime reason that way. For example 0 is off, 1 is running, 3 is starved for product, 4 is blocked downstream, 5 is break/lunch, etc. The ladder logic assigns the value of the INT tag.
I cannot figure out how to assign values with the ladder logic. I know the logic; for example if the machine is on but there is no product at the infeed sensor then the downtime state is "starved" and therefore I want to assign the INT value for the downtime reason to "3." If the machine is on and there is product at the entrance sensor then I want to change the downtime reason to "running" or an INT value of "1."
I'm using RSLogix 5000 on a brand new CompactLogix PLC. So it has the latest and greatest addressing scheme.
I scoured the internet for an answer and am totally defeated. I'm begging for mercy. Please share your knowledge.