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.