![background image](http://html1.mh-extra.com/html/eaton/elc-pb/elc-pb_programming-manual_4017452701.webp)
A. C o m m u n i c a t i o n s
A - 3
A.2 Configuration of the communication ports
Configuring the operational mode for the ports includes
•
Selecting master or slave operation
•
Selecting ASCII or RTU transmission mode
•
Selecting data packet format: Data Length, Parity, and stop bit length
Note: For a Modbus serial network to operate properly, only one device can be a master and all
devices must use the same transmission mode and data packet format.
Selecting master or slave operation.
For the ELC-PB/PC/PA/PH/PV and the ELCB-PB models COM1 is always a slave port. COM2 is
automatically set to master functionality if a message instruction is entered in the program,
otherwise COM2 will function as a slave port
For the ELCM-PH/PA models COM1~COM3 is automatically set to master functionality if a
message instruction is entered in the program, otherwise COM2 will function as a slave port
Selecting transmission mode.
The transmission mode for the ports is set using dedicated M bits as described in the chart below
Bit \ Value
0
1
M1139
COM1 = ASCII
COM1 = RTU
M1143
COM2 = ASCII
COM2 = RTU
M1320
COM3 = ASCII
COM3 = RTU
Default for all ports is ASCII transmission mode. If RTU transmission mode is desired for a port, the
corresponding M bit should be set at the beginning of the program.
Selecting data packet format.
The data packet format for the ports is set using dedicated D registers as described in the chart
below
Register Contents
D1036
COM1 data packet format
D1120
COM2 data packet format
D1109
COM3 data packet format
The table below defines the bit fields in these D registers:
CONTENT
b0
Data Length
0: 7 data bits, 1: 8 data bits
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...