Host Engineering Forum

General Category => ECOMs and ECOM100s => Topic started by: Schmu @ Maxam on February 01, 2013, 11:57:40 AM

Title: no WX/RX of contacts?
Post by: Schmu @ Maxam on February 01, 2013, 11:57:40 AM
I am reading up on Do More coming from DS5. I routinely exchange contact data between my many plc's for alarm and status indications. I see no way to transmit anything other than V, etc. memory in WX/RX so far. Am I missing something with formatting or did they drop the ability to read and write the C's? Thanks for any input! ???

Edit, I was using ECWX and ECRX before.
Edit 2, I see through DLWX the receiving PLC can map to C contacts, but I cannot pick C or VC in the originating PLC to send it.
Title: Re: no WX/RX of contacts?
Post by: Greg on February 04, 2013, 11:05:52 AM
Not sure which scenario you are speaking of, like,
(1) Do-more to DL-PLC, or,
(2) DL-PLC to Do-more, or,
(3) Do-more to Do-more

All 3 are possible:
========================================================
(1) If you are sending Do-more C-bits to DL-PLC C-bits you would use the DLWX using, for example, the following parameters:
     - From: C0:UW, this casts C-bits as a word
     - Number of Bytes: 4 (in this example)
     - To DL: C0
* The above sends Do-more's C0-31 bits (decimal) to the DL-PLC's C0-37 (octal) bits.
========================================================
(2) If you are sending DL-PLC C-bits to Do-more C-bits you would use the ECWX using, for example, the following parameters:
     - From Master Element (Scr): VC0
     - Number Of Bytes: K4
     - To Slave Element (Dest): C0
* The above sends DL-PLC's C0-37 bits (octal) to the Do-more's DLC0-37 (octal) bits. You would have to move the DLC-bits to C-bits with a move instruction in Do-more (e.g. MAPIO, MEMCOPY, MOVE MOVEBIT, MOVER, PUBLISH, SUBSCRIB).
========================================================
(3) If you are sending Do-more C-bits to Do-more C-bits you can use DLWX (DL protocol)or MWX (Modbus TCP protocol) using, for example, the following parameters:

     - Using DLWX:
          - From: C0:UW, this casts C-bits as a word
          - Number of Bytes: 4 (in this example)
          - To DL: C0
* The above sends Do-more's C0-31 bits (decimal) to the Do-more's DLC0-37 (octal) bits. You would have to move the DLC-bits to C-bits with a move instruction in the slave Do-more (e.g. MAPIO, MEMCOPY, MOVE MOVEBIT, MOVER, PUBLISH, SUBSCRIB).

     - Using MWX:
          - Function Code: 15-Write Multiple Coils
          - To Modbus Offset Address: 1
          - Number of Modbus Coils: 32
          - From Do-more Memory Address: C0
* The above sends Do-more's C0-31 bits (decimal) to the Do-more's MC1-32 (decimal) bits. You would have to move the MC-bits to C-bits with a move instruction in the slave Do-more (e.g. MAPIO, MEMCOPY, MOVE MOVEBIT, MOVER, PUBLISH, SUBSCRIB).

NOTE: These are just examples and there are many other ways to think about this and do it.