Delta AS Series Programming Manual page 921

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Example 1
1.
Function code 01 (16#01): the PLC reads the data from several bit devices that are not discrete input devices (16
pieces of data is read in this example). For function code 02, the operation is the same as for function code 01.
AS Series CPU module is connected to the DVP-ES2 Series PLC.
When SM96 and X0.0 are on, the AS Series CPU sends and receives the Y0–Y17 commands from the DVP-ES2.
When the address of Y0 is 16#0500, the states of Y0–Y17 in DVP-ES2 are listed in the following table.
_6
Device
State
Value
Device
State
Value
The following table lists the operands for the MODRW instruction.
Operand
6 - 6 4 2
Y7
Y6
ON
ON
D
Y17
Y16
OFF
OFF
0
S
Unit address
1
S
Function code
2
S
Device address
3
S
Register for reading and writing the data
n
Data length
Y5
Y4
Y3
OFF
ON
OFF
Y15
Y14
Y13
OFF
OFF
OFF
Description
Y2
Y1
Y0
OFF
ON
OFF
2
Y12
Y11
Y10
ON
OFF
OFF
4
Device
16#0001
16#0001
16#0500
D10.0
16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents