beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 370

background image

7 Application Instructions API 50-99

D V P - P L C A P P L I C AT I O N M A N U A L

7-86

Flag

Function

Action

M1120

For retain the communication setting. After the first program scan
is completed, the communication setting will be reset according
to the setting in the special data register D1120. When the
second program scan starts and RS instruction is being
executed, the communication settings will all be reset according
to the settings in D1120. If your communication protocol is fixed,
you can set M1120 to On and the communication protocol will not
be reset whenever
RS/MODRD/MODWR/FWD/REV/STOP/RDST/RSTEF/MODRW
instruction is executed. In this case, even the settings in D1120
are modified, the communication protocol will not be changed.

Set up and reset by the
user.

M1121

Off when the RS-485 communication data is being transmitted.

By the system.

M1122

Sending request. When you need to send out or receive data by
RS/MODRD/MODWR/FWD/REV/STOP/RDST/RSTEF/MODRW
instructions, you have to set M1122 to On by a pulse instruction.
When these instructions start to execute, PLC will start to send
out or receive data. When the data transmission is completed,
M1122 will be reset automatically.

Set up by the user; reset
automatically by the
system.

M1123

Receiving is completed. When the execution of
RS/MODRD/MODWR/FWD/REV/STOP/RDST/RSTEF/MODRW
instructions is completed, M1123 will be set to On. You can
process the data received when M1123 is On in the program.
You have to reset M1123 to Off when the process of received
data is completed.

Set up automatically by the
system; reset by the user.

M1124

Waiting for receiving. On when PLC is waiting for receiving data.

By the system.

M1125

Receiving status cleared. When M1125 = On, the waiting for
receiving status of PLC will be cleared. You have to reset M1125
to Off after the staus is cleared.

M1126

User/system defined STX/ETX selection of RS instruction (see
the next table for details.)

M1130

User/system defined STX/ETX selection of RS instruction (see
the next table for details.)

Set up and reset by the
user.

M1127

Data transmission is completed for communication instructions
(RS instruction not included)

Set up automatically by the
system; reset by the user.

M1128

Data being sent/received indication

By the systme.

M1129

Receiving time-out. If you already set up a communication
time-out in D1129 and the data have not been received
completey when the time-out set is reached, M1129 will be On.
You have to reset M1129 to Off after the problem is solved.

Set up automatically by the
system; reset by the user.

M1131

On when the data are converted into hex of
MODRD/RDST/MODRW instructions when in ASCII mode;
otherwise, M1131 is Off.

M1140

Data receiving error of MODRD/MODWR/MODRW instructions

M1141

Parameter error of MODRD/MODWR/MODRW instructions

M1142

Data receiving error of VFD-A handy commands

By the system

M1143

ASCII/RTU mode selection (used with
MODRD/MODWR/MODRW instructions). On = RTU; Off = ASCII

M1161

8/16-bit mode selection. On = 8-bit; Off = 16-bit

Set up and reset by the
user.