Delta AS Series Programming Manual page 923

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Example 2
1.
Function code 03 (16#03): the PLC reads the data from several bit devices that are not discrete input devices
(eight pieces of data is read in this example). For function code 04, the operation is the same as for function code
03.
2.
AS Series CPU module is connected to the DVP-ES2 Series PLC.
When SM96 and X0.0 are on, the AS Series CPU module sends and receives D32–D39 from the DVP-ES2.
_6
3.
When the address of D32 is 16#1020, the values of D32–D39 in DVP-ES2 are listed in the following table.
Device
Value (16#)
The following table lists the operands of the MODRW instruction.
Operand
6 - 6 4 4
D32
D33
1234
5678
S
Unit address
1
S
Function code
2
S
Device address (D32)
3
S
Register involved for reading and writing the data
n
Data length
D34
D35
D36
1122
3344
5566
Description
D37
D38
D39
7788
99AA
BBCC
Device
16#0001
16#0003
16#1020
D10
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents