Delta AS Series Programming Manual page 932

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

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 10 0600 00 08 10 1234 5678 1122 3344 5566 7788 99AA BBCC
8F CR LF"
AS receives the communication command: ":01 10 06 00 00 08 E1 CR LF"
RTU mode
AS sends the communication command: "01 10 06 00 00 08 10 1234 5678 1122 3344 5566 7788 99AA BBCC 0B
0C"
AS receives the communication command: "01 10 06 00 00 08 C1 47"
If the format is correct, SM100 is ON.
5.
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. When the DVP-ES2 receives this instruction, it writes data stored in the devices D20–27 to the
device T0–7 in the DVP-ES2.
Device
T0
Value (16#)
1234
6.
Since this function code writes data, the operand n is ignored.
Additional remarks
1.
If the value in S
or S
1
2
and the error code in SR0 is 16#2003.
2.
If the device specified by S is not sufficient to contain the n pieces of data, the instruction is not executed, SM0 is
ON, and the error code in SR0 is 16#2003.
3.
If n exceeds the range, an operation error occurs, the instruction is not executed, SM0 is ON, and the error code in
SR0 is 16#200B.
4.
If the function code specified by S
otherwise, an operation error occurs, the instruction is not executed, and the error code in SR0 is 16#2003.
5.
If the function code specified by S
otherwise, an operation error occurs, the instruction is not executed, and the error code in SR0 is 16#2003.
T1
T2
5678
1122
exceeds the range, an operation error occurs, the instruction is not executed, SM0 is ON,
is related to bit devices, the device specified by S must be a bit device;
2
is related to word devices, the device specified by S must be a word device;
2
Cha p ter 6 App l ied Ins truc tio ns
T3
T4
T5
3344
5566
7788
T6
T7
99AA
BBCC
6_
6 - 6 5 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents