Yes I am Using chapter 9 of GFK-2224L. Since the Gateway has no way of initiating communications I would assume that the PLC must become the master and the Gateway must be the slave. Sometimes you need to regroup and start at the beginning. For test purposes I put my application aside and made a new Proficy Project. I made the project similar to the example on chapter 9 pages 27-31. It will connect and disconnect. I'm hoping I am just overlooking something. Maybe the RX3i is a little less forgiving...???????? But nerveless I have come up with the same results. I can open channel (connects) put a 1 or 16#0001 in %R02040 and an 8 in %R00301 as it should. I disconnect it puts a 2 in %R00301 and %R02040 remains a 1 or 16#0001 even though it has disconnected. I have checked with the gateway to make sure it has disconnected. It seems like the status is not updating correctly for some reason.
OpenChannel
NOCON LANIFOK,G,%I00096; NOCON LANOK,G,%I00093; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; COIL ETH_READY,G,%M00001; END_RUNG;
NOCON ETH_READY,G,%M00001; NOCON DO_OPEN,G,%M00002; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; POSCOIL OPEN_OS,G,%M00003; END_RUNG;
NOCON ETH_READY,G,%M00001; NOCON OPEN_OS,G,%M00003; MOVE_WORD 1 0 R02040,G,%R02040; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; RESETCOIL OPEN_FLT,G,%M00004; END_RUNG;
NOCON ETH_READY,G,%M00001; NOCON OPEN_OS,G,%M00003; BLKMOV_INT 8 0 8 2039 0 0 3000 R00301,G,%R00301; H_WIRE; H_WIRE; BLKMOV_INT 1 1 4 172 16 244 112 R00308,G,%R00308; END_RUNG;
NOCON ETH_READY,G,%M00001; NOCON OPEN_OS,G,%M00003; COMM_REQ R00301,G,%R00301 2 65536 **; C+1; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; SETCOIL OPEN_FLT,G,%M00004; R+; C+1; C+1; C+1; H_WIRE; C-; V_WIRE; END_RUNG;
NOCON ETH_READY,G,%M00001; H_WIRE; EQ_INT R02040,G,%R02040 1 **; C+1; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; COIL OPEN_SUCESS,G,%M00005; R+; C+1; C+1; C+1; V_WIRE; C-; H_WIRE;
CLOSECHANNEL
NOCON ETH_READY,G,%M00001; NOCON CLOSECHNNL01,G,%M00006; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; POSCOIL CLOSCHNNELOS,G,%M00007; END_RUNG;
NOCON ETH_READY,G,%M00001; NOCON CLOSCHNNELOS,G,%M00007; MOVE_WORD 1 0 R02040,G,%R02040; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; RESETCOIL CLOSE_FLT,G,%M00008; END_RUNG;
NOCON ETH_READY,G,%M00001; NOCON CLOSCHNNELOS,G,%M00007; BLKMOV_INT 2 0 8 2039 0 0 3001 R00301,G,%R00301; H_WIRE; H_WIRE; BLKMOV_INT 1 0 0 0 0 0 0 R00308,G,%R00308; END_RUNG;
NOCON ETH_READY,G,%M00001; NOCON CLOSCHNNELOS,G,%M00007; COMM_REQ R00301,G,%R00301 2 65536 **; C+1; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; SETCOIL CLOSE_FLT,G,%M00008; R+; C+1; C+1; C+1; H_WIRE; C-; V_WIRE; END_RUNG;
NOCON ETH_READY,G,%M00001; H_WIRE; EQ_INT R02040,G,%R02040 0 **; C+1; H_WIRE; H_WIRE; H_WIRE; H_WIRE; H_WIRE; COIL CLOSE_SUCESS,G,%M00009; R+; C+1; C+1; C+1; H_WIRE; C-; V_WIRE;