2 Functions of Devices in DVP-PLC
DVP-PLC Application Manual
2-80
the program will detect whether M1136 is On in the first scan time. If M1136 is On, the program will modify the
relevant settings of COM3 according to the value set in D1109.
2. Modify the baud rate of COM3 into 38,400bps
MOV
HA0
D1109
SET
M1136
M1002
Notes:
1.
After the communication format is modified, the format will stay intact when PLC switches from RUN to
STOP.
2.
If you shut down the power of the PLC and repower it again, the modified communication format will return
to default setting.
Example 4: Setting up RTU mode of COM1 and COM2
1. COM1 and COM2 support ASCII/RTU mode. COM1 is set by M1139 and COM2 is set by M1143. When the flags
are On, they are in RTU mode; when the flags are Off, they are in ASCII mode.
2. How to set up RTU mode
COM1: (9,600, 8, E, 1, RTU)
MOV
H86
D1036
SET
M1138
M1002
SET
M1139
COM2: (9,600, 8, E, 1, RTU)
MOV
H86
D1120
SET
M1120
M1002
SET
M1143
3. COM2 of EH/EH2/SV series MPU supports the generation of interruption I170 when the data receiving is
completed in Slave mode.
4. Normally when the communication terminal of the PLC is in Slave mode, PLC will not immediately process the
communication data entered but process it after the END is executed. Therefore, when the scan time is very long
and you need the communication data to be processed immediately, you can use interruption I170 for this matter.
5. Example of interruption I170 (after the data receiving is completed in Slave mode)
Содержание DVP-PLC
Страница 1: ...PLC PLC...
Страница 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Страница 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Страница 250: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 38 X0 DIV D0 D10 D20 D0 D10 K4Y0 DIV...
Страница 270: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 58 RST M0 X0 RST T0 RST Y0 FMOV K0 D10 K5...
Страница 337: ...7 Application Instructions API 50 99 DVP PLC APPLICATION MANUAL 7 53 X10 STMR T10 K50 Y0 Y3 X10 Y1 Y2 5 sec 5 sec...
Страница 458: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 56 or relay itself See 2 3 for more information...
Страница 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Страница 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...