ELC Programming Manual
FOR MORE INFORMATION VISIT: WWW.EATON.COM MN05003003E
2-94
2. Modify COM1 communication format to ASCII mode, 9600bps, 7 data bits, even parity, 1 stop
bits (9600, 7, E, 1).
MOV
H86 D1036
SET M1138
M1002
Note:
1. After the communication format is modified, the format will stay intact when the ELC switches
from RUN to STOP.
2. Communication format will be reset to default setting after power is shut down.
Example 2: Modifying COM2 communication format
1. Add the below instructions on top of the program to modify the communication format of
COM2. When the ELC switches from STOP to RUN, the program will detect whether M1120
is ON in the first scan. If M1120 is ON, the program will modify the communication settings of
COM2 according to the value set in D1120
2. Modify COM2 communication format to ASCII mode, 9600bps, 7 data bits, even parity, 1 stop
bits (9600, 7, E, 1)
MOV
H86 D1120
SET M1120
M1002
Note:
1. Do NOT write any communication instruction in the program when COM2 is used as slave.
2. After the communication format is modified, the format will stay intact when the ELC switches
from RUN to STOP.
3. Communication format will be reset to default setting after power is shut down.
Example 3: Modifying COM3 communication format
1. Add the below instructions on top of the program to modify the communication format of
COM3. When the ELC switches from STOP to RUN, the program will detect whether M1136
is ON in the first scan. If M1136 is ON, the program will modify the communication settings of
COM3 according to the value set in D1109
2. Modify COM3 communication format to ASCII mode, 9600bps, 7 data bits, even parity, 1 stop
bits (9600, 7, E, 1).
MOV
H86 D1109
SET M1136
M1002