9 Application Instructions API 150-199
DVP-PLC Application Manual
9-9
Registers for received data (responding messages)
Register
DATA
Explanation
D1070 Low
01 H
Address
D1071 Low
10 H
Function
D1072 Low
20 H
D1073 Low
00 H
Data Address
D1074 Low
00 H
D1075 Low
02 H
Number of Registers
D1076 Low
4A H
CRC CHK Low
D1077 Low
08 H
CRC CHK High
Remarks:
1.
The activation condition placed before MODRD, RDST and MODRW instructions cannot use rising-edge or
falling-edge contacts; otherwise the data stored in the registers for received data will encounter errors.
2.
Flags and special registers for MODRW instruction in RS-485 communication. (For details, see API 80 RS).
Flags
Function
M1120
For retaining communication setups. After the setup is made, changes in D1120 will be
invalid.
M1121
When Off, RS-485 is sending data.
M1122 Sending
request
M1123
Receiving is completed
M1124
Waiting for receiving data
M1125
Disable receiving status
M1126
Selecting STX/ETX system
M1127
Sending/receiving data through MODRD / RDST / MODRW instructions is completed.
M1128
Sending data…/receiving data…
M1129
Receiving data time-out
M1130 User/system
defined
STX/ETX
M1131
On when MODRD / MODWR / MODRW is converting data to hex
M1140
MODRD / MODWR / MODRW data receiving error
M1141
MODRD / MODWR / MODRW parameter error
M1142
VFD-A handy instruction data receiving error
M1143
ASCII/RTU mode selection (used with MODRD/MODWR/MODRW) (Off = ASCII mode;
On = RTU mode)
D1070 ~ D1085
When the built-in RS-485 communication instruction is executed and sends out data, the
receiving end will respond with a message and the message will be stored in D1070 ~
D1085. The user can check the registers for the messages.
D1120
RS-485 communication protocol
D1121
PLC communication address (saving PLC communication address; latched)
D1122
Remaining words of the sent data
D1123
Remaining words of the received data
D1124
Start text definition (STX)
D1125
Definition of end text 1 (ETX1)
D1126
Definition of end text 2 (ETX2)
D1129
Abnormal communication time-out. Unit: ms
D1130
Records of error codes sent back from MODBUS
D1256 ~ D1295
When the built-in RS-485 communication instruction MODRW is executed, the sent out
data will be stored in D1256 ~ D1295. The user can check whether the instruction is
correct by the contents in the registers.
D1296 ~ D1311
PLC will automatically convert the ASCII data stored in the register designated by the user
into hex format.
Содержание 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...