IO_Rack

CJ2 Ethernet/IP Explicit Messaging

2 posts in this topic

I'm executing the EGATR(721) instruction for a "Get Attribute Single" operation. It's working but I have some questions about controlling it.

In the screen shot below, I set up two counters monitoring the same bit (A202.00) in separate locations in the program. According to the manual, this bit turns ON when the logical port is ready then turns OFF when the communication instruction has completed. D500 is incrementing while D502 is not. I can't believe the instruction is completing that quickly. Why is the flag not triggered there?

I want to execute the messages as fast as possible and monitor them so I may execute other messages without overlapping. I understand that I can use different ports and execute them simultaneously, but I need more instructions than I have ports.

I have found very few examples (general conventions) for using explicit messages in the CJ2. The ones I have found look like the manual. Does anyone here have experience controlling the Explicit Message execution?

EGATR.thumb.jpg.268815d2a87280dfa4b0f275

Share this post


Link to post
Share on other sites

It may be helpful to show what I would like to do. The first time the logical port is available (Enabled), the message is executed. The NEXT time the logical port becomes available, I know the read has completed. I don't know why this doesn't work. W1.03 never turns ON.

Additional info:  This is in a CJ2M-CPU33 using the built in Ethernet port. I sending messages to a Schneider MDrive LMDCE421C.

EGATR_2.thumb.jpg.ff105a0a4a3ebd8aea5d5a

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now