EasyManua.ls Logo

Delta DVP-20PM

Delta DVP-20PM
580 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Applied Instructions and Basic Usage
API
Applicable model
20PM
101
MODWR
Writing Modbus data
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
S
1
S
2
n
Note: S
1
is in the range of K0 to K254.
Please refer to specifications for more information about device
ranges.
16-bit instruction (7 steps)
MODWR
Continuity
instruction
32-bit instruction
Flags
M1120~M1129 and M1140~M1143
Please refer to the additional remark below.
Explanation
The instruction MODWR is used to
drive peripheral equipment in a Modbus
ACII/RUT mode. The RS-485 ports on Delta VFD series AC motor drives
(except VFD-A series AC motor drives) conform to a Modbus communication
format. Users can write data into a Delta AC motor drive by means of the
instruction MODWR.
S
1
: Device address; S
2
: Data address; n: Data which is written
S
2
is a data address. If the data address specified is illegal, the device which is
connected will respond with an error message, an error code will be stored in
D1130 in the DVP-10PM series motion controller used, and M1141 will be ON.
For example, the data address 8000H in a VFD-B series AC motor drive is
illegal, and therefore M1141 is ON, and the value in D1130 is 2. Please refer to
VFD-B User Manual for more information about error codes.
The data which is sent by a peripheral is stored in D1070~D1076. After a
DVP-10PM series motion controller receives the data sent by a peripheral, it
will automatically check whether the data received is correct. If an error occurs,
M1140 will be ON.
If a DVP-10PM series motion controller sends correct data to a peripheral after
M1140 or M1141 is turned ON, and the data with which the peripheral
responds is correct, M1140 or M1141 will be reset.
Example 1
A DVP-20PM series motion controller is connected to a VFD-B series AC
motor drive (ASCII mode: M1143=OFF)
Processing the data received
Communication protocol: 9600,8,E,1
The communication protocol set is retained.
Communication timeout: 100 ms
M1127 is reset.
Request for sending data
The data received is stored in D1070~D1085
in the form of ASCII characters.
Communication command:
Device address: 01
Data address: H0100
Data:H1770
The reception
of data is complete.
M100
2
MOV H87
D1120
SET
M1120
MOV K100 D1129
RST
M1127
M1127
SET M1122
X0
MODWR
K1
H0100 H1770
X0
DVP-20PM Application Manual
5-90

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals