Download Gould Modbus J347 Interface

Transcript
Function
Code
Function
Name
Description
03
Read Holding
Registers
04
Read Input
05
Modify
Coil
06
Modify
Register
07
Read Exception
08
Loop Back Diagnostic
Test
Get the contents,
in
binary,
of holding
registers
from a slave
PC.
Registers
Get the contents,
in
binary,
of input
registers
from a slave
PC.
Status
Change the status
(ON
or OFF) of any coil in
a slave PC. This
command overrides
the
slave PC's memory
protect
and "disable
coil"
features.
Content
Status
Change the binary
content of any output
or holding register
in
the slave PC.
(Input
register
content may
not be changed.)
This
command overrides
the
slave PC's memory
protect
feature.
Get the status
(ON or
OFF) of eight fixed
logic coils from a
slave PC. User logic
may be programmed to
place PC status or
control
information
in
these coils,
such as
"machine ON or OFF", or
"error conditions
exist".
This specially
designed short message
allows quick retrieval
of status.
Used to test system
communications.
This
message uses
subfunction
codes to
retrieve
diagnostic
information
held at the
slave,
start/stop
the
slave PC, access status
counters,
and identify
possible communication
faults.
1-2