Function Code 16: Performing Commands; Error Responses - GE 469 Instruction Manual

Motor management relay
Hide thumbs Also See for 469:
Table of Contents

Advertisement

6 COMMUNICATIONS
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 469. The sequence consists of: command function register, command operation register and com-
mand 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 opera-
tion requires data. The selected command will execute immediately upon receipt of a valid transmission.
MESSAGE FORMAT AND EXAMPLE:
Perform a reset on 469 (operation code 1)
MASTER TRANSMISSION:
SLAVE ADDRESS
FUNCTION CODE
DATA STARTING ADDRESS
NUMBER OF SETPOINTS
BYTE COUNT
COMMAND FUNCTION
COMMAND OPERATION
CRC
SLAVE RESPONSE:
SLAVE ADDRESS
FUNCTION CODE
DATA STARTING ADDRESS
NUMBER OF SETPOINTS
CRC
When an 469 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 469.
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 469 implements the following exception response codes.
01: ILLEGAL FUNCTION
The function code transmitted is not one of the functions supported by the 469.
02: ILLEGAL DATA ADDRESS
The address referenced in the data field transmitted by the master is not an allowable address for the 469.
03: ILLEGAL DATA VALUE
The value referenced in the data field transmitted by the master is not within range for the selected data address.
GE Multilin
Courtesy of NationalSwitchgear.com

6.2.9 FUNCTION CODE 16: PERFORMING COMMANDS

BYTES
EXAMPLE / DESCRIPTION
1
0B
message for slave 11
1
10
store setpoints
2
00 80
setpoint address 0080
2
00 02
2 setpoints (4 bytes total)
1
04
2 registers = 4 bytes
2
00 05
data for address 0080
2
00 01
data for address 0081
2
0B D6
CRC calculated by the master
BYTES
EXAMPLE / DESCRIPTION
1
0B
response message from slave 11
1
10
store setpoints
2
00 80
setpoint address 0080
2
00 02
2 setpoints (4 bytes total)
2
40 8A
CRC calculated by the slave
469 Motor Management Relay
6.2 MODBUS FUNCTIONS

6.2.10 ERROR RESPONSES

6-9
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents