4 function code 10h - store multiple settings, 4 function code 10h – store multiple settings – GE Industrial Solutions Entellisys Integrator’s Guide User Manual

Page 14

Advertising
background image

Integrator’s Guide

14

1.1.5.4 Function Code 10H – Store Multiple Settings

This function code allows the master to modify the contents of a one or more consecutive
setting registers in a CPU. Setting registers are 16-bit (two byte) values transmitted high-order
byte first. The maximum number of setting registers that can be stored in a single packet is 60.
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, and the value 1 at memory
map address 4052h to slave device 11h (17 dec).

Master and Slave Device Packet Transmission Example

MASTER TRANSMISSION

PACKET FORMAT

EXAMPLE (HEX)

SLAVE ADDRESS

11

FUNCTION CODE

10

DATA STARTING ADDR-hi

40

DATA STARTING ADDR-lo

51

NUMBER OF SETTINGS-hi

00

NUMBER OF SETTINGS-lo

02

BYTE COUNT

04

DATA #1 - hi

00

DATA #1 - lo

C8

DATA #2 - hi

00

DATA #2 - lo

01

CRC – lo

12

CRC – hi

62

Advertising