Function Code - Fuji Electric PXG-9 Communication Instruction Manual

Digtal controller micro controller x communication function (rs-485 modbus)
Hide thumbs Also See for PXG-9:
Table of Contents

Advertisement

Function Code

For MODBUS protocol, coil numbers or resistor numbers are assigned by the function code, and each function code
only works for the assigned coil number or resistor number.
The correspondence between the function code and the coil number or resistor number is as follows.
Function Code
Code
Function
02
Read (continuous) Input relay
H
03
Read (continuous) Hold resistor
H
04
Read (continuous) Input resistor
H
06
Write
Hold resistor
H
10
Write (continuous)
Retention resistor
H
The message length for each function is as follows.
Code
Contents
02
Read bit data (read-only)
H
03
Read word data
H
04
Read word data (read-only)
H
06
Write word data
H
10
Continuously write word data
H
* 1:
"Assignable Data Number" above is limited by the data number that the micro controller assigned to the coil number or
address number.
(Excluding function code 06
Target
Command Message
Assignable
Data Number
Minimum
* 1
8 bit
* 1
60 words
* 1
37 words
1 word
* 1
60 words
11
).
H
Coil Number, Resistor Number
Number
Contents
1xxxx
Read bit data
3xxxx
Read word data
4xxxx
Read/write word data
[unit: byte]
Response Message
Maximum
Minimum
Maximum
8
8
6
8
8
7
8
8
7
8
8
8
129
8
– 23 –
6
125
79
8
8
Chapter
5

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

Pxg-5Pxg-4

Table of Contents