adccommunitymod (AutomationDirect) asked a question.

WX help

Created Date: August 19,2005

Created By: rex2802

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I'm having trouble getting a "wx " instruction to work. Master Ecom is ID 7 and in slot 7. Slave Ecom is id 1 and in slot 7. I tried the example in the user manual(5-195), but I'm having trouble understanding the proper value to put into the 1st "ld " function. I thought K0107 would be correct, but don't see any data being written to the slave plc.


  • adccommunitymod (AutomationDirect)

    Created Date: August 19,2005

    Created by: bcarlton

    The first value should be - K0701

    K = Constant

    0 = Transmitting ECOM in Rack 0

    7 = Transmitting ECOM in Slot 7

    01 = Target ECOM's ID = 01

    You don't worry about the ID set into the master unless the remote ECOM is to initiate a conversation.

    And download the ECOM manual - it has even more stuff. Maybe it would have cleared this up.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 22,2005

    Created by: rex2802

    bcarlton, thanks for the reply. I do have the Ecom manual and have used the wx function succesfully in the past.What you have in your reply is exactly what I had for code. What I have discovered is the master cpu will only write to the slave cpu on power up. A positive differential or PD contact to trigger the wx function doesn't work either. Place ment of the code in my ladder has no effect either.

    Any other suggestions?

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 22,2005

    Created by: bcarlton

    You have "K0107 " in your first post. I have "K0701 " in my reply. Did you copy your setup incorrectly in the post? You don't see any data being written to the slave on the first communication. Does the error bit come on?

  • adccommunitymod (AutomationDirect)

    Created Date: August 22,2005

    Created by: rex2802

    bcarlton,

    I miss typed my 1st post. k701 is what I had coded. The error bit was On after the 1st scan. After a more through review of the Ecom manual I found my error. After placing the error and busy flags in my WX rung everything is looking good and working correctly.

    Maybe some time off is in order.

    Thanks.

    rex2802

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 19,2005

    Created by: rex2802

    I'm having trouble getting a "wx " instruction to work. Master Ecom is ID 7 and in slot 7. Slave Ecom is id 1 and in slot 7.

    I tried the example in the user manual(5-195), but I'm having trouble understanding the proper value to put into the 1st "ld " function. I thought K0107 would be correct, but don't see any data being written to the slave plc.