GE 1601-0149-A2 manual Error Responses, Illegal Data Address

Page 12

489

Communications Guide

Modbus Functions

Function Code 16: Performing Commands

Error Responses

Some PLCs may not support execution of commands using function code 5 but do support storing multiple setpoints using function code 16. To perform this operation using function code 16 (10h), a certain sequence of commands must be written at the same time to the 489. The sequence consists of: Command Function register, Command operation register and Command Data (if required). The Command Function register must be written with the value of 5 indicating an execute operation is requested. The Command Operation register must then be written with a valid command operation number from the list of commands shown in the memory map. The Command Data registers must be written with valid data if the command operation requires data. The selected command will execute immediately upon receipt of a valid transmission.

Message Format and Example:

Perform a 489 RESET (operation code 1).

Master Transmission

Bytes

Example

Description

 

 

 

 

 

 

 

 

Slave Address

1

0B

message for slave 11

 

 

 

 

Function Code

1

10

store setpoints

 

 

 

 

Data Starting Address

2

00 80

setpoint address 0080h

 

 

 

 

Number of Setpoints

2

00 02

2 setpoints = 4 bytes total

 

 

 

 

Byte Count

1

04

2 registers = 4 bytes

 

 

 

 

Command Function

2

00 05

data for address 0080h

 

 

 

 

Command Function

2

00 01

data for address 0081h

 

 

 

 

CRC (low, high)

2

0B D6

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

00 80

setpoint address 0080h

 

 

 

 

Number of Setpoints

2

00 02

2 setpoints (4 bytes total)

 

 

 

 

CRC (low, high)

2

40 8A

computed CRC error code

 

 

 

 

When a 489 detects an error other than a CRC error, a response will be sent to the master. The MSbit of the Function Code byte will be set to 1 (i.e. the function code sent from the slave will be equal to the function code sent from the master plus 128). The following byte will be an exception code indicating the type of error that occurred.

Transmissions received from the master with CRC errors will be ignored by the 489. The slave response to an error (other than CRC error) will be:

SLAVE ADDRESS: 1 byte

FUNCTION CODE: 1 byte (with MSbit set to 1)

EXCEPTION CODE: 1 byte

CRC: 2 bytes

The 489 implements the following exception response codes.

01: ILLEGAL FUNCTION

The function code transmitted is not one of the functions supported by the 489.

02: ILLEGAL DATA ADDRESS

The address referenced in the data field transmitted by the master is not an allowable address for the 489.

03: ILLEGAL DATA VALUE

The value referenced in the data field transmitted by the master is not within range for the selected data address.

8

http://www.GEindustrial.com/multilin

GE Multilin

Image 12
Contents 489 Page Table of Contents Table of Contents Copyright 2004 GE Multilin Electrical Interface Modbus RTU DescriptionGE Multilin Modbus Functions Values Message Format and ExampleModbus Functions Function Code Request status from slave Modbus Functions Function Code 16 Store Multiple Setpoints Error Responses Illegal Data AddressMemory Map Information Event RecorderWaveform Capture Dual Setpoints Passcode Operation 489 Memory Map Sheet 1 Addr Name Range Step Units Format Default 489 Memory Map Sheet 2Status / Trip Pickups Status / Alarm Pickups 489 Memory Map Sheet 3489 Memory Map Sheet 4 Status / Digital InputsStatus / Real Time Clock Metering Data / Current MeteringMetering Data / Power Metering Metering Data / Temperature489 Memory Map Sheet 5 Metering Data / Voltage Metering489 Memory Map Sheet 6 Maintenance / Trip Counters Maintenance / General Counters489 Memory Map Sheet 7 Learned Data / Analog in MIN/MAX489 Memory Map Sheet 8 489 Memory Map Sheet 9 489 Memory Map Sheet 10 Digital Inputs / General Input CDigital Inputs / General Input D Digital Inputs / General Input E489 Memory Map Sheet 11 489 Memory Map Sheet 12 489 Memory Map Sheet 13 489 Memory Map Sheet 14 Current Elements / Negative SequenceCurrent Elements / Ground O/C 489 Memory Map Sheet 15 Current Elements / Phase Differential Current Elements / HIGH-SET Phase Overcurrent489 Memory Map Sheet 16 Current Elements / Ground Directional489 Memory Map Sheet 17 489 Memory Map Sheet 18 Voltage Elements / Neutral Overvoltage FundamentalVoltage Elements / Loss of Excitation Voltage Elements / Distance Element489 Memory Map Sheet 19 489 Memory Map Sheet 20 489 Memory Map Sheet 21 RTD Temperature / RTD #12 RTD Temperature / Open RTD SensorRTD Temperature / RTD SHORT/LOW Temperature Thermal Model / Model Setup489 Memory Map Sheet 23 489 Memory Map Sheet 24 489 Memory Map Sheet 25 489 Memory Map Sheet 26 Analog INPUT/OUTPUT / Analog InputTesting / Simulation Mode Testing / PRE-FAULT Setup489 Memory Map Sheet 27 489 Memory Map Sheet 28 Waveform Memory Setup 489 Memory Map Sheet 29Waveform Memory Samples Code Type Definition Unsigned ValueDecimal Place Decimal PlacesSwitch Alarm / Trip TypeReset Mode ALARM/TRIP StatusInput Switch Analog OutputParameter Overcurrent CurveData Formats Sheet 7 Simulation Mode Curve Reset TypeSwitch Status Order CodeUndervoltage Trip Element TypeBreaker Operation Assignable InputDNP Protocol DNP 3.0 Device Profile Document Default Variations DNP Implementation TableVariation Binary Input / Binary 01/02Binary Inputs Sheet 1 Binary Inputs Sheet 2Binary Inputs Sheet 3 Binary Inputs Sheet 4Binary / Control Relay 10/12Binary Output Point List DNP Point Lists Binary / Frozen Counter Objects 20/21 Counters Point ListAnalog Inputs Point List Sheet 1 Assigned toAnalog Inputs Point List Sheet 2 Impedance angleAnalog Inputs Point List Sheet 3 Analog Inputs Point List Sheet 4 Table NotesIndex GE Multilin