Modbus Setup for MV Substations
Modbus Setup for MV Substations
Easergy range
Modbus communication
Appendix to the User Manual
Easergy T200, F200C, R200 Contents
1 INTRODUCTION.............................................................................................................................................. 3
2 REFERENCES................................................................................................................................................. 3
3 PRINCIPLES.................................................................................................................................................... 3
3.1 GENERAL.................................................................................................................................................... 3
3.2 ISO MODEL ................................................................................................................................................ 4
3.3 TRANSMISSION MODES ................................................................................................................................ 4
3.4 DATA .......................................................................................................................................................... 7
3.5 FUNCTIONS ................................................................................................................................................. 7
3.6 MODBUS TCP ............................................................................................................................................. 8
4 CONFIGURATION ......................................................................................................................................... 10
4.1 GENERAL CONFIGURATION OF THE PROTOCOL ............................................................................................ 10
4.2 SPECIFIC PROTOCOL-RELATED OPERATION ................................................................................................. 16
4.3 SPECIFIC CONFIGURATION RELATED TO TRANSMISSION MEDIA ..................................................................... 19
4.4 R200-ATS100, CONFIGURATION OF THE PROTOCOL................................................................................... 20
5 DIAGNOSTIC................................................................................................................................................. 22
5.1 TRACING EXCHANGES WITH THE SUPERVISOR ............................................................................................ 22
6 GLOSSARY ................................................................................................................................................... 25
7 OBJECT ADDRESSING ............................................................................................................................... 27
7.1 LEGEND .................................................................................................................................................... 27
7.2 T200 P..................................................................................................................................................... 28
7.3 T200 I ...................................................................................................................................................... 31
7.4 FLAIR 200C .............................................................................................................................................. 36
7.5 T200 S..................................................................................................................................................... 39
7.6 R200-ATS100 ......................................................................................................................................... 41
8 MODBUS APPENDICES ............................................................................................................................... 46
8.1 MODBUS TABLE ...................................................................................................................................... 46
8.2 MODBUS FUNCTIONS .............................................................................................................................. 55
8.3 MODBUS CONTROL FIELD ........................................................................................................................ 61
2 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
1 Introduction
This appendix to the User Manual is designed to provide aid with setting up a telecontrol network using the
MODBUS protocol. It will therefore provide information to help choose an operating mode, to make the
corresponding configuration settings and to analyse any problems faced.
All along the documentation, the T200 is taken as an example. The software features of the T200 and Flair 200C
are the same. As a result, the same information can be used indifferently with the T200 or with the Flair 200C.
2 References
As mentioned above, the purpose of this appendix is to help the user set up a network. It is not intended to provide
a detailed explanation of the protocol specified in the documents referenced below. It is not necessary to read
these documents. However, the user faced with a specific problem or wanting to have a more precise knowledge of
this protocol will find it useful to read them. They are available on the website of the Modbus-IDA organization
(www.modbus.org) which brings together independent users and suppliers.
3 Principles
3.1 General
1 MODBUS is a messaging protocol which allows client/server type communications between devices connected
to various types of bus or networks.
2 It was originally developed by the company Modicon and, from 1979, became the de facto industrial standard
for serial transmission.
3 Nowadays, millions of devices in the automatic control field use it for their communications. The enthusiasm for
this simple and elegant structure has enabled it to become established in other fields, and its use is constantly
expanding. The Internet community can obtain access to it on port 502 (reserved port) of the TCP/IP stack.
4 This protocol uses a question-and-answer system and offers services specified by function codes.
NT00188-EN-06 3
Easergy T200, F200C, R200 Modbus Communication
User layer
Application layer 7
Physical layer 1
Communication medium
The MODBUS protocol operates in master/slave mode. The Supervisor is the master and questions the T200
which, as slave, merely replies to the master's requests. The SCADA system therefore operates by polling to know
the T200 states.
However, to be able to limit communications on non-permanent transmission media, the T200 is capable of
generating a call to the SCADA. The latter, in reply, can obtain, by a method that we shall describe in detail later,
the address of the calling T200, and thus obtain the changes that the T200 wants to report to it. This operating
mode is called Report by exception.
Transmission takes place asynchronously at speeds ranging from 200 to 38400 baud depending on the
transmission medium. Each MODBUS frame consists of a start bit, 8 data bits and a stop bit.
4 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
The MODBUS protocol makes it possible to read or write one or more bits, one or more words and the diagnostic
counters at a write/read address specified by the master.
Upon receiving a request from the master, the device sends the desired information in accordance with the
MODBUS specification and is capable of replying with an exception message if it does not recognize the request.
Each message or frame exchanged between the master and slave contains 4 types of information:
- Slave number (1 byte): it specifies the destination slave (0 to 255). If it is equal to 0, the request concerns all the
slaves (broadcast) and there is no response from the slaves.
- The function code (1 byte): It makes it possible to select a read or write type command and check whether the
response is correct.
- The data field (n bytes): it contains parameters relating to the function: bit address, word address, bit value, word
value, number of bits, number of words.
- The control field (2 bytes): it contains a CRC16 used to detect transmission errors.
Comment:
- The length of a frame can range from 4 to 255 bytes depending on the function code.
NT00188-EN-06 5
Easergy T200, F200C, R200 Modbus Communication
Operating procedure:
In general, when it starts up, the Supervisor makes several requests to address a device:
The Supervisor operates by polling, regularly repatriating all the states from the T200s or repatriating only the
changes (reading the event stack) and thus updating its database.
The Supervisor can send a command to the T200s at any time.
In this operating procedure, the SCADA system controls the communication load. Operation is simple, but results in
intense use of communication media, because the more quickly one wants to be informed of a change, the more
often the T200s must be interrogated. The polling cycle limit corresponds to the shortest cycle for interrogating all
the T200s. The great majority of these exchanges are "unproductive", because in most cases the T200 interrogated
has nothing to report.
Messages are sent only to provide unknown information. For example, when a change occurs, the T200 will call the
SCADA system via the "Report By Exception" function. This will make it possible to initiate dialogue and the
SCADA system will then retrieve the change. Likewise, the Supervisor will send messages to the T200 when the
operator requests order execution.
This operating mode does not heavily load the communication facilities (a device speaks only when it has
something to say). On the other hand, the SCADA system no longer controls the data flow because it can be called
at any time. Collisions between messages can occur when, at a given point in time, several devices take control to
speak. We shall see further on how this problem of collisions is dealt with.
6 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
3.4 Data
The MODBUS protocol can be used to exchange various types of data. The numerous items of information to
which the protocol gives access include:
3.5 Functions
With the data are associated various functionalities, including, for example:
• State reading
The Supervisor can ask to read the state of all the configured variables.
• Time setting
Can be performed by the Supervisor in two different ways:
- Individually: Frame sent to a single device with confirmation from the latter.
- Universally: Frame broadcast to all the devices without response from them.
• Alarm transmission:
A change of state can be configured as an alarm to be sent spontaneously to the telecontrol centre.
• Command sending:
Two modes are available: Direct Execution and Select before Execute.
• Parameter writing.
Certain parameters can be changed.
Comment: Time-tagged event management concerns signals only. Counter and measurement type events are not
managed.
NT00188-EN-06 7
Easergy T200, F200C, R200 Modbus Communication
Modbus on TCP
TCP
} TCP/IP layer
IP
• Protocol characteristics:
As we can see above, a service called Transmission Control Protocol (TCP) is implemented. TCP is one of the
core protocols used for internet and other similar networks. In our case, TCP is used because it provides reliable
and order delivery of messages for point to point communication.
• Background TCP:
For a TCP connection to take place one side must be the server and one side must be the client. Client-Server
architecture is therefore provided. The side of the link that initiates the connection is the client and the side of the
link that waits for a connection request is the server. The client requests a connection by specifying the IP address
and port number of the server. Once the connection is made, data is transferred without either side having to
specify the IP address and port number.
The T200 is usually associated to the server and can hold four different TCP connections with a SCADA. Each
connection with a client is managed by a disconnection delay if no data is exchanged.
The T200 support TCP communications on port number 502. All connection requests and all data are sent to this
port number. It can be changed for particular reasons.
8 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
• Frames structure:
The addressing system and the functions used are the same. The frames have the same structure, except the
"slave number" byte which is replaced by an "MBAP header" with the following structure:
- Transaction Identifier (2 bytes): Used to associate transactions (questions and responses). The Modbus server
copies the question "transaction identifier" to the response.
- Protocol Identifier (2 bytes): Used for intra-system multiplexing. The Modbus protocol is identified by the value 0.
- Length (2 bytes): number of bytes following this field, including the "Unit Identifier" and the data.
- Unit Identifier (1 byte): This field is used for intra-system routing (see the Gateway function). The default value is
0xFF.
NT00188-EN-06 9
Easergy T200, F200C, R200 Modbus Communication
4 Configuration
4.1 General configuration of the protocol
A configuration screen contains all the parameters directly related to the Protocol.
In "standard" communication, the Supervisor can obtain access to a data field called the MODBUS Table. It is thus
possible to come and read and write data on the "external address" of a variable. However, it is not possible to
export events, since the "standard" MODBUS protocol offers no way of sending time-tagged data.
In such a case, therefore, simply fill in the "Device Address" field on the configuration page:
10 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
Since the MODBUS protocol proposes no standard for time tagging of events, a process has been established
allowing exchange of events in MODBUS mode between a master and a slave (cf. 4.3). The time tagging function
allows a precise date and time to be attributed to changes of state, so as to be able to classify them precisely in
time. These events are accessible from a table whose address and size must be entered.
The Server Gateway function allows the device to be used as a gateway to a MODBUS slave to which it is
connected. If this function is enabled, and if the device receives a Modbus frame that is not intended for it
(MODBUS address different from the device address), the device transfers the frame from its remote
communication port (port 1 or port 2) to its local port and then sends the response received to the port of origination
of the request.
Each analogue value (measurement) is a signed integer encoded on 16 bits by two's-complement system. The
measurements can be sent with scaling.
Two modes are proposed:
- "Raw" (or "Normalized") mode: the measure is scaled and converted depending to the Min and Max values
defined for the measure.
- "Direct" (or "Adjusted" or "Scaled") mode: the variable is sent as it is measured (except if the measure exceeds
the Max value defined for the measure).
Note: for details of mode used, see chapter "8.1 - MODBUS table", paragraph "Telemetry and counters zones".
Comment: This function can be used only by the protocol by changing the value of bit 0 in the Status register.
Bit 0 = 0, Raw mode.
Bit 0 = 1, Direct mode.
Case of the "Exception if undeclared element" parameter set to "No": If the Supervisor interrogates a memory
address (external address) in which no element is declared, the device will associate the integer 0 with the
undeclared bit or word and return this integer (instead of returning a frame indicating an incorrect address).
NT00188-EN-06 11
Easergy T200, F200C, R200 Modbus Communication
6/ Telecontrol function:
The TCD function allows certain advanced settings to be made for sending telecontrols:
• Double command by writing 1 bit enabled: Enables telecontrols with writing of a single bit.
• CR code address: telecontrol fault indication address.
=> The CR code gives information on the processing of the remote control order carried out by the T200:
Bit 0: Remote control in progress.
Bit 1: Fault concerning the initial remote control order
Bit 2: Serious fault detected during internal check.
Bit 3: External fault; the switch has not reached the desired status within the time allotted.
Bit 4: Remote control not executed due to Station in Local mode or other disabling condition
Bit 5: Failure to execute for an unknown reason.
Each change of state of one of this bit will produce a MODBUS event that could be seen on the event log.
The telecontrol center system may reset these codes by writing a 0 to the relevant address.
7/ 32 bits mode:
Measures of F200C and T200 are coded in 16 bits. Nevertheless, energy counters can be coded in 32 bits. So,
counters will be sent to the SCADA with using 2 frames of 16 bits.
In case of 32 bits mode, this parameter determines the order of transmission: MSB / LSB (H/L) or LSB/MSB (L/H).
We saw on chapter 3.6 that MODBUS protocol can also be used over Ethernet. Consequently, there are some new
parameters related to the TCP/IP layer that must be set. Beforehand, the MODBUS IP protocol must be activated.
(Operating mode menu)
12 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
When the Report By Exception operating mode is selected (and saved), an additional window opens in the Protocol
Parameters screen. This window is related to the problem of collisions that can occur when the T200 calls to send
an exception. It depends on the transmission medium used.
For point-to-point systems (telephone, GSM), the window is that which conventionally appears when using these
types of medium, i.e. the window for configuration of the port used for transmission (it is therefore described in the
T200 User Manual in the chapter corresponding to these media).
In this case, no configuration appears in the "Protocol" parameters setup window.
However, for multipoint systems (radio, radio type leased line, etc.), the following window appears in the "Protocol"
parameters setup window:
Collision avoidance:
Collisions may occur:
- between frames sent by the SCADA and frames sent by a remote terminal unit;
- between frames sent by various remote terminal units.
To avoid collisions insofar as possible, one must know the network occupancy state. The more reliable this
information, the more efficient the system. The system can be forced to send only if the network is free.
However, this has its limits, since two devices may see the network free and start sending simultaneously. Even
apart from this case, there is always a time lag for detection of network occupancy. Let us consider a device going
into sending mode. Throughout the time needed for detection of this state, another device will consider the network
as free and will therefore be enabled to send.
To overcome this, collision avoidance can be used.
Depending on the transmission medium, there will be several possible options:
- Non-activated or Standard;
- Non-activated, Standard (squelch used for busy state), Standard (CD used for busy state).
The first group of options is proposed when the transmission medium can provide the occupancy state via the CD
signal. This is the case when the sent frames are delimited by a signal (generally RTS), said signal being linked to
the CD or causing its activation (case in which the RTS signal causes rising of a carrier detected on CD by the
other device).
The second group of options is proposed when using a radio medium. There are generally 2 signals: the CD
(Carrier Detect) signal and the Squelch signal. When the squelch signal is available, it should be preferred to the
CD signal. This is because carrier detection can be caused by noise on the line, whereas the squelch is generally
more "secure" and gives more reliable information.
In the second option, when collision avoidance is activated, an additional window appears in the Protocol
Parameters screen.
Before describing the various parameters used, we shall explain how collision avoidance operates.
When a T200 receives a frame from the Supervisor and this must be acknowledged by it, the acknowledgement
frame is sent immediately.
NT00188-EN-06 13
Easergy T200, F200C, R200 Modbus Communication
For the other frames, the T200 will allow for a waiting time before sending:
This time is calculated by the following formula:
• Priority
This parameter can be used to hierarchize various T200s.
The smaller the number, the more priority is assigned to the T200 (it will wait for a shorter time).
Usually, this priority is left at 0.
The other parameters concern the signal used to obtain the network occupancy state.
• Squelch protection
The squelch is an occupancy signal provided by analogue type radio equipment. With this transmission
medium, the transmission conditions vary with time. For example, transmission conditions differ depending on
whether or not there are leaves on the trees. Therefore, reception levels generally vary throughout the year.
Accordingly, the squelch is related to the value to which its detection level has been set. This setting is
normally performed in the field and in periods when reception is least satisfactory. However, despite all the
precautions taken, squelch detection may become active permanently or over long periods of time. This means
that, in this case, the T200 is therefore no longer enabled to send. To avoid this, squelch protection can be
activated.
When it is activated, this protection system will ensure that, when the squelch is active at the time when the
T200 wants to send and when it remains active permanently during the time defined below, sending by the
T200 will be enabled after this time (this operation is known as squelch setting).
14 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
Explanatory diagrams
Normal case
Squelch
T200 sending
Squelch
T200 sending
Squelch
T200 sending
NT00188-EN-06 15
Easergy T200, F200C, R200 Modbus Communication
The slave device sends spontaneously upon condition to a master; for this purpose it initializes an alarm sequence
which allows the master to identify the sending slave.
- In the case of a non-permanent link (PSTN, GSM, etc.) requiring the use of a modem to establish the link with a
master, connection is managed by the device. When connection is established, the master sends a MODBUS
request for identification of the slave: broadcast transmission of a frame with null function code. The device replies
to this frame with an exception frame containing its slave address.
- In the case of a permanent link (private line, fibre optic, radio), an exception request allowing it to be identified is
sent spontaneously to the master.
The master can thus retrieve the slave address and continue the Master/Slave type MODBUS procedure (reading
of fields, events, alarm acknowledgement).
Activation of this procedure is available for each physical port from the "operating mode" menu.
In order to limit the quantity of data transferred via the IP link (to limit GPRS costs for example), the Report by
Exception process is adapted to Modbus TCP.
In this case, the connection is still open by the supervisor, but once it is open, the supervisor has not to pull the
slave too frequently: alarmed changes of state will be signalled by an Exception.
This Exception can be repeated with a configurable delay if the alarm is not acknowledged.
A thirty second delay has been introduced between two exceptions to prevent network overload.
16 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
"Event management":
Event processing requires that the master have access to the T200 event table in write and read mode. An
example of an exchange will be described in detail in section 5.1.
• Event reading:
The slave provides the master with an event table. The master reads the event table and acknowledges by writing
an exchange word. The slave updates the event table.
• Exchange word:
The exchange word can be used to manage a specific protocol to be sure not to lose events following a
communication problem. For this purpose, the event table is numbered.
The exchange word comprises 2 fields:
- Most significant byte = exchange number (8 bits): 0..255
The exchange number contains a numbering byte which can identify exchanges.
The exchange number is initialized to zero following a power up.
When it reaches its maximum value (0xFF), it automatically returns to 0.
The exchange numbering is established by the slave and acknowledged by the master.
- Least significant byte = number of events (8 bits): 0..X.
The slave indicates the number of significant events in the event table in the least significant byte of the exchange
word. This number is limited to the size of the window (e.g. 4 events), even if the number of events available
internally is larger.
Each word of the non-significant events is initialized to zero.
• Loss of information:
The slave has an internal storage queue of a defined capacity, which may reach saturation.
In the event of saturation of this queue, a "loss of information" event can be inserted by the slave when reading
each event table. The address of this event is configurable. (cf. Event loss TSS index).
So long as this event is present in the stack, no other event can be saved, so as to save and not erase the oldest
events in the case of a queue overflow.
This event disappears automatically when the Supervisor retrieves all the events and the queue becomes empty.
NT00188-EN-06 17
Easergy T200, F200C, R200 Modbus Communication
The command is executed by the device only after receiving the 2 messages.
The "Execute" message must be received at least n seconds (configurable timeout) after the "Select" message. In
the event of a fault an exception message is returned to the master. (Exception code 3).
18 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
Synchronization of communications
Any character received after a silence exceeding 3 characters is considered as a start of frame. A silence on the
line of minimum duration 3 characters (by definition, exceeding 1.5 characters) is considered as an end of frame.
For example: At 9600 baud, this time is equal to approximately 3 milliseconds.
Some modems or transmission modes such as GSM or PSTN sometimes result in longer timeouts in the frames.
For this reason, the end-of-frame timeout is in that case increased to 25 characters.
For example: At 9600 baud, this time will be equal to about 25 milliseconds.
Time synchronization
The device can be synchronized by reception of a “time message” frame over the communications network. A
general broadcast can be performed with the slave number 0. The “time message” frame is used both for time
setting and for slave synchronization.
For each new time frame received, the slave's internal clock is reset immediately as of the end of frame reception.
The precision depends on the master, and its control of the time for transmission of the time frame over the
communications network. The time for transmission of the frame over the network largely depends on the type of
medium used. When slave synchronization is to be performed, the time setting frame should be sent regularly at
closely spaced intervals (between 10 and 60 seconds) to obtain a synchronous time.
NT00188-EN-06 19
Easergy T200, F200C, R200 Modbus Communication
• TM Read Mode:
This parameter does not exist. The R200 acts as it is set to “Direct”
• Event configuration:
The “legacy” type corresponds to the event management described on chapter 4.2
The “TI_086” type corresponds to another format, described in the technical invariant TI086.
This format is not detailed in this document, and should be used only if the scada (or master) is
also handling this format.
20 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
The hexadecimal value, and the (Word,Bit) format are indicated when the value is changed by the user.
NT00188-EN-06 21
Easergy T200, F200C, R200 Modbus Communication
5 Diagnostic
This chapter provides information which may be necessary when operating problems are encountered. It may help
with problem resolution in such cases.
Comment: The following screens were obtained by sending frames step-by-step – so as to show the operation in
detail - from a simulator; the time tags are therefore not significant.
● Example 1a:
After starting, the Supervisor performs time setting on the first device. (Device address = 1)
Observation:
The Supervisor writes the date in IEC format (time tag on 4 words) at address 0x02. The T200 replies with the
updated time.
● Example 1b:
After starting, the Supervisor sends a time setting frame to all the devices (in broadcast mode).
Observation:
1/
- The T200 receives the time setting frame.
- The T200 returns no response.
2/
- The T200 receives a read request from the master, and one observes that the time has changed.
22 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
● Example 1c:
After setting the time on the T200, the Supervisor interrogates the device to find out whether events have been
recorded and have not yet been read.
- Device address: 1
- The event field is set to address 0xF with a maximum of 4 events.
Observations:
- Event 1: 08 00 03 96 00 00 00 00 00 08 08 0B 11 0A 15 80
Single address signal 918 (word 57, bit 6), value = 0, on 11/08/2008 at 17:10:05
- Event 2: 08 00 03 96 00 00 00 01 00 08 08 0B 11 0A 1C 4C
Single address signal 918 (word 57, bit 6), value = 1, on 11/08/2008 at 17:10:07
- Event 3: 08 00 03 96 00 00 00 00 00 08 08 0B 11 0A 26 CA
Single address signal 918 (word 57, bit 6), value = 0, on 11/08/2008 at 17:10:09
Comment: In our case, the single address signal 918 corresponds to the device's Local/Remote selector switch.
NT00188-EN-06 23
Easergy T200, F200C, R200 Modbus Communication
● Example 1d:
After reading the device's event table, the Supervisor performs one or more read operation(s) to find out the current
states of the device's variables (signals, measurements, etc.).
Observations:
In our example, for sake of simplicity, the Supervisor simply requests the signal state.
It can be observed that the address signal 918 (0x396, word 57 bit 6) is in 0x0 state. This is consistent with the
reading for the preceding events in which the last event showed a transition to state 0 (‘Remote’) of the
Local/Remote selector switch.
● Example 2:
The Supervisor sends a telecontrol to the device in "Select and Execute" mode. The T200 must be in remote mode.
(In direct mode, simply write at the address defined for the command).
Protocol configuration:
- "Select and Execute" mode, Timeout 20s, selection word address = 0x100.
- Write command at 1 on TCD of external address 12.0. (Word 0xC0, bit 0)
Observations:
1/ Select:
The Supervisor writes the execution address in the selection word.
2/ Execute:
The device receives the execution request, the command can be tripped.
If the device is in "No Report By Exception" mode, the Supervisor suspends polling to send the command. Once
the command is ended and in reply to the next Supervisor polling, the T200 can return a change of state (event) on
the signal associated with this telecontrol.
If the device is in "Report By Exception" mode and once the telecontrol is ended, the T200 may take the initiative of
indicating to the Supervisor a change of state (event) of the signal associated with this telecontrol.
24 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
6 Glossary
B
Binary Input
Single and double signals are treated as objects of the binary input type.
Broadcast
The Supervisor can send a message to all the remote terminal units. This is called broadcasting. The destination
address in that case equals 0x00. In this case, the destination units will not reply to the received frame.
D
Device address
MODBUS address of the T200 by which the Supervisor can obtain access to the device.
Direct execution
In this command execution mode, the command, when it is authorized, is executed upon receiving this message.
The wanted selection relay is actuated, and, after verification, it is the execution relay's turn. During all the
command sequences, checks are performed. Any detected anomaly causes immediate stoppage of the command.
Direct operate
See Direct Execution.
E
Event acknowledgement
Process by which the master can notify the device that the events have been read. Resets the number of events
contained in the T200's stack. The old events acknowledged are erased from the slave.
Event stack
See time tagged events.
Exchange word
This can be used to manage a specific MODBUS protocol for the T220 to be sure not to lose events following a
communication problem. It contains two essential items of information, the exchange number and the number of
events present in the stack.
F
Function code
Byte contained in each frame sent by the master and by which the slave can know the nature of the request (read,
write, etc.). Upon an error, the slave replies by setting the most significant bit of the function code to 1.
M
Master
Refers, in a MODBUS communication system, to the device that enters into dialogue with one or more slaves.
Measurement
Refers to an analogue input coded on 16 bits which can adopt several formats.
P
Polling
This term designates a method for repatriation of information from the T200.
The Supervisor interrogates each T200 in succession so that it may return its information.
R
Reading
The Supervisor works by Reading or Writing data to or from the remote terminal units.
NT00188-EN-06 25
Easergy T200, F200C, R200 Modbus Communication
Report By Exception
Can be used to manage a specific MODBUS protocol or the T200 which is the slave can take the initiative of
dialogue to send an alarm. Mode often used in place of Supervisor polling to avoid overloading the communication
media.
S
Select then Execute (Select then Operate)
In this command execution mode, the command, when it is authorized, is executed in two stages. The T200 first
receives a selection message. It then receives an execution message. It then checks that the same device is
involved. If this check is satisfactory, it executes the command sequence. Throughout the command's duration,
checks are performed. Any detected anomaly causes immediate stoppage of the command. Moreover, if, after
receiving the selection message, an excessive time elapses without the T200 receiving the execution message, the
command is cancelled. This time is configured in the Selection Timeout section.
Slave
Refers, in a MODBUS communication system, to the device that merely replies to the requests of a master.
Squelch
Occupancy signal provided by analogue type radio equipment.
T
TCD
Télécommande (telecontrol) (coded on 2 bits)
TM
Télémesure (remote measurement) (coded on 16 bits)
TSD
Télésignalisation double (double telesignal) (coded on 2 bits)
TSS
Télésignalisation simple (single telesignal) (coded on 1 bit)
TCP
Network Protocol used by the T200 to manage MODBUS communications over an IP Link. It is implemented in the
Transport layer of the OSI Model.
W
Writing
The Supervisor works by Writing or Reading data to or from the remote terminal units.
26 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
7 Object addressing
In the following tables will be found the default settings for the external addresses of variables.
7.1 Legend
Type – Internal No. Meaning
TCD Télécommande double (double
telecontrol)
TSS Télésignalisation simple (single
telesignal)
TSD Télésignalisation double (double
telesignal)
TM Télémesure (remote
measurement)
CNT Counter
Access Defined as
VISU Viewing
EXPL Operator
ADMIN Administrator
Object Meaning
In this column appears the type of (static) object used in transmission
Index Meaning
NA Not Accessible by SCADA: no external address has been configured. For the SCADA to be
able to access the Object, simply configure an address (which is not already used)
The external address makes the variable accessible in read or write mode from the Supervisor via the MODBUS
protocol. The MODBUS addresses of the digital variables are parameterized as follows: "Word, bit".
NT00188-EN-06 27
Easergy T200, F200C, R200 Modbus Communication
7.2 T200 P
Type Access Options Object Index Index
Internal (Dec) (Hex)
No.
Channel 1
Switch position TSD 1 VISU Binary input 52.0 340
Switch locked TSS 49 VISU Binary input 56.8 388
Switch command TCD 1 EXPL Relay output 48.0 300
control block
Operation counter CNT 1 VISU Analogue NA NA
input, 16 bits
Operation counter preset command TCD 25 ADMIN Relay output NA NA
control block
Auxiliary DI TSS 51 VISU Binary input NA NA
MV voltage present TSS 73 VISU Binary input NA NA
Earth fault TSS 71 VISU Binary input 56.1 381
Phase fault TSS 77 VISU Binary input 56.0 380
Phase current 1 TM 2 VISU I Analogue NA NA
input, 16 bits
Phase current 2 TM 3 VISU I Analogue NA NA
input, 16 bits
Phase current 3 TM 4 VISU I Analogue NA NA
input, 16 bits
Neutral current TM 5 VISU I Analogue NA NA
input, 16 bits
Average current TM 6 VISU I Analogue 64 400
input, 16 bits
U21 voltage measurement TM 47 VISU U Analogue 66 420
input, 16 bits
V1 voltage measurement TM 50 VISU U Analogue NA NA
input, 16 bits
Frequency TM 8 VISU P Analogue NA NA
input, 16 bits
Active power TM 53 VISU P Analogue NA NA
input, 16 bits
Reactive power TM 54 VISU P Analogue NA NA
input, 16 bits
Apparent power TM 55 VISU P Analogue NA NA
input, 16 bits
Power factor TM 7 VISU P Analogue NA NA
input, 16 bits
Active energy CNT 5 VISU P Analogue NA NA
input, 16 bits
Active energy preset command TCD 29 ADMIN Relay output NA NA
control block
Reactive energy CNT 13 VISU P Analogue NA NA
input, 16 bits
Reactive energy preset command TCD 37 ADMIN Relay output NA NA
control block
28 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
NT00188-EN-06 29
Easergy T200, F200C, R200 Modbus Communication
30 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
7.3 T200 I
Type Access Options Object Index Index
Internal (Dec) (Hex)
No.
Channel 1
Switch position TSD 1 VISU Binary input 52.0 341
Switch locked TSS 49 VISU Binary input 56.8 388
Switch command TCD 1 EXPL Relay output 48.0 300
control block
MV voltage present (auxiliary DI) TSS 54 VISU Binary input 57.2 392
Earth fault TSS 71 VISU Binary input 56.1 381
Phase fault TSS 77 VISU Binary input 56.0 380
Phase current TM 2 VISU Analogue 64 400
input, 16 bits
Channel 2
Switch position TSD 2 VISU Binary input 52.2 342
Switch locked TSS 81 VISU Binary input 56.9 389
Switch command TCD 2 EXPL Relay output 48.2 302
control block
MV voltage present (auxiliary DI) TSS 86 VISU Binary input 57.3 393
Earth fault TSS 103 VISU Binary input 56.3 383
Phase fault TSS 109 VISU Binary input 56.2 382
Phase current TM 9 VISU Analogue 65 410
input, 16 bits
Channel 3
Switch position TSD 3 VISU Binary input 52.4 344
Switch locked TSS 113 VISU Binary input 56.10 38A
Switch command TCD 3 EXPL Relay output 48.4 304
control block
MV voltage present (auxiliary DI) TSS 118 VISU Binary input 57.4 394
Earth fault TSS 135 VISU Binary input 56.5 385
Phase fault TSS 141 VISU Binary input 56.4 384
Phase current TM 17 VISU Analogue 66 420
input, 16 bits
Channel 4
Switch position TSD 4 VISU Binary input 52.6 346
Switch locked TSS 145 VISU Binary input 56.11 38B
Switch command TCD 4 EXPL Relay output 48.6 306
control block
MV voltage present (auxiliary DI) TSS 150 VISU Binary input 57.5 395
Earth fault TSS 167 VISU Binary input 56.7 387
Phase fault TSS 173 VISU Binary input 56.6 386
Phase current TM 24 VISU Analogue 67 430
input, 16 bits
NT00188-EN-06 31
Easergy T200, F200C, R200 Modbus Communication
32 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
NT00188-EN-06 33
Easergy T200, F200C, R200 Modbus Communication
34 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
NT00188-EN-06 35
Easergy T200, F200C, R200 Modbus communication
Measure channel 2
Current P1 TM71 VISU Analogue 71 47
input, 16 bits
Current P2 TM76 VISU Analogue 72 48
input, 16 bits
Current P3 TM81 VISU Analogue 73 49
input, 16 bits
Io Current TM86 VISU Analogue 74 4A
input, 16 bits
Mean phase current TM91 VISU Analogue 75 4B
input, 16 bits
Power factor TM97 VISU Analogue 76 4C
input, 16 bits
Active power TM98 VISU Analogue 84 54
input, 16 bits
Reactive power TM102 VISU Analogue 85 55
input, 16 bits
Apparent power TM106 VISU Analogue 86 56
input, 16 bits
Active energy CNT102 VISU Analogue 162 A2
input, 16 bits
Reactive energy CNT104 VISU Analogue NA NA
input, 16 bits
Fault channel 2
Fast earth fault TSS103 VISU Binary input 53,7 357
Earth fault TSS104 VISU Binary input 53,6 356
Fast phase fault TSS108 VISU Binary input 53,13 35D
Phase fault TSS109 VISU Binary input NA NA
Counter fast earth fault CNT12 VISU Analogue NA NA
input, 16 bits
Counter earth fault CNT13 VISU Analogue NA NA
input, 16 bits
Counter fast phase fault CNT15 VISU Analogue NA NA
input, 16 bits
Counter phase fault CNT16 VISU Analogue NA NA
input, 16 bits
Temperature measurement
Internal temperature TM10 VISU Analogue NA NA
input, 16 bits
External temperature estimated TM11 VISU Analogue 79 4F
input, 16 bits
Digital inputs
Digital input 1 TSS1 VISU Binary input 51,0 330
Digital input 2 TSS2 VISU Binary input 51,1 331
Digital input 3 TSS3 VISU Binary input 51,2 332
Digital input 4 TSS4 VISU Binary input 51,3 333
Digital input 5 TSS5 VISU Binary input 51,4 334
Digital input 6 TSS6 VISU Binary input 51,5 335
NT00188-EN-06 37
Easergy T200, F200C, R200 Modbus communication
38 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
7.5 T200 S
Type Access Options Object Index Index
Internal (Dec) (Hex)
No.
Channel 1
Switch position TSD 1 VISU Binary input 52.0 340
Switch locked TSS 49 VISU Binary input 56.8 388
Switch command TCD 1 EXPL Relay output 48.0 300
control block
Operation counter CNT 1 VISU Analogue NA NA
input, 16 bits
Operation counter preset command TCD 25 ADMIN Relay output NA NA
control block
Auxiliary DI TSS 51 VISU Binary input NA NA
MV voltage present TSS 73 VISU Binary input 57,4 394
Aux DI - MV voltage present TSS 54 VISU Binary input NA NA
Earth fault TSS 71 VISU Binary input 56.1 381
Phase fault TSS 77 VISU Binary input 56.0 380
Phase current 1 TM 2 VISU Analogue NA NA
input, 16 bits
Phase current 2 TM 3 VISU Analogue NA NA
input, 16 bits
Phase current 3 TM 4 VISU Analogue NA NA
input, 16 bits
Neutral current TM 5 VISU Analogue NA NA
input, 16 bits
Average current TM 6 VISU Analogue 64 400
input, 16 bits
Channel 2
Switch position TSD 2 VISU Binary input 52.2 342
Switch locked TSS 81 VISU Binary input 56.9 389
Switch command TCD 2 EXPL Relay output 48.2 302
control block
Operation counter CNT 2 VISU Analogue NA NA
input, 16 bits
Operation counter preset command TCD 26 ADMIN Relay output NA NA
control block
Auxiliary DI TSS 83 VISU Binary input NA NA
MV voltage present TSS 105 VISU Binary input 57.3 393
Earth fault TSS 103 VISU Binary input 56.3 383
Phase fault TSS 109 VISU Binary input 56.2 382
Phase current 1 TM 9 VISU Analogue NA NA
input, 16 bits
Phase current 2 TM 10 VISU Analogue NA NA
input, 16 bits
Phase current 3 TM 11 VISU Analogue NA NA
input, 16 bits
Neutral current TM 12 VISU Analogue NA NA
input, 16 bits
Average current TM 13 VISU Analogue 65 410
input, 16 bits
NT00188-EN-06 39
Easergy T200, F200C, R200 Modbus communication
Common objects
Local/Remote position TSS 23 VISU Binary input 57.6 396
Door opening TSS 24 VISU Binary input 57.2 392
Fault detection reset command TCL 26 EXPL Relay output NA NA
control block
Immediate AC power supply defect TSS 17 VISU Binary input 57.7 397
Time-delayed AC power supply defect TSS 18 VISU Binary input 57.12 39C
Power cut imminent TSS 25 VISU Binary input NA NA
SNTP synchronized TSL 79 VISU Binary input NA NA
Automatic controls
Automatic control ON/OFF position TSD 9 VISU Binary input 52.6 346
Automatic control ON/OFF command TCD 9 EXPL Relay output 48.6 306
control block
Automatic control has operated TSS 57 VISU Binary input 57.13 39D
Internal faults
Motorization power supply failure TSS 19 VISU Binary input 57.11 39B
Accessory equipment power supply failure TSS 20 VISU Binary input NA NA
Charger fault TSS 21 VISU Binary input 57.9 399
Battery fault TSS 22 VISU Binary input 57.10 39A
Equipment fault TSS 29 VISU Binary input NA NA
Digital Inputs/Outputs
Digital input 1 TSS 1 VISU Binary input 57.0 390
Digital input 2 TSS 2 VISU Binary input 57.1 391
Digital input 3 TSS 3 VISU Binary input NA NA
Digital input 4 TSS 4 VISU Binary input NA NA
Digital input 5 TSS 5 VISU Binary input NA NA
Digital input 6 TSS 6 VISU Binary input NA NA
Digital input 7 TSS 7 VISU Binary input NA NA
Digital input 8 TSS 8 VISU Binary input NA NA
Digital output 2 position TSD 6 VISU Binary input NA NA
Digital output 2 command TCD 6 EXPL Relay output NA NA
control block
Digital output 3 position TSD 7 VISU Binary input NA NA
Digital output 3 command TCD 7 EXPL Relay output NA NA
control block
40 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
7.6 R200-ATS100
Indexes for digital object type (SPS, DPS, SPC, DPC) are bit addresses (refer to chapter 4.4)
Access
A = Administrator (ADMIN), O = Operator (EXPL), M= Monitoring (VISU)
NT00188-EN-06 41
Easergy T200, F200C, R200 Modbus communication
42 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
NT00188-EN-06 43
Easergy T200, F200C, R200 Modbus communication
Cubicle 1 data
Protection 49 RMS thermal tripping VIP410 O SPS n/a n/a
External trip by external input VIP410 O SPS 8061 1F7Dh
Tripping VIP410 D SPS 8062 1F7Eh
Trip by test menu VIP410 O SPS 8063 1F7Fh
Trip Indication VIP410 D SPS 8064 1F80h
Phase peak demand values reset indication VIP410 A SPS n/a n/a
Operation counter SC110 O INC32 n/a n/a
Trip counter SC110 D INC32 n/a n/a
Phase + earth fault counter Flair23DM D INC32 n/a n/a
Phase fault counter Flair23DM D INC32 n/a n/a
Earth fault counter Flair23DM D INC32 n/a n/a
Number of trip : phase fault VIP410 D INC32 n/a n/a
Number of trip : earth fault VIP410 D INC32 n/a n/a
Number of trip : thermal overload VIP410 D INC32 n/a n/a
Number of trip : external trip VIP410 D INC32 n/a n/a
Energy, active total MSB PM800 D INC32 10840 2A58h
Energy, active total LSB PM800 D INC32 10842 2A5Ah
Energy, reactive total MSB PM800 D INC32 10844 2A5Ch
Energy, reactive total LSB PM800 D INC32 10846 2A5Eh
Energy, apparent MSB PM800 A INC32 10848 2A60h
Energy, apparent MSB PM800 A INC32 10850 2A62h
Phase current I1 Flair23DM D MV16 860 035Ch
Phase current I2 Flair23DM D MV16 861 035Dh
Phase current I3 Flair23DM D MV16 862 035Eh
Residual current I0 Flair23DM D MV16 863 035Fh
I1 max Flair23DM O MV16 n/a n/a
I2 max Flair23DM O MV16 n/a n/a
I3 max Flair23DM O MV16 n/a n/a
Phase current I1 VIP410 D MV16 864 0360h
Phase current I2 VIP410 D MV16 865 0361h
Phase current I3 VIP410 D MV16 866 0362h
Measured Earth Fault Current I0 VIP410 D MV16 867 0363h
Phase peak demand current Im1 (mean VIP410 O MV16 n/a n/a
current)
Phase peak demand current Im2 (mean VIP410 O MV16 n/a n/a
current)
Phase peak demand current Im3 (mean VIP410 O MV16 n/a n/a
current)
Phase current I1 PM800 D MV16 868 0364h
Phase current I2 PM800 D MV16 869 0365h
Phase current I3 PM800 D MV16 870 0366h
Residual current I0 PM800 D MV16 871 0367h
Voltage U12 PM800 A MV16 872 0368h
Voltage U23 PM800 A MV16 873 0369h
Voltage U31 PM800 A MV16 874 036Ah
Mean voltage between phases PM800 A MV16 875 036Bh
Voltage V1 PM800 A MV16 876 036Ch
Voltage V2 PM800 A MV16 877 036Dh
Voltage V3 PM800 A MV16 878 036Eh
Voltage NR PM800 A MV16 879 036Fh
Mean voltage phase-N PM800 A MV16 880 0370h
Frequency PM800 A MV16 881 0371h
44 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
Cubicle 1 data
Real power, total PM800 A MV16 882 0372h
Reactive power, total PM800 A MV16 883 0373h
Apparent power, total PM800 A MV16 884 0374h
True power factor, total PM800 A MV16 885 0375h
NT00188-EN-06 45
Easergy T200, F200C, R200 Modbus communication
8 MODBUS appendices
8.1 MODBUS table
Identification/configuration field
By default, T200 is in "Direct" mode. This bit is enabled when the event
stack is full. The "event loss" event is
then placed in the stack. So long as
this event is present in the stack, no
other event is placed there.
This bit is erased when the stack
becomes empty. The disappearance
of this bit generates no event.
46 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
Time synchronization field This field contains the internal date The field can only be read or
and time of the device for time written to as a whole.
tagging of events.
0 Year (0 to 99)
b15 b8 b7 b0
Millisecond (0 to 59999)
b15 b8 b7 b0
Test field This field contains 9 words The content of this field has no
accessible in read and write influence on the functionalities of
modes. This field, initially in zero the T200.
state, is available to the user to
facilitate debugging tests.
NT00188-EN-06 47
Easergy T200, F200C, R200 Modbus communication
48 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
T200P :
TCD / TSD / TSS Word address Access mode Function
allowed
TCD 1, 2, 9 0300, 302, 306h Read/Write 1,2,3,4,5,6
TSD 1, 2, 9 0340, 342, 346h Read 1,2,3,4
TSS 77, 71, 109, 103 0380h to 383h Read 1,2,3,4
TSS 49, 81 0388h to 389h Read 1,2,3,4
TSS 1, 2, 24, 105 0390h to 393h Read 1,2,3,4
TSS 23, 17 0396h to 397h Read 1,2,3,4
TSS 21 0399h Read 1,2,3,4
TSS 22, 19, 18, 57 039Ah to 39Dh Read 1,2,3,4
T200I :
TCD / TSD / TSS Word address Access mode Function
allowed
TCD 1-4 0300 to 306h Read/Write 1,2,3,4,5,6
TCD 41-44 0308 to 30Eh Read/Write 1,2,3,4,5,6
TCD 81-84 0310 to 316h Read/Write 1,2,3,4,5,6
TCD 121-124 0318 to 31Eh Read/Write 1,2,3,4,5,6
TCD 9, 49, 89, 129 0328 to 32Eh Read/Write 1,2,3,4,5,6
TSD 1-4 0340 to 346h Read 1,2,3,4
TSD 41-44 0348 to 34Eh Read 1,2,3,4
TSD 81-84 0350 to 356h Read 1,2,3,4
TSD 121-124 0358 to 35Eh Read 1,2,3,4
TSD 9, 49, 89, 129 0368 to 36Eh Read 1,2,3,4
TSS 77, 71, 109, 103, 141, 135, 173, 0380 to 38Bh Read 1,2,3,4
167, 49, 81, 113, 145
TSS 1,2,54,86,118,150,23,17,3,21,22, 0390 to 3ABh Read 1,2,3,4
19,18,4,5,6,349,343,381,375,413,407,4
45,439,321,353,385,417
TSS 273,274,326, 358,390,422 03B0 to 3B5h Read 1,2,3,4
TSS 275 03B8h Read 1,2,3,4
TSS 276,277,278,621,615,653,647, 03BD to 3CBh Read 1,2,3,4
685, 679,717,711,593,625,657,689
TSS 545,546,598, 630,662,694 03D0 to 3D5h Read 1,2,3,4
TSS 547 03D8h Read 1,2,3,4
TSS 548 to 550 03DD to 3DFh Read 1,2,3,4
TSS 893,887,925,919 03E1 to 3EBh Read 1,2,3,4
,957,951,989,983,865,897,929,961
TSS 817,818,870, 902,934,966 03F0 to 3F5h Read 1,2,3,4
TSS 819 03F8h Read 1,2,3,4
TSS 820 to 822 03FD to 3FFh Read 1,2,3,4
F200C :
TCD / TSD / TSS Word address Access mode Function
allowed
TCD 1, 2, 3, 17 0300 to 306h Read/Write 1,2,3,4,5,6
TSD 1 to 3 0310 to 314 Read 1,2,3,4
TSS 1 to 6, 21, 22, 26 0330 to 338h Read 1,2,3,4
TSS 72, 71, 17, 0346 to 348h Read 1,2,3,4
TSS 77, 76 034D to 34Ch Read 1,2,3,4
TSS 104, 103 0356 to 357h Read 1,2,3,4
TSS 108 035Dh Read 1,2,3,4
NT00188-EN-06 49
Easergy T200, F200C, R200 Modbus communication
T200S :
TCD / TSD / TSS Word address Access mode Function
allowed
TCD 1, 2, 9 0300, 302, 306h Read/Write 1,2,3,4,5,6
TSD 1, 2, 9 0340, 342, 346h Read 1,2,3,4
TSS 77, 71, 109, 103 0380h to 383h Read 1,2,3,4
TSS 49, 81 0388h to 389h Read 1,2,3,4
TSS 1, 2, 24, 105, 73 0390h to 394h Read 1,2,3,4
TSS 23, 17 0396h to 397h Read 1,2,3,4
TSS 21 0399h Read 1,2,3,4
TSS 22, 19, 18, 57 039Ah to 39Dh Read 1,2,3,4
Note: depending on the type of equipment used, the TCDs listed above are not all managed.
Remote control orders are performed by writing a TCD word. Only one remote control order at a time
may be requested. The order type is the status complementary to the TSD status (only one bit should
be included in the word written). It is only accepted if the T200 is not already processing a remote
control order.
The control order zone ( TCD) may be read with bit and word read function code. As it contains no
information the data is 0.
50 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
Note: depending on the type of equipment used, the TSDs listed above are not all managed.
TSS16 TSS15 TSS14 TSS13 TSS12 TSS11 TSS10 TSS9 TSS8 TSS7 TSS6 TSS5 TSS4 TSS3 TSS2 TSS1
b15 b8 b7 b0
Depending on the type of equipment, TSS 1 to TSS 989 and are not all managed.
For the details of TSS used for each type of equipment, see object addressing table (see: paragraph
"7 - objects addressing")
NT00188-EN-06 51
Easergy T200, F200C, R200 Modbus communication
T200P :
TM 32 Word Access Function
address mode allowed
TM 6 - average current - channel 1 0040h Read 3,4
TM 13 - average current - channel 2 0041h Read 3,4
TM 47 - voltage U21 - channel 1 0042h Read 3,4
TM 56 - voltage U21 - channel 2 0043h Read 3,4
T200I :
TM 32 Word Access Function
address mode allowed
TM 2 - phase current channel 1 0040h Read 3,4
TM 9 - phase current channel 2 0041h Read 3,4
TM 17 - phase current channel 3 0042h Read 3,4
TM 24 - phase current channel 4 0043h Read 3,4
TM 84 - phase current channel 5 0044h Read 3,4
TM 91 - phase current channel 6 0045h Read 3,4
TM 99 - phase current channel 7 0046h Read 3,4
TM 106 - phase current channel 8 0047h Read 3,4
TM 166 - phase current channel 9 0048h Read 3,4
TM 173 - phase current channel 10 0049h Read 3,4
TM 181 - phase current channel 11 004Ah Read 3,4
TM 188 - phase current channel 12 004Bh Read 3,4
TM 248 - phase current channel 13 004Ch Read 3,4
TM 255 - phase current channel 14 004Dh Read 3,4
TM 263 - phase current channel 15 004Eh Read 3,4
TM 270 - phase current channel 16 004Fh Read 3,4
F200C :
TM 32 Word Access Function
address mode allowed
TM 21 - current I1 - channel 1 0040h Read 3,4
TM 26 - current I2 - channel 1 0041h Read 3,4
TM 31 - current I3 - channel 1 0042h Read 3,4
TM 36 - current I0 - channel 1 0043h Read 3,4
TM 41 - average current 3I - channel 1 0044h Read 3,4
TM 47 - power factor - channel 1 0045h Read 3,4
TM 20 - frequency 0046h Read 3,4
TM 71 - current I1 - channel 2 0047h Read 3,4
TM 76 - current I2 - channel 2 0048h Read 3,4
TM 81 - current I3 - channel 2 0049h Read 3,4
TM 86 - current I0 - channel 2 004Ah Read 3,4
TM 91 - average current 3I - channel 2 004Bh Read 3,4
TM 97 - power factor - channel 2 004Ch Read 3,4
TM 11 - delta temperature int/ext 004Fh Read 3,4
TM 42 - voltage measurement 0050h Read 3,4
TM 48 - active power - channel 1 0051h Read 3,4
TM 52 - reactive power - channel 1 0052h Read 3,4
TM 56 - apparent power - channel 1 0053h Read 3,4
TM 98 - active power - channel 2 0054h Read 3,4
TM 102 - reactive power - channel 2 0055h Read 3,4
TM 106 - apparent power - channel 2 0056h Read 3,4
CNT 101 - active energy - channel 1 00A0h Read 3,4
CNT 102 - active energy - channel 2 00A2h Read 3,4
52 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
T200S :
TM 32 Word Access Function
address mode allowed
TM 6 - average current - channel 1 0040h Read 3,4
TM 13 - average current - channel 2 0041h Read 3,4
Depending on the calibration mode configured (in the identification zone), the
value should be interpreted as follows:
o If the Max Value has not been set (= 0, default value), the biggest value
(=0x7FFFFFFF) is used instead
o If the measurement is bigger than the Max Value, it will be transferred as
0x7FFF with the overflow quality bit set
o If the measurement is lower than the (-Max Value), it will be transferred as
0x8000 with the overflow quality bit set
o The measurement will be divided by ten as many times as the Max value
must be divided by ten to fit into the “-32768 to 32767” interval.
The transmitted value is rounded.
Examples: scaled value transmitted, depending on the internal value and the max value:
NT00188-EN-06 53
Easergy T200, F200C, R200 Modbus communication
o If the Max value = Min value (= 0, default value), the biggest interval is
used instead (-32768 to 32767 for 16 bits, -2147483648 to -2147483647
for 32 bits.
o If the measurement is bigger than the Max Value, it will be transferred
as 0x7FFF with the Overflow quality bit set
o If the measurement is lower the Min Value, it will be transferred as
0x8000 with the overflow quality bit set
o The measurement will be converted using a bijection from the min-max
interval to the “-32768 to 32767” interval, or “0 to 32767” (depending on
the min and max)
The applied formulas are:
- If Min >=0 and Max > 0:
Transmitted value = (Internal value – Min)*32767 / (Max –Min).
- If Min < 0 and Max <= 0:
Transmitted value = (Internal value – Max)*32768 / (Max –Min).
- If Min < 0 and Max > 0:
Transmitted value = (Internal value – Min)*65535 / (Max –Min) –
32768.
The transmitted value is rounded.
Examples: normalized value transmitted, depending on the internal value and the min and max values :
Internal value 0 10000 357 80000 552000 -700 -5000 -75000 Invalid
Min/Max Value (parameters)
0 / 0 (TM16) 0 10000 357 - - -700 -5000 - 0x8000
0 / 0 (TM32) 0 0 0 0 7 0 0 -1 0x8000
0 / 4000 0 0x7FFF 2924 0x7FFF 0x7FFF 0x8000 0x8000 0x8000 0x8000
0 / 400000 0 819 29 6553 0x7FFF 0x8000 0x8000 0x8000 0x8000
-4000 / 4000 0 0x7FFF 2924 0x7FFF 0x7FFF -5734 0x8000 0x8000 0x8000
-4000 / 400000 -32119 -30496 -32061 -19141 0x7FFF -32232 0x8000 0x8000 0x8000
-400000 / 400000 0 818 28 6553 0x7FFF -57 -410 -6144 0x8000
-32768 / 32767 0 10000 357 0x7FFF 0x7FFF -700 -5000 0x8000 0x8000
Scaling example: for a full scale at 400 amperes (= Max value), an internal TM value of 8192 (0x2000) corresponds
to:
8192 * 400 / 32767 + 0 = 100 A (with Max = 400 and Min = 0)
54 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
It is used to read or write one or more words (16 bits), as well as diagnostic
counters.
Functions available:
5: write a bit.
6: write a word.
Exchanges are carried out at the master's initiative and comprise a request
from the master followed by the reply from the slave. The master's
requests are addressed to a slave identified by its number in the first byte
of the frame or else addressed to all the slaves (broadcast).
All the frames exchanged (request and reply) have the same structure:
Please note that when 32 bits are used (for counters), words (2 bytes = 16
bits) can be transmitted as :
MSB / LSB (H/L) or LSB/MSB weight (L/H).
NT00188-EN-06 55
Easergy T200, F200C, R200 Modbus communication
If the CRC16 or the slave number are incorrect, the slave does not reply.
If the CRC16 and the slave number are correct, but the function code or
parameters are not valid, the slave transmits an exception reply.
If the CRC16, slave number, function code and parameters are correct,
the slave replies to the master's request.
56 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
Request
Slave 1 or 2 Address of 1st bit Number of bits CRC16
number (MSB+LSB)
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Response
Slave 1 or 2 Number of First byte Last byte CRC16
number bytes read read read
1 byte 1 byte 1 byte N bytes 2 bytes
Request
Slave 3 or 4 Address of 1st word Number of words CRC16
number (MSB+LSB) (MSB+LSB)
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Response
Slave 3 or 4 Number of First word Last word CRC16
number bytes read read read
(MSB+LSB) (MSB+LSB)
1 byte 1 byte 1 byte 2 bytes 2 bytes 2 bytes
NT00188-EN-06 57
Easergy T200, F200C, R200 Modbus communication
Writing a bit:
function 5
Request
Slave 5 Bit address Bit value 0 CRC16
number (MSB+LSB)
1 byte 1 byte 2 bytes 1 byte 1 byte 2 bytes
Response
The response is identical to the request frame.
Writing a word:
function 6
Request
Slave 6 Word address Word value (MSB+LSB) CRC16
number (MSB+LSB)
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Response
The response is an echo to the request indicating the slave's acknowledgment of
the value contained in the request.
58 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
Reading of diagnostic
counters:
function 8
To each slave are assigned diagnostic counters. In all, there are 5 counters per
slave. These counters are 16-bit words. When they reach FFFFh, they loop back
to 0000h.
For the request by the master, the most significant bit of the sub-function code is
assigned by the sub-address of the T200 device and the data are at 0000h.
For the response by the slave, the data contain the value of the counter
concerned.
Request/response
Slave 8 Sub-function code Data (MSB+LSB) CRC16
number (MSB+LSB)
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Sub-function Data
code
The slave must send the echo of the request xx00 XXXX
Resetting of diagnostic counters xx0A 0000
Reading the total number of:
frames received without CRC error (CPT1) xx0B XXXX
frames received with CRC error (CPT2) xx0C XXXX
exception responses (CPT3) xx0D XXXX
frames sent to the station (CPT4) xx0E XXXX
(excluding broadcasting)
broadcasting requests received and executed xx0F XXXX
correctly (CPT5)
Sub-function 0 can be used to test transmission. The slave returns the echo of
the data received.
NT00188-EN-06 59
Easergy T200, F200C, R200 Modbus communication
Request
Response
Slave 10h Address of 1st word Number of words written CRC16
number written (MSB+LSB) (MSB+LSB)
1 byte 1 byte 2 bytes 2 bytes 2 bytes
60 NT00188-EN-06
Easergy T200, F200C, R200 Modbus Communication
n=0
no carry yes
n=n+1
no n>7 yes
Next byte
End
Writing in C language
of the CRC16 calculation
Calculates and returns crc16 to the "buf" field of length "len".
*buf: pointer of the buffer on which calculation is performed.
len: buffer length.
NT00188-EN-06 61
Easergy T200, F200C, R200 Personal notes
NT00188-EN-06 62
Schneider Electric Industries SAS As standards, specifications and designs develop from time to
time, always ask for confirmation of the information given in this
Schneider Electric Telecontrol publication.
839 chemin des Batterses
Z.I. Ouest
F-01700 St Maurice de Beynost
Tel.: +33 (0)4 78 55 13 13
Fax: +33 (0)4 78 55 50 00
http://www.schneider-electric.com
E-mail: [email protected]
Publication, production and printing: Schneider Electric
NT00188-EN-06 01/2014 Telecontrol
Made in France - Europe