Warnings, Cautions, and Notes as used in this publication
Warnings
WARNING!Warning notices are used in this publication to emphasize that hazardous voltages,
currents, or other conditions that could cause personal injury exist in this equipment or may be
associated with its use.
Warning notices are also used for situations in which inattention or lack of equipment knowledge
could cause either personal injury or damage to equipment.
Cautions
CAUTION:Caution notices are used for situations in which equipment might be damaged if care is
not taken.
Notes
NOTE:Notes call attention to information that is especially significant to understanding and
operating the equipment.
This document is based on information available at the time of its publication. While efforts have been
made to ensure accuracy, the information contained herein does not cover all details or variations in
hardware and software, nor does it provide for every possible contingency in connection with
installation, operation, and maintenance. Features may be described in here that are not present in all
hardware and software systems. GE Consumer & Industrial assumes no obligation of notice to holders
of this document with respect to changes subsequently made.
GE Consumer & Industrial makes no representation or warranty, expressed, implied, or statutory, with
respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, or usefulness of
the information contained herein. No warrantees of merchantability or fitness for purpose shall apply.
Entellisys™, EntelliGuard™, and FlexLogic™ are trademarks of the General Electric Company.
Modbus RTU is a registered trademark of AEG Schneider Automation.
Please have your Entellisys System Summary # and Sub # ready when calling. This information can be
found on the Entellisys HMI on the System Health screen by clicking the Job Info button.
Post Sales Service
GE Switchgear
510 Agency Road
West Burlington, IA 52655
PLCs are supported by providing status of all FlexLogic operands and discrete inputs through
the Modbus TCP interface.
PLCs have access to states of FlexLogic operands (protection elements, breaker control, status,
contact inputs/outputs, and virtual inputs/outputs) through the Modbus communication. It shall
be PLC's responsibility to figure out which CPU is running in the primary mode (Modbus register:
“FlexLogic Active”) and FlexLogic health status (Modbus register: “FlexLogic Status Message”).
CPU does not initiate communication with PLC.
1.1.1 PLC Input
PLC inputs provide the ability to manipulate FlexLogic execution. There are 256 PLC inputs, each
of which have a corresponding operand that is accessible in FlexLogic.
Writing to PLC inputs: The PLC must be programmed to write to specific bits in the PLC Input
State registers in the Modbus memory map. See Modbus Memory Map
on page 39)
Events:
If the “Events” parameter for the PLC Input is enabled and event will be logged in the Events
screen when the state has changed. 'x' in the text of event is a placeholder for number from
range 1 to 256. Source of the events is reported as (-1).
“PLC Input x On” - logged when PLC Input transitioned from low to high state.
“PLC Input x Off” - logged when PLC Input transitioned from high to low state.
PLC support7
1.1.1.1 Configuration
User must set the parameters for each PLC Input from the PLC Input screen (Main Menu, User
Settings, Control).
Figure 1-1 PLC Input configuration screen
Function: Controls whether the input is either enabled or disabled. When input is disabled,
FlexLogic always reads its state as low. If input is enabled, FlexLogic reads the state from
corresponding Modbus register.
Events: When enabled, if there is transition of state, an event corresponding to the direction of
the transition will be logged.
Integrator’s Guide8
1.1.1.2 Status
To view a snapshot of the PLC input states from the HMI, open the PLC Input State screen (Main
Menu, User Settings, Control). Click refresh if update the status.
Figure 1-2 PLC Input States register format
1.1.1.3 PLC Input States
Each bit of the “PLC Input States” register represents one PLC input. Bit value 0 indicates the
corresponding PLC input is in off state; and bit value is 1 indicating corresponding PLC input is in
on state. See Table 1-1.
Table 1-1 PLC Input States register format
PLC Input States register PLC Input States bit fieldPLC Input X
101
2017
…
160241
12
23
……
1516
118
……
1242
……
15256
PLC support9
1.1.2 FlexLogic Operand States
After each protection pass, all the information regarding each operand's state is updated in
corresponding Modbus register. The section PLC Interface (Read/Write) on page 110 is the
complete list of registers holding state information of corresponding operand.
1.1.2.1 Breaker Control Flex Operand States
Each breaker has 13 different states shown in Table 1-2. Each one of them corresponds to a
different bit in the data item.
Table 1-2 Breaker Control status bit field
BitValueNotes
0Breaker Opened
1Breaker Closed
2Breaker Locked Out
3Closing Spring Charged
4Primary Disconnect Connected
5Primary Disconnect Disconnected
6Secondary Disconnect Connected
7Breaker Ready
8Breaker Available
9Breaker Open Failed
10Breaker Close Failed
11Breaker Fault
12Breaker RELT StateNot used in this release. It shall be always set to 0.
The breaker states for all 30 breakers span across 25 consecutive modbus registers as shown in
Table 1-3. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-3 Breaker status offsets
Breaker NumberRegister
Offset
Breaker 100N/A
Breaker 2013This breaker’s information spans
Breaker 3110This breaker’s information spans
Bit OffsetNotes
over two adjacent registers
over two adjacent registers
Breaker 427This breaker’s information spans
over two adjacent registers
............
Integrator’s Guide10
1.1.2.2 Bus Differential Flex Operand States
Each zone has 6 different states shown in Table 1-4. Each one of them corresponds to a different bit
in the data item.
Table 1-4 Bus Differential status bit field
BitValue
0Trip Dropout
1Alarm Dropout
2Trip Pickup
3Alarm Pickup
4Trip Operated
5Alarm Operated
6Backup Trip Operated
The zone states for all 4 relay instances span across 2 consecutive modbus registers as shown in
Table 1-3. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-5 Bus Differential status offsets
Zone NumberRegister
Offset
Bit OffsetNotes
Zone 100
Zone 207
Zone 3014This zone’s information spans
over two adjacent registers
Zone 415
112Bits from 12 thru 15 are not used
and shall always be set to 0
PLC support11
1.1.2.3 Ground Fault Flex Operand States
Each breaker has 5 different states shown in Table 1-6. Each one of them corresponds to a different
bit in the data item.
Table 1-6 Ground Fault status bit field
BitValue
0Trip Pickup
1Trip Operated
2Trip Dropout
3Alarm Pickup
4Alarm Operated
5Alarm Dropout
The breaker states for all 30 breakers span across 12 consecutive modbus registers as shown in
Table 1-7. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-7 Ground Fault status offsets
Breaker NumberRegister
Offset
Bit OffsetNotes
Breaker 100
Breaker 206
Breaker 3012This breaker’s information spans
over two adjacent registers
Breaker 412
............
Integrator’s Guide12
1.1.2.4 High Current and High Current Transient Flex Operand States
Each breaker has 3 different states shown in Table 1-8. Each one of them corresponds to a different
bit in the data item.
Table 1-8 High Current status bit field
BitValue
0Alarm Pickup
1Alarm Operated
2Alarm Dropout
The breaker states for all 30 breakers span across 6 consecutive modbus registers as shown in
Table 1-9. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-9 High Current status offsets
Breaker NumberRegister
Offset
Breaker 100
Breaker 203
Breaker 306
Bit OffsetNotes
Breaker 409
............
PLC support13
1.1.2.5 HRGF Detection Flex Operand States
Each breaker has 3 different states shown in Table 1-10. Each one of them corresponds to a
different bit in the data item.
Table 1-10 HRGF Detection status bit field
BitValue
0Alarm Dropout
1Alarm Pickup
2Alarm Operated
The breaker states for all 30 breakers span across 6 consecutive modbus registers as shown in
Table 1-11. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-11 HRGF Detection status offsets
Breaker NumberRegister
Offset
Breaker 100
Breaker 203
Breaker 306
Bit OffsetNotes
Breaker 409
............
Integrator’s Guide14
1.1.2.6 HRGF Location Flex Operand States
Each zone has 2 different states shown in Table 1-12. Each one of them corresponds to a different
bit in the data item.
Table 1-12 HRGF Location status bit field
BitValue
0Locator in On State
1Locator in Off State
The zone states for all 4 location function instances are contained in a single modbus register as
shown in
Table 1-13 HRGF Location status offsets
Zone NumberRegister
Zone 100
Zone 202
Zone 304
Zone 406
Table 1-13. See PLC Interface (Read/Write) on page 110 for memory locations.
Offset
Bit OffsetNotes
08Bits from 8 thru 15 are not used
and shall always be set to 0
PLC support15
1.1.2.7 IOC Flex Operand States
Each breaker has 2 different states shown in Table 1-14. Each one of them corresponds to a
different bit in the data item.
Table 1-14 IOC status bit field
BitValue
0Trip Operated
1Trip Dropout
The breaker states for all 30 breakers span across 4 consecutive modbus registers as shown in
Table 1-15. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-15 IOC status offsets
Breaker NumberRegister
Breaker 100
Breaker 202
Breaker 304
Breaker 406
Bit OffsetNotes
Offset
Breaker 508
Breaker 6010
Breaker 7012
Breaker 8014
Breaker 910
.........
Integrator’s Guide16
1.1.2.8 LT Overcurrent Flex Operand States
Each breaker has 3 different states shown in Table 1-16. Each one of them corresponds to a
different bit in the data item.
Table 1-16 LT Overcurrent status bit field
BitValue
0Alarm Pickup
1Alarm Operated
2Alarm Dropout
The breaker states for all 30 breakers span across 6 consecutive modbus registers as shown in
Table 1-17. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-17 LT Overcurrent status offsets
Breaker NumberRegister
Offset
Breaker 100
Breaker 203
Breaker 306
Breaker 409
Breaker 5012
Breaker 6015This breaker’s information spans
.........
Bit OffsetNotes
over two adjacent registers
PLC support17
1.1.2.9 MSGF Overcurrent Flex Operand States
Each zone has 7 different states shown in Table 1-18. Each one of them corresponds to a different
bit in the data item.
Table 1-18 MSGF Overcurrent status bit field
BitValue
0Trip Dropout
1Alarm Dropout
2Trip Pickup
3Alarm Pickup
4Trip Operated
5Alarm Operated
6Backup Trip Operated
The zone states for all 4 instances span across 2 consecutive modbus registers as shown in
Table 1-19. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-19 MSGF Overcurrent status offsets
Zone NumberRegister
Offset
Zone 100
Zone 207
Zone 3014This zone’s information spans
Zone 415
112Bits from 12 thru 15 are not used
Bit OffsetNotes
over two adjacent registers
and shall always be set to 0
Integrator’s Guide18
1.1.2.10 Multi Point RELT Flex Operand States
This relay has 1 state shown in Table 1-20.
Table 1-20 Multi Point RELT status bit field
BitValue
0Multipoint Reduced Let-Thru Mode On
The relay state uses one modbus register as shown in Table 1-21. See PLC Interface (Read/Write)
on page 110 for memory locations.
Table 1-21 Multi Point RELT status offsets
Zone NumberRegister
Offset
RELT State00
01Bits from 1 thru 15 are not used
Bit OffsetNotes
and shall always be set to 0
PLC support19
1.1.2.11 Over (and Under) Frequency Flex Operand States
Each breaker has 6 different states shown in Table 1-22. Each one of them corresponds to a
different bit in the data item.
Table 1-22 Over Frequency status bit field
BitValue
0Alarm Pickup
1Alarm Operated
2Alarm Dropout
3Trip Pickup
4Trip Operated
5Trip Dropout
The breaker states for all 30 breakers span across 12 consecutive modbus registers as shown in
Table 1-23. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-23 Over Frequency status offsets
Breaker NumberRegister
Offset
Breaker 100
Breaker 206
Breaker 3012This breaker’s information spans
Breaker 412
.........
Bit OffsetNotes
over two adjacent registers
Integrator’s Guide20
1.1.2.12 Over (and Under) Voltage Flex Operand States
Each breaker has 6 different states shown in Table 1-24. Each one of them corresponds to a
different bit in the data item.
Table 1-24 Over Voltage status bit field
BitValue
0Alarm Pickup
1Alarm Operated
2Alarm Dropout
3Trip Pickup
4Trip Operated
5Trip Dropout
The breaker states for all 30 breakers span across 12 consecutive modbus registers as shown in
Table 1-25. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-25 Over Voltage status offsets
Breaker NumberRegister
Offset
Breaker 100
Breaker 206
Breaker 3012This breaker’s information spans
Breaker 412
.........
Bit OffsetNotes
over two adjacent registers
PLC support21
1.1.2.13 Phase Loss Flex Operand States
Each breaker has 6 different states shown in Table 1-26. Each one of them corresponds to a
different bit in the data item.
Table 1-26 Phase Loss status bit field
BitValue
0Alarm Pickup
1Alarm Operated
2Alarm Dropout
3Trip Pickup
4Trip Operated
5Trip Dropout
The breaker states for all 30 breakers span across 12 consecutive modbus registers as shown in
Table 1-27. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-27 Phase Loss status offsets
Breaker NumberRegister
Offset
Breaker 100
Breaker 206
Breaker 3012This breaker’s information spans
Breaker 412
.........
Bit OffsetNotes
over two adjacent registers
Integrator’s Guide22
1.1.2.14 Power Reversal Flex Operand States
Each breaker has 6 different states shown in Table 1-28. Each one of them corresponds to a
different bit in the data item.
Table 1-28 Power Reversal status bit field
BitValue
0Alarm Pickup
1Alarm Operated
2Alarm Dropout
3Trip Pickup
4Trip Operated
5Trip Dropout
The breaker states for all 30 breakers span across 12 consecutive modbus registers as shown in
Table 1-29. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-29 Power Reversal status offsets
Breaker NumberRegister
Offset
Breaker 100
Breaker 206
Breaker 3012This breaker’s information spans
Breaker 412
.........
Bit OffsetNotes
over two adjacent registers
PLC support23
1.1.2.15 ST Overcurrent Flex Operand States
Each breaker has 3 different states shown in Table 1-30. Each one of them corresponds to a
different bit in the data item.
Table 1-30 ST Overcurrent status bit field
BitValue
0Trip Pickup
1Trip Operated
2Trip Dropout
The breaker states for all 30 breakers span across 6 consecutive modbus registers as shown in
Table 1-31. See PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-31 ST Overcurrent status offsets
Breaker NumberRegister
Offset
Breaker 100
Breaker 203
Breaker 306
Breaker 409
Breaker 5012
Breaker 6015This breaker’s information spans
Breaker 712
.........
Bit OffsetNotes
over two adjacent registers
Integrator’s Guide24
1.1.2.16 Summation MSGF Zone Flex Operand States
Each zone has 7 different states shown in Table 1-32. Each one of them corresponds to a different
bit in the data item.
Table 1-32 Summation MSGF Zone status bit field
BitValue
0Trip Dropout
1Alarm Dropout
2Trip Pickup
3Alarm Pickup
4Trip Operated
5Alarm Operated
6Trip Restrained
The zone states for both zones reside in a single modbus register as shown in Table 1-33. See PLC
Interface (Read/Write) on page 110 for memory locations.
Table 1-33 Summation MSGF Zone status offsets
Zone NumberRegister
Offset
Zone 100
Zone 208
Bit OffsetNotes
PLC support25
1.1.2.17 Synch Check Flex Operand States
Each relay has 10 different states shown in Table 1-34. Each one of them corresponds to a different
bit in the data item.
Table 1-34 Synch Check status bit field
BitValue
0Dead Source Operated
1Dead Source Dropout
2Synch Operated
3Synch Dropout
4Close Operated
5Close Dropout
6V1 Above Minimum
7V2 Above Minimum
8V1 Below Maximum
9V2 Below Maximum
The relay states for all12 relays span across 8 consecutive modbus registers as shown in Table 1-35.
See
PLC Interface (Read/Write) on page 110 for memory locations.
Table 1-35 Synch Check status offsets
Zone NumberRegister
Offset
Relay 100
Relay 2010This relay’s information spans
Relay 314
Relay 4114This relay’s information spans
Relay 528This relay’s information spans
Relay 632
Relay 7312
Relay 846
Relay 950
Relay 10510
Bit OffsetNotes
over two adjacent registers
over two adjacent registers
over two adjacent registers
Relay 1164
Relay 12614
78Bits from 8 thru 15 are not used
and shall always be set to 0
Integrator’s Guide26
2Modbus® protocol implementation
2.1 Introduction
The CPU supports a number of communications protocols to allow connection to the HMI
computer, as well as other equipment which includes personal computers, RTUs, SCADA
masters, and programmable logic controllers. The Modicon Modbus® RTU protocol is the most
basic protocol supported. Modbus is available via ethernet as specified by the Modbus/TCP
specification. Note that:
•The CPU always acts as a slave device, meaning that it never initiates communications; it
only listens and responds to requests issued by a master computer.
•For Modbus, a subset of the Remote Terminal Unit (RTU) protocol format is supported that
allows extensive monitoring, programming, and control functions using read and write
register commands.
•The CPU will support a maximum of 8 concurrent Modbus sessions. Four sessions are
reserved for use by HMI computers. A remote device that attempts to connect when all
sessions are in use will receive a response message indicating the number of maximum
connections has been exceeded. If a remote device does not make a request within
30 seconds, the session will be timed out and made available to the next device that
establishes a session.
2
2.2 Physical layer
The Modbus RTU protocol is hardware-independent so that the physical layer can be any of a
variety of standard hardware configurations. The CPU includes a faceplate (front panel)
100BaseT Ethernet port. Data flow is auto-configuring full or half-duplex. Each data byte is
transmitted in an asynchronous format consisting of 1 start bit, 8 data bits, 1 stop bit , and
possibly 1 parity bit. This produces a 10 or 11 bit data frame. The master device in any system
must know the address of the slave device with which it is to communicate. In the case of
ModbusTCP communications, the CPU will not act on a request from a master if the address in
the request does not match the CPU’s slave address. A single setting selects the slave address
used for ModbusTCP. The default slave address for a CPU is 1.
Introduction27
2.3 Data link layer
22
Communications takes place in packets, which are groups of asynchronously framed byte data.
The master transmits a packet to the slave and the slave responds with a packet. The end of a
packet is marked by ‘dead-time’ on the communications line. The following describes general
format for both transmit and receive packets. For exact details on packet formatting, see the
subsequent sections describing each function code.
MODBUS PACKET FORMAT
DESCRIPTIONSIZE
SLAVE ADDRESS1 byte
FUNCTION CODE1 byte
DATAN bytes
CRC2 bytes
DEAD TIME3.5 bytes transmission time
SLAVE ADDRESS
This is the address of the slave device that is intended to receive the packet sent by the master
and perform the desired action. Only the addressed slave will respond to a packet that starts
with its address. Note that since Modbus/TCP also relies on a correct IP address to receive the
packet, and each CPU responds as a single device, it is generally not necessary to change the
Modbus address of the device.
FUNCTION CODE
This is one of the supported function codes of the unit which tells the slave what action to
perform. See Supported function codes
from the slave is indicated by setting the high order bit of the function code in the response
packet. See Exception responses on page 35 for further details.
DATA
This will be a variable number of bytes depending on the function code. This may include actual
values, settings, or addresses sent by the master to the slave or by the slave to the master.
CRC
This is a two byte error checking code. The RTU version of Modbus includes a 16-bit cyclic
redundancy check (CRC-16) with every packet which is an industry standard method used for
error detection. If a Modbus slave device receives a packet in which an error is indicated by the
CRC, the slave device will not act upon or respond to the packet thus preventing any erroneous
operations. See CRC-16 Algorithm
on page 30 for complete details. An exception response
on page 29 for a description of how to calculate the CRC.
Modbus® protocol implementation28
2.4 CRC-16 Algorithm
The CRC-16 algorithm essentially treats the entire data stream (data bits only; start, stop and
parity ignored) as one continuous binary number. This number is first shifted left 16 bits and
then divided by a characteristic polynomial (11000000000000101B). The 16-bit remainder of the
division is appended to the end of the packet, most significant byte first. The resulting packet
including CRC, when divided by the same polynomial at the receiver, will give a zero remainder if
no transmission errors have occurred. This algorithm requires the characteristic polynomial to
be reverse bit ordered. The most significant bit of the characteristic polynomial is dropped, since
it does not affect the value of the remainder.
CRC-16 ALGORITHM
SYMBOLS-->data transfer
A16-bit working register
Alowlow order byte of A
Ahighhigh order byte of A
CRC16-bit CRC-16 result
i,jloop counters
(+)logical EXCLUSIVE-OR operator
2
Ntotal number of data bytes
Dii-th data byte (i = 0 to N-1)
G16-bit characteristic polynomial = 1010000000000001 (binary) with
MSbit dropped and bit order reversed
shr (x)right shift operator (th LSbit of x is shifted into a carry flag, a ‘0’ is
shifted into the MSbit of x, all other bits are shifted right one location)
ALGORITHM:
1. FFFF (hex) --> A
2. 0 --> i
3. 0 --> j
4. Di (+) Alow --> Alow
5. j + 1 --> j
6. shr (A)
7. Is there a carry? No: go to 8 Yes: G (+) A --> A and continue.
8. Is j = 8? No: go to 5 Yes: continue
9. i + 1 --> i
10. Is i = N? No: go to 3 Yes: continue
11. A --> CRC
CRC-16 Algorithm29
2
2.5 Supported function codes
Modbus officially defines function codes from 1 to 127 though only a small subset is generally
needed. The CPU supports some of these functions, as summarized in the following table.
Subsequent sections describe each function code in detail.
2.5.1 Function Code 03H/04H – Read Actual Values or Settings
This function code allows the master to read one or more consecutive data registers (actual
values or settings) from a relay. Data registers are always 16 bit (two byte) values transmitted
with high order byte first . The maximum number of registers that can be read in a single packet
is 125. See the MODBUS MEMORY MAP table on page 17 for exact details on the data registers.
Since some PLC implementations of Modbus only support one of function codes 03h and 04h,
the CPU interpretation allows either function code to be used for reading one or more
consecutive data registers. The data starting address will determine the type of data being read.
Function codes 03h and 04h are therefore identical. The following table shows the format of the
master and slave packets. The example shows a master device requesting 3 register values
starting at address 4050h from slave device 11h (17 decimal); the slave device responds with
the values 40, 300, and 0 from registers 4050h, 4051h, and 4052h, respectively.
FUNCTION CODEMODBUS DEFINITIONCPU DEFINITION
HEXDEC
03 3 Read Holding RegistersRead Actual Values or Settings
04 4 Read Holding RegistersRead Actual Values or Settings