Delta AS Series Programming Manual page 918

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Function
code
PLC reads the data from several word
16#04
devices.
16#05
PLC writes the state into a bit device.
16#06
PLC writes the data into a word device.
16#0F
PLC writes the states into several bit devices.
PLC writes the data into several word
16#10
devices.
The instruction supports only the function codes mentioned above, and cannot execute other function codes.
Please refer to the examples below.
3.
S
is the device address. If the address is invalid for the designated communication device, the communication
3
device responds with an error message. For example, the device address 16#8000 is invalid in the DVP-ES2.
4.
S is the register involved in the reading/writing the data.
The data to be written into the external equipment is stored in the register in advance.
The data to be read from the external equipment is stored in the register.
5.
N is the length of the data
For word-type communication function codes, the data length cannot exceed 100 words.
For bit-type (BOOL) communication function codes, the data length is between 1–1600 bits.
6.
The following table shows how the functions of S
Function
code
Address from where the
16#01
Address from where the
16#02
Address from where the
16#03
Address from where the
16#04
16#05
Address into where the
Description
, S, and n vary with the function code used.
3
S
3
data is read
data is read
data is read
data is read
Cha p ter 6 App l ied Ins truc tio ns
Data
Devices that support devices for slaves
length
1-100
X
1
Y, M, SM, S, T, C, HC
1
Y, SR, D, T, C, HC, E
1-1600
Y, M, SM, S, T, C, HC
1-100
Y, SR, D, T, C, HC, E
S
Register where the
data read is stored
Register where the
data read is stored
Register where the
data read is stored
Register where the
data read is stored
Status value written
n
Length of data read
Length of data read
Length of data read
Length of data read
No meaning
6 - 6 3 9
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents