AS Series Programming Manual 2. In general, use the MCONFP pulse instruction. 3. The following points explain the Modbus communication function codes in S 4 and S 8 . 6-738 Operand Name Description Data Type Remarks S7 Local register where received data is stored Function code for reading data in Bit device; M device only Function code for reading data in Word device; D device only BOOL WORD S8 Write function code 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.
WORD S9 Write remote communication address Range:16#0000–16#FFFF WORD S10 Write data length 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.
WORD S11 Local register where remote data is written Function code for writing data in Bit device; M device only Function code for writing data in Word device; D device only BOOL WORD 6 _