3 function code 06h – store single setting – GE Industrial Solutions Entellisys 5.0 Integrator's Guide User Manual
Page 51
Supported function codes
51
3
3.5.3 Function Code 06H – Store Single Setting
This function code allows the master to modify the contents of a single setting register in a CPU.
Setting registers are always 16-bit (two byte) values transmitted high-order byte first. The
following table shows the format of the master and slave packets. The example shows a master
device storing the value 200 at memory map address 4051h to slave device 11h (17 dec).
Master and Slave Device Packet Transmission Example
MASTER TRANSMISSION
PACKET FORMAT
EXAMPLE (HEX)
SLAVE ADDRESS
11
FUNCTION CODE
06
DATA STARTING ADDR - hi
40
DATA STARTING ADDR - lo
51
DATA - hi
00
DATA - lo
C8
CRC - lo
CE
CRC - hi
DD
SLAVE RESPONSE
PACKET FORMAT
EXAMPLE (HEX)
SLAVE ADDRESS
11
FUNCTION CODE
06
DATA STARTING ADDR - hi
40
DATA STARTING ADDR - lo
51
DATA - hi
00
DATA - lo
C8
CRC - lo
CE
CRC - hi
DD