Delta AS Series Programming Manual page 1113

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Explanation
1.
This instruction reads and writes Modbus TCP data. The following table lists the names and explanations of S
S
.
11
Operand
S
1
S
2
S
3
S
4
_6
_6
S
5
S
6
S
7
6 - 8 3 4
Name
Data Exchange Table No.
Remote IP address
Station address of
remote slave
Read function code
Read remote
communication address
Read data length
Local register where
received data is stored
Description
Modbus TCP data exchange table number,
range: 1–32
The first two sections of the IP address
occupy the first word and the remaining
two sections of the IP address occupy the
second word. For example, if the IP
address is 192.168.1.5, S
=16#C0A8 and
2
S
+1=16#0105.
2
Range: 0–255. If the setting exceeds the
range, the value in the low byte is used
automatically.
Range: 16#01, 02, 03, 04, and 17.
If the function code is out of range,
incoming parameters, including address
and data length, are not modified.
16#0000–16#FFFF
Function code 16#01-02 for reading Bit
device, ranging from 1 to 256
Function code 16#03-04 for reading Word
device, ranging from 1 to 100
When the setting value is 0 or less than 0,
this function is not enabled. If the setting
value is bigger than the maximum value, it
will be seen as the maximum value.
Function code for reading data in Bit
device; M device only
Function code for reading data in Word
device; D device only
1
Data
Remarks
Type
WORD
Occupies
two
WORD[2]
consecutive
words
WORD
WORD
WORD
WORD
BOOL
WORD

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents