Delta AS Series Programming Manual page 1114

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Operand
S
Write function code
8
Write remote
S
9
communication address
S
Write data length
10
Local register where
S
11
remote data is written
2.
In general, use the MCONFP pulse instruction.
3.
The following points explain the Modbus communication function codes in S
When the AS Series PLC reads the data from multiple bit devices (not discrete input devices), the function code
sent is 1 (16#01).
When AS Series PLC reads the data from multiple bit devices (only discrete input devices), the function code sent
is 2 (16#02).
When the AS Series PLC reads the data from multiple word devices (not input registers), the function code sent is
3 (16#03).
Name
Range: 16#05, 06, 0F, and 10.
If the function code is out of range,
outgoing parameters, including address
and data length, are not modified.
Range:16#0000–16#FFFF
Function code 16#0F for writing Bit device,
ranging from 1 to 256; the value in function
code 16#05 can only be 1; for PLC with
FW V1.06.20 or later: 0 can be used in
16#05
Function code 16#10 for writing Word
device, ranging from 1 to 100; the value in
function code 16#06 can only be 1; for
PLC with FW V1.06.20 or later: 0 can be
used in 16#05
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 writing data in Bit device;
M device only
Function code for writing data in Word
device; D device only
Ch ap te r 6 Ap pl ie d Instruc ti ons
Description
and S
.
4
8
Data
Remarks
Type
WORD
WORD
WORD
BOOL
WORD
6 - 8 3 5
6_
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents