GE 1601-0149-A2 manual Modbus Functions Function Code 16 Store Multiple Setpoints

Page 11

Modbus Functions

Function Code 16: Store Multiple Setpoints

489

Communications Guide

Modbus Implementation: Preset Multiple Registers

489 Implementation: Store Multiple Setpoints

This function code allows multiple Setpoints to be stored into the 489 memory. Modbus “registers” are 16-bit (two byte) values transmitted high order byte first. Thus all 489 setpoints are sent as two bytes. The maximum number of Setpoints that can be stored in one transmission is dependent on the slave device. Modbus allows up to a maximum of 60 holding registers to be stored. The 489 response to this function code is to echo the slave address, function code, starting address, the number of Setpoints stored, and the CRC.

Message Format and Example:

Request slave 11 to store the value 01F4 to Setpoint address 1180 and the value 0001 to setpoint address 1181. After the transmission in this example is complete,

489 slave 11 will have the following setpoints information stored:

Address

 

Data

 

 

 

 

 

 

 

 

 

 

 

1180

 

01F4

 

 

 

 

 

 

 

 

 

 

 

1181

 

0001

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Master Transmission

Bytes

Example

Description

 

 

 

 

 

 

 

 

 

 

Slave Address

 

1

0B

message for slave 11

 

 

 

 

 

Function Code

 

1

10

store setpoints

 

 

 

 

Data Starting Address

2

11 80

data starting at 1180h

 

 

 

 

Number of Setpoints

2

00 02

2 setpoints = 4 bytes total

 

 

 

 

 

Byte Count

 

1

04

2 registers = 4 bytes

 

 

 

 

 

Data 1

 

2

01 F4

data for address 1180h

 

 

 

 

 

Data 2

 

2

00 01

data for address 1181h

 

 

 

 

 

CRC (low, high)

 

2

9B 89

computed CRC error code

 

 

 

 

 

 

 

 

 

 

Slave Response

 

Bytes

Example

Description

 

 

 

 

 

 

 

 

 

 

Slave Address

 

1

0B

message from slave 11

 

 

 

 

 

Function Code

 

1

10

store multiple setpoints

 

 

 

 

Data Starting Address

2

11 80

data starting at 1180h

 

 

 

 

Number of Setpoints

2

00 02

2 setpoints (4 bytes total)

 

 

 

 

 

CRC (low, high)

 

2

45 B6

computed CRC error code

 

 

 

 

 

 

 

GE Multilin

http://www.GEindustrial.com/multilin

7

Image 11
Contents 489 Page Table of Contents Table of Contents Electrical Interface Modbus RTU Description Copyright 2004 GE MultilinGE Multilin Modbus Functions Message Format and Example ValuesModbus Functions Function Code Request status from slave Modbus Functions Function Code 16 Store Multiple Setpoints Illegal Data Address Error ResponsesEvent Recorder Memory Map InformationWaveform Capture Dual Setpoints Passcode Operation 489 Memory Map Sheet 1 Status / Trip Pickups Addr Name Range Step Units Format Default489 Memory Map Sheet 2 489 Memory Map Sheet 3 Status / Alarm PickupsMetering Data / Current Metering 489 Memory Map Sheet 4Status / Digital Inputs Status / Real Time ClockMetering Data / Voltage Metering Metering Data / Power MeteringMetering Data / Temperature 489 Memory Map Sheet 5489 Memory Map Sheet 6 Learned Data / Analog in MIN/MAX Maintenance / Trip CountersMaintenance / General Counters 489 Memory Map Sheet 7489 Memory Map Sheet 8 489 Memory Map Sheet 9 Digital Inputs / General Input E 489 Memory Map Sheet 10Digital Inputs / General Input C Digital Inputs / General Input D489 Memory Map Sheet 11 489 Memory Map Sheet 12 489 Memory Map Sheet 13 Current Elements / Ground O/C 489 Memory Map Sheet 14Current Elements / Negative Sequence 489 Memory Map Sheet 15 Current Elements / Ground Directional Current Elements / Phase DifferentialCurrent Elements / HIGH-SET Phase Overcurrent 489 Memory Map Sheet 16489 Memory Map Sheet 17 Voltage Elements / Distance Element 489 Memory Map Sheet 18Voltage Elements / Neutral Overvoltage Fundamental Voltage Elements / Loss of Excitation489 Memory Map Sheet 19 489 Memory Map Sheet 20 489 Memory Map Sheet 21 Thermal Model / Model Setup RTD Temperature / RTD #12RTD Temperature / Open RTD Sensor RTD Temperature / RTD SHORT/LOW Temperature489 Memory Map Sheet 23 489 Memory Map Sheet 24 489 Memory Map Sheet 25 Analog INPUT/OUTPUT / Analog Input 489 Memory Map Sheet 26489 Memory Map Sheet 27 Testing / Simulation ModeTesting / PRE-FAULT Setup 489 Memory Map Sheet 28 Waveform Memory Samples Waveform Memory Setup489 Memory Map Sheet 29 Decimal Places Code Type DefinitionUnsigned Value Decimal PlaceALARM/TRIP Status SwitchAlarm / Trip Type Reset ModeOvercurrent Curve Input SwitchAnalog Output ParameterData Formats Sheet 7 Order Code Simulation ModeCurve Reset Type Switch StatusAssignable Input Undervoltage TripElement Type Breaker OperationDNP Protocol DNP 3.0 Device Profile Document Variation Default VariationsDNP Implementation Table Binary Inputs Sheet 2 Binary Input / Binary01/02 Binary Inputs Sheet 1Binary Inputs Sheet 4 Binary Inputs Sheet 3Binary Output Point List Binary / Control Relay10/12 Counters Point List DNP Point Lists Binary / Frozen Counter Objects 20/21Assigned to Analog Inputs Point List Sheet 1Impedance angle Analog Inputs Point List Sheet 2Analog Inputs Point List Sheet 3 Table Notes Analog Inputs Point List Sheet 4Index GE Multilin