Hello all, I couldn't find a solution through the search tool so hopefully someone out there can help me along.
I'm working with a converted PLC5 program running in a 1756-L82E. There are RIO block transfer messages for talking to four analog cards in a 1771 rack via a 1756-DHRIO/1771-ASB setup. The old logic had a timer for each analog card that would indicate an alarm if the BT message .DN bit didn't transition within 5 seconds. I'm thinking we would be better served by triggering a message timeout to keep the other BTs from hanging up. However, I've never programmed one of these before.
My thought was to:
1. Use a timer that examines the message .ST bit instead of the msg .DN bit.
2. Latch the MSG.TO bit via the above XIC timer.DN bit & XIO MSG.ER bit.
3. My understanding is that the MSG instruction will automatically clear the .TO bit when the .ER bit turns on.
Thoughts? Thanks in advance.
I'm working with a converted PLC5 program running in a 1756-L82E. There are RIO block transfer messages for talking to four analog cards in a 1771 rack via a 1756-DHRIO/1771-ASB setup. The old logic had a timer for each analog card that would indicate an alarm if the BT message .DN bit didn't transition within 5 seconds. I'm thinking we would be better served by triggering a message timeout to keep the other BTs from hanging up. However, I've never programmed one of these before.
My thought was to:
1. Use a timer that examines the message .ST bit instead of the msg .DN bit.
2. Latch the MSG.TO bit via the above XIC timer.DN bit & XIO MSG.ER bit.
3. My understanding is that the MSG instruction will automatically clear the .TO bit when the .ER bit turns on.
Thoughts? Thanks in advance.