Hi All
I have attached a a few sample rungs as a word attachment with this post just to illustrate you my point of view. In the middle rung (rung 3 ) i have a bit address B3:0/13 which is R/W. it is the bit address for controlling remote or local control. I need to map this address for two seperate addresses (Lets say N30:0/2 for read purpose and N31:0/2 for writing purpose). Lets see the scenario, if some PLC from a remote end msg my plc to read the address B3:0/13, the remote plc uses N30:0/2 for this purpose. I will use XIC and OTE instruction right after rung 3 (in between rung 3 or 4) to copy the state of B3:0/13 to N30:0/2). After reading this value, lets say the remote plc will write some thing else on it through N31:0/2. In this case i should use XIC and OTE instruction just before the rung 3(in between rung 2 and 3). My question is, would the logic be fine?
I will appreciate your time and effore in this regard, thanks very much in advance.
Regards
For reading:
I have attached a a few sample rungs as a word attachment with this post just to illustrate you my point of view. In the middle rung (rung 3 ) i have a bit address B3:0/13 which is R/W. it is the bit address for controlling remote or local control. I need to map this address for two seperate addresses (Lets say N30:0/2 for read purpose and N31:0/2 for writing purpose). Lets see the scenario, if some PLC from a remote end msg my plc to read the address B3:0/13, the remote plc uses N30:0/2 for this purpose. I will use XIC and OTE instruction right after rung 3 (in between rung 3 or 4) to copy the state of B3:0/13 to N30:0/2). After reading this value, lets say the remote plc will write some thing else on it through N31:0/2. In this case i should use XIC and OTE instruction just before the rung 3(in between rung 2 and 3). My question is, would the logic be fine?
I will appreciate your time and effore in this regard, thanks very much in advance.
Regards
For reading: