Download PLX30 Series - absatraining.com

Transcript
MBS Protocol
User Manual
PLX30 Series
Ethernet and Serial Gateways
Preset Multiple Registers (Function Code 16)
Query
Holding registers existing within the controller can have their contents changed
by this message (a maximum of 60 registers). However, because the controller is
actively scanning, it also can alter the content of any holding register at any time.
The values are provided in binary up to the maximum capacity of the controller
(16-bit for the 184/384 and 584); unused high order bits must be set to zero.
Note: Function codes 5, 6, 15, and 16 are the only messages that will be recognized as valid for
broadcast.
Adr
Func
11
10
Hi
Add
00
Lo Add
Quantity
87
00
02
Byte
Cnt
04
Hi
Data
00
Lo
Data
0A
Hi
Data
01
Lo Data Error Check
Field
CRC
02
Response
The normal response to a function 16 query is to echo the address, function
code, starting address and number of registers to be loaded.
Adr
11
Page 152 of 200
Func
10
Hi Addr
00
Lo Addr
87
Quantity
00
02
Error Check Field
56
ProSoft Technology, Inc.
July 10, 20133