3 function code 06h - store single setting, 3 function code 06h – store single setting – GE Industrial Solutions Entellisys 4.0 Integrator's Guide User Manual

Page 33

Advertising
background image

Supported function codes

33

2

2.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

Advertising