GE MM300 manual Function Code 07H, Function code 7 bitmask

Page 12

RS485 INTERFACE (MODBUS RTU)

 

 

COMMUNICATIONS GUIDE

 

 

 

 

 

 

 

SLAVE RESPONSE

BYTES

EXAMPLE

DESCRIPTION

 

 

 

 

 

 

 

 

SLAVE ADDRESS

1

11

message from

 

 

 

 

 

slave 17

 

 

 

 

 

 

 

 

FUNCTION CODE

1

06

store single

 

 

 

 

 

setpoint

 

 

 

 

 

 

 

 

DATA STARTING ADDRESS

2

04 5C

setpoint address

 

 

 

 

 

04 5C

 

 

 

 

 

 

 

 

DATA

2

00 02

data stored in

 

 

 

 

 

setpoint address

 

 

 

 

 

04 5C

 

 

 

 

 

 

 

 

CRC

2

CB B9

CRC error code

 

 

 

 

 

 

 

Function Code 07H

Modbus Implementation: Read Exception Status

MM300 Implementation: Read Device Status

This is a function used to quickly read the status of a selected device. A short message length allows for rapid reading of status. The status byte returned will have individual bits set to 1 or 0 depending on the status of the slave device. For this example, consider the following MM300 general status byte:

The master/slave packets have the following format:

Table 5: Function code 7 bitmask

Bit

Function

0Alarm

1Trip

2Internal fault

3Auto

4Contactor A

5Contactor B

6Contact output 3

7Drive available (communications control)

Table 6: Master/slave packet format for function code 07H

MASTER TRANSMISSION

BYTES

EXAMPLE

DESCRIPTION

 

 

 

 

SLAVE ADDRESS

1

11

message for slave

 

 

 

17

 

 

 

 

FUNCTION CODE

1

07

read device status

 

 

 

 

CRC

2

4C 22

CRC error code

 

 

 

 

SLAVE RESPONSE

BYTES

EXAMPLE

DESCRIPTION

 

 

 

 

SLAVE ADDRESS

1

11

message from

 

 

 

slave 17

 

 

 

 

FUNCTION CODE

1

07

read device status

 

 

 

 

DEVICE STATUS (see

1

2C

status = 00101100

definition above)

 

 

(in binary)

 

 

 

 

CRC

2

22 28

CRC error code

 

 

 

 

8

MM300 MOTOR MANAGEMENT SYSTEM – COMMUNICATIONS GUIDE

Image 12
Contents MM300 Page Table of Contents MM300 Motor Management System Communications Guide MM300 Motor Management System Communications Guide Electrical Interface Data Frame Format and Data RateData Packet Format Error Checking CRC-16 AlgorithmTiming MM300 supported functionsFunction Code 03H Function Code 04H Master/slave packet format for function code 03H Master Transmission Bytes Example Description Slave Response Bytes Example DescriptionFunction Code 05H Master/slave packet format for function code 04HMaster/slave packet format for function code 05H Function Code 06H Master/slave packet format for function code 06HData CRC CB B9Function Code 07H Function code 7 bitmaskMaster/slave packet format for function code 07H Function Code 08H Function Code 10HMaster/slave packet format for function code 08H Diag CodeError Responses Master/slave packet format for function code 10HModbus memory map Actual ValuesGeneral Timers REAL-TIME ClockTrip Counters CONTACT/VIRTUAL INPUTS/OUTPUTS Status SecurityStatus Motor Current MeteringPower Metering FLA RTD Maximium Temperature Motor Starting Learned DataGCP Factory Test User MAP ValuesEvent Recorder Status BufferSetpoints Commands Communication SettingsFlexlogic CommunicationREAL-TIME CLOCK/DAYLIGHT Savings Current SensingMotor Data Setup Voltage SensingProcess Interlock RS485 Interface Modbus RTU Communication Setup Open Control CircuitUser MAP Addresses Reset Setup Mechanical JAMRTD OPEN/SHORT Circuit REQUIRED=IOG Thermistor CPUUnderpower IOA + IOC or IOA + IOB Ground FaultUndercurrent REQUIRED=IOA FLAPhase Undervoltage REQUIRED=IOB Phase Overvoltage REQUIRED=IOBPhase Reversal REQUIRED=IOB Load IncreaseMaintenance Flexlogic TimersStart Inhibit Restart BlockCommunications Guide RS485 Interface Modbus RTU Communications Guide RS485 Interface Modbus RTU Contact Input Assignment Contact Outputs Auto / Manual ControlFlexlogic Equation Unsigned Value Unsigned VALUE, 1 Decimal PlaceUnsigned VALUE, 2 Decimal Places Unsigned Long ValueUnsigned Long VALUE, 3 Decimal Places Date MM/DD/YYYYMSB LSBOFF / no On / YESOFF USER1 USER2USER3 No Event/Trip To Date RS485 Interface Modbus RTU RS485 Interface Modbus RTU Not XOR Latch NOR Nand Timer Assign RS485 Interface Modbus RTU Definition RS485 Interface Modbus RTU SUN MONTUE WEDVbn Direct Bit FC180 FC181 FC182 FC183 RS485 Interface Modbus RTU Performing Commands Using Function Code 10H Using the User Definable Memory Map Master/slave packet format for performing commandsCRC 7E CE RS485 Interface Modbus RTU Ethernet interface Profibus Output Data Fieldbus interface external connections ProfibusProfibus LED indications LEDProfibus DP-Diagnostics System Standard Diagnostics Bytes 1 throughProfibus Input Data F1BCommunications Guide Fieldbus Interface DeviceNet Communications Fieldbus interface external connections DeviceNetDeviceNet LED indications Class ObjectIdentity Object Class Code 01H Message Router Class Code 02HDeviceNet Object Class Code 03H Connection Object, Class Code 05h, Services Attribute Access Name Data Type Value DescriptionDeviceNet Connection Object Class Code 05H Identity Object, Class Code 03h, Instance 01h, AttributesMotor Data Object, Class Code A0h, Services DeviceNet Motor Data Poll, Explicit Object Class Code A0HMotor Data Object, Class Code A0h, Attributes Item Description Size in Bytes Format Explicit Motor Analog Data Object, Class Code B0h, Services Attribute Description Size in Bytes0FH Data Formats, Explicit Motor Analog Data Object Attribute Item Description Size Format BytesFieldbus Interface Explicit Motor Control Object, Class Code B1h, Services DeviceNet Explicit Motor Object, Class Code B1HExplicit Motor Control Object, Class Code B1h, Attributes Data Value, Class B1hFieldbus Interface