![Littelfuse Startco FPU-32 Скачать руководство пользователя страница 64](http://html1.mh-extra.com/html/littelfuse-startco/fpu-32/fpu-32_manual_1928675064.webp)
Page C-2
FPU-32 Feeder Protection Unit
Rev.
2-A-103014
Appendix C, FPU-32 TIA-232 Modbus Protocol
C.4.3 W
RITE
TO
R
EGISTER
Function Code 6 or 16 is used to make set-point changes.
C.4.3.1 W
RITE
S
INGLE
R
EGISTER
(C
ODE
6)
The function code format for writing a single register is
shown in Table C.2.
The message consists of the slave address followed by the
Function Code 6 and two 16-bit values. The first 16-bit
value specifies the register to be modified and the second
value is the 16-bit data.
Provided no errors occurred, the slave will re-send the
original message to the master. The response message is
returned only after the command has been executed by the
slave.
The following message will set register 3 to 300 in
slave 5:
0x05
0x06
0x00
0x03
0x01
0x2C
0x78
0x03
TABLE C.2 W
RITE
S
INGLE
R
EGISTER
(C
ODE
6)
H
EX
B
YTE
D
ESCRIPTION
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Slave Address
Function Code
MSB Register Address
LSB Register Address
MSB of Data
LSB of Data
LSB of CRC
MSB of CRC
C.4.3.2 W
RITE
M
ULTIPLE
R
EGISTERS
(C
ODE
16)
The function-code format in Table C.3 can be used for
writing single or multiple registers.
TABLE C.3 W
RITE
M
ULTIPLE
R
EGISTERS
(C
ODE
16)
B
YTE
#
D
ESCRIPTION
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
.
.
.
Byte n
Slave Address
Function Code
MSB Register Address
LSB Register Address
MSB of Quantity
LSB of Quantity
Byte Count
MSB of Data
LSB of Data
LSB of CRC
MSB of CRC
The slave will reply with the slave address, function code,
register address, and the quantity followed by the CRC code
for a total of 8 bytes.
N
OTE:
The maximum number of registers per write is 100
(200 bytes).
C.4.4 C
OMMAND
I
NSTRUCTION
(C
ODE
5)
Modbus Function Code 5 (Force Single Coil) is used to
issue commands to the FPU-32. The format for the
message is listed in Table C.4 and the command code
actions and corresponding coil number are listed in
Table C.5.
TABLE C.4 C
OMMAND
F
ORMAT
(C
ODE
5)
H
EX
B
YTE
D
ESCRIPTION
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Slave Address
Function Code
MSB of Command Code
LSB of Command Code
Fixed at 0xFF
Fixed at 00
LSB of CRC
MSB of CRC
TABLE C.5 S
UPPORTED
C
OMMANDS
C
OMMAND
C
ODE
C
OIL
N
UMBER
A
CTION
0x0003
0x0004
0x0005
0x0006
0x0008
0x0009
0x000D
0x000E
0x000F
0x0010
0x0011
0x0012
4
5
6
7
9
10
14
15
16
17
18
19
Reset Trips
Set Real-Time Clock
Clear Data-Logging Records
Clear Trip Counters
Clear Running Hours
Emergency I
2
t and Trip Reset
Remote/Net Trip Set
Remote/Net Trip Clear
Remote/Net Alarm Set
Remote/Net Alarm Clear
Run1 Set
Run1 Clear
Except for a broadcast address, the slave will return the
original packet to the master.
C.4.5 C
OMMAND
I
NSTRUCTIONS
U
SING
W
RITE
C
OMMANDS
For PLC’s not supporting Function Code 5, commands
can be issued using Write Single Register (Code 6) and
Write Multiple Register (Code 16).
Commands are written to FPU-32 register 6 (Modbus
register 40007). Supported commands are listed in the
COMMAND CODE column in Table C.5.
When using the Write Multiple Registers function code,
the write should be to the single FPU-32 Register 6. If
multiple registers are written starting at FPU-32 Register 6,
the first data element will be interpreted as the command
code but no other registers will be written. If the command
is successful, the FPU-32 will return a valid response
message.
Содержание FPU-32
Страница 2: ...Factory default password is 1111 New Password See Section 4 5 Feeder Identification...
Страница 8: ...Page 1 4 FPU 32 Feeder Protection Unit Rev 2 A 103014 Introduction This page intentionally left blank...
Страница 16: ...Page 2 8 FPU 32 Feeder Protection Unit Rev 2 A 103014 Installation This page intentionally left blank...
Страница 44: ...Page 6 2 FPU 32 Feeder Protection Unit Rev 2 A 103014 Theory of Operation This page intentionally left blank...
Страница 46: ...Page 7 2 FPU 32 Feeder Protection Unit Rev 2 A 103014 Communications This page intentionally left blank...