hanlonmi06
Member
hello,
I'm working on a problem concerning an MSG instruction in RS500 using a 5/04. I'm not exactly sure how to describe what it is i am communicating with, the best I've been given is a software package called 'factory link'. the message itself is set up for a PLC5 write.
Essentially the message is enabled when any one of the bits in the data table address goes true. so for example, data table address is N7:164, if N7:164/3 happens to be true, we enable the message. The /3 bit will only be on for one program scan as the logic setting it true is controlled with a one-shot.
The problem i am having is that it seems like we loose track of some of the information in the transfer of the message. i put counters on the EW (bit 10), EN (bit 15) and DN (bit13) and over time i get more enabled/waiting and done counts then i do message enabled counts. Its as if i'm sending more messages than i am enabling.
what this causes is more machine start/running counts than machine stop counts (N7:164/3 is machine running, N7:164/4 is machine stop) and the data basing in oracle and so on and so on gets messed up and i get blamed for it in production meetings, wahoo...
any input would be great!
I'm working on a problem concerning an MSG instruction in RS500 using a 5/04. I'm not exactly sure how to describe what it is i am communicating with, the best I've been given is a software package called 'factory link'. the message itself is set up for a PLC5 write.
Essentially the message is enabled when any one of the bits in the data table address goes true. so for example, data table address is N7:164, if N7:164/3 happens to be true, we enable the message. The /3 bit will only be on for one program scan as the logic setting it true is controlled with a one-shot.
The problem i am having is that it seems like we loose track of some of the information in the transfer of the message. i put counters on the EW (bit 10), EN (bit 15) and DN (bit13) and over time i get more enabled/waiting and done counts then i do message enabled counts. Its as if i'm sending more messages than i am enabling.
what this causes is more machine start/running counts than machine stop counts (N7:164/3 is machine running, N7:164/4 is machine stop) and the data basing in oracle and so on and so on gets messed up and i get blamed for it in production meetings, wahoo...
any input would be great!