EL C Pro g rammi ng Manu al
F O R MORE INFORM AT ION VISIT: WWW.E ATON.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
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...