Delta AS Series Programming Manual page 925

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Example 3
1.
Function code 05 (16#05): the PLC writes the state into a bit device. The device is set to ON in this example.
_6
2.
The AS Series CPU module is connected to the DVP-ES2 series PLC. D10.0 is ON and Y0 in the DVP-ES2 Series
PLC is also ON. When SM96 and X0.0 are ON, the PLC can set the state of Y0.
The following table lists the operands for the MODRW instruction.
Operand
S
S
S
S
n
ASCII mode
The numbers below are only for reference. Instead of showing the values in the ASCII codes, here the expressions
are shown in 16# values.
AS sends the communication command: ":01 05 05 00 FF 00 F6 CR LF"
AS receives the communication command: ":01 05 05 00 FF 00 F6 CR LF"
6 - 6 4 6
1
2
3
Register for reading and writing the data
Data length (not used with this function code)
Description
Unit address
Function code
Device address
Device
1
16#0005
16#0500
D10.0
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents