Delta AS Series Programming Manual page 930

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

The following table lists the operands for the MODRW instruction.
Operand
S
1
S
2
S
3
S
Registers Y0–Y17 for reading and writing the data
n
ASCII mode
You do not need to convert the ASCII codes, and they are all expressed in 16# values.
AS sends the communication command: ":01 0F 0500 0010 02 D2 04 03 CR LF"
AS receives the communication command: ":01 0F A0 00 00 10 40 CR LF"
RTU mode
AS sends the communication command: "01 0F 05 00 00 10 02 D2 04 EA 43"
AS receives the communication command: "01 0F A0 00 00 10 76 07"
If the format is correct, SM100 is ON.
3.
After receiving the data sent back from the DVP-ES2, the PLC confirms the data format sent back from the DVP-
ES2 and determines if it is correct. If no error occurs in the format, the corresponding special flags SM100 are ON;
if not SM102 is ON.
Device
Y7
State
ON
Value
Device
Y17
State
OFF
Value
4.
Since this function code writes data, the operand n is ignored.
Description
Unit address
Function code
Device address of Y0
Data length
Y6
Y5
Y4
ON
OFF
ON
D
Y16
Y15
Y14
OFF
OFF
OFF
0
Cha p ter 6 App l ied Ins truc tio ns
Device
1
16#000F
16#0500
D10.0
16
Y3
Y2
Y1
OFF
OFF
ON
2
Y13
Y12
Y11
OFF
ON
OFF
4
6_
Y0
OFF
Y10
OFF
6 - 6 5 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents