TPU S220 - User Manual - Modbus PDF
TPU S220 - User Manual - Modbus PDF
TPU S220 - User Manual - Modbus PDF
ii TPU S220 - User Manual - Modbus, N. ASID14000094, Rev. 1.0, April 2014
Manual Revisions
TPU S220 - User Manual - Modbus, ASID14000094, Rev. 1.0, April 2014 iii
GLOSSARY
iv TPU S220 - User Manual - Modbus, N. ASID14000094, Rev. 1.0, April 2014
TABLE OF CONTENTS
TPU S220 - User Manual - Modbus, ASID14000094, Rev. 1.0, April 2014 v
LIST OF TABLES
vi TPU S220 - User Manual - Modbus, N. ASID14000094, Rev. 1.0, April 2014
Chapter
COMMUNICATIONS
1
This chapter describes all communication interfaces supported by TPU S220 as RS232, RS485, optical fibre
connections, Ethernet, etc. Different communication protocols are supported over physical interfaces for the
connection to SCADA systems such as Modbus Slave.
Chapter 1 - Communications
TABLE OF CONTENTS
1-2 TPU S220 - User Manual - Modbus, N. ASID14000094, Rev. 1.0, April 2014
c
1.1.1 ARCHITECTURE
The TPU S220 enables TCP/IP, differential bus-bar or serial connection targeted for the communication with
control and supervision devices, etc. Half-duplex communication is now supported
Data Model
The datamodels to be used is not defined by any standard. Thus, each device manufacturer should define the
datamodel and refer to it in the corresponding manual. However, this protocol covers a set o measurements
that are suitable to most of different situations.
1.1.2 CONFIGURATION
The parameters of ModBus protocol may be configured and visualized using the configuration tool Automation
Studio Designer.
These are the functions currently supported:
Function Description
F1 Consecutive reading of n bits
F2 Consecutive reading of n bits
F3 Consecutive reading of n words
F4 Consecutive reading of n words
F5 Writing one bit
F6 Writing a word
F15 Consecutive writing of n bits
F16 Consecutive writing of n words
TPU S220 - User Manual - Modbus, ASID14000094, Rev. 1.0, April 2014 1-3
Chapter
ANNEXES
2
The annexes below may complement the information of the previous chapters.
Chapter 2 - Annexes
TABLE OF CONTENTS
2-2 TPU S220 - User Manual - Modbus, N. ASID14000094, Rev. 1.0, April 2014
Chapter 2- Annexes
The functions now deployed in this protocol are basically reading or writing bits and words. Where applicable,
the supported data model is described; this information is described below.
Request
Description Size
Transaction identification 2 Bytes ----
Protocol identifier 2 Bytes 0x0000
Frame size 2 Bytes ----
Information x Bytes PDU
Response
Description Size
Request
Description Size
Slave identification 1 byte ----
Information x Bytes PDU
CRC16 2 Bytes (LSB+MSB)
Request
Description Size
Slave identification 1 byte ----
Information x Bytes PDU
CRC16 2 Bytes (LSB+MSB)
TPU S220 - User Manual - Modbus, ASID14000094, Rev. 1.0, April 2014 2-3
Chapter 2 - Annexes
Request
Request
2-4 TPU S220 - User Manual - Modbus, N. ASID14000094, Rev. 1.0, April 2014
Chapter 2- Annexes
Request
PDU Description Size
Request
Request
Request
Request
TPU S220 - User Manual - Modbus, ASID14000094, Rev. 1.0, April 2014 2-5
Chapter 2 - Annexes
Request
Request
Answer (it's an echo request, indicating that the slave has processed the value of the request)
PDU Description Size
Request
Answer (it's an echo request, indicating that the slave has processed the value of the request)
2-6 TPU S220 - User Manual - Modbus, N. ASID14000094, Rev. 1.0, April 2014
Chapter 2- Annexes
Request
Request
Request
Request
Code Size
0x01 Unknown function code
0x02 Incorrect address
TPU S220 - User Manual - Modbus, ASID14000094, Rev. 1.0, April 2014 2-7
Chapter 2 - Annexes
Please consider the possibility of jamming in the EIA485 bus-bar that change the communication frame content
or even unable its transmission, the slave will not answer.
Answer
2-8 TPU S220 - User Manual - Modbus, N. ASID14000094, Rev. 1.0, April 2014