ATEQ F6 Profinet Series User manual

F6 Series – Modbus RTU
Manual

1 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
Table of Contents
Safety advisory / Warranty
Good practices and safety instructions..........................................................................................3
Preamble
Introduction .................................................................................................................................4
Basic notions................................................................................................................................5
Hardware installation
Hardware configuration................................................................................................................7
Configuration of the ATEQ device (slave)
Setup of the RS232 mode .............................................................................................................8
Setup of the station number.........................................................................................................9
Setup of the communication speed.............................................................................................10
Setup of the parity...................................................................................................................... 11
Configuration of the master
Setup of the communication port ............................................................................................... 12
Frame construction
Dialog mechanism (asynchronous link) .......................................................................................13
Commands................................................................................................................................. 14
CRC calculation........................................................................................................................... 17
Functional description of an ATEQ device
Introduction ...............................................................................................................................18
Configuration .............................................................................................................................22
Cycle .......................................................................................................................................... 57
Results ....................................................................................................................................... 62

FG_F6_MODBUS_EN_01 / 2020-06-17
2 / 74
ATEQ Manufacturer Plants –Measurement Solution, Global Leader
ATEQ
15, rue des Dames, Z.I.
78340 LES CLAYES-SOUS-BOIS
FRANCE
info@ateq.com
ateq.com
T.: +33 1 30 80 1020
F.: +33 1 30 54 1100
ATEQ K.K.
3 –41 ATEQ Building, Ikehata
Chiryu-city, Aichi-pref
JAPAN
info@ateq.co.jp
ateq.co.jp
T.: +81 566-84-4670
F.: +81 566-84-4680
ATEQ China
98 Jian Peng Lu
Shanghai
CHINA
shanghai@ateq.com.cn
ateq.com.cn
T.: +86 21 6763 9508
F.: +86 21 6763 9528
ATEQ SYSTEMS ANALYSIS TAIWAN CO.,
LTD.
NO. 3, LAN 223, San Jia Dong Street
40642, TAICHUNG
TAIWAN
ateqtaiwan@ateq.com.tw
ateq.com.tw
T.: +886 4 2437 5278
F.: +886 4 2437 3675
ATEQ CORP.
35980 Industrial Road Suite L
Livonia MI 48150
UNITED STATES
leaktest@atequsa.com
atequsa.com
T.: +1 734-838-3100
F.: +1 734-838-0644
We continuously work on improving our products. This is why inforamtion contained in this manual,
the device and the technical specifications may be modified without prior notification.
Pictures and figures in this manual are non contractual

3 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
Safety advisory / Warranty
GOOD PRACTICES AND SAFETY INSTRUCTIONS
Safety recommendations
If the device is supplied with 100 / 240 V AC, it is mandatory to connect it to the ground with a good
link to the ground, to protect against electric hazard or electrocution.
It is dangerous to change the status of the outputs.
They can control power actuators or other equipment (mechanical, pneumatic, hydraulic, electrical or
other) which can cause serious personal injury and damage to surrounding material.
For safety and quality measurement reasons, it is important, before powering on the device, to ensure
that it is air supplied with a minimum operating pressure (0.6 MPa ± 15%).
Recommendations for the test environment
Keep the test area as clean as possible.
Recommendations for operators
ATEQ recommends that the operators who use the devices have training and a level of qualification
that correspond to the job to perform.
General recommendations
—
Read the user manual before using the device.
—
All electrical connections to the device must be equipped with safety systems (fuses, circuit
breakers, etc.) adapted to the needs and in accordance with the applicable standards and rules.
—
To avoid electromagnetic interference, electrical connections to the device must be shorter than 2
meters.
—
Power supply plug must be grounded.
—
Disconnect the device from the mains before performing any maintenance work.
—
Shut off the compressed air supply when working on the pneumatic assembly.
—
Do not open a connected device.
—
Avoid splashing water on the device.
ATEQ is at your disposal for any information concerning the use of the device under maximum safety
conditions.
We draw your attention to the fact that ATEQ cannot be held responsible for any accident related to
a misuse of the measuring instrument, the workstation or non-compliance of the installation with
safety rules.
In addition, ATEQ declines any responsibility for the calibration or the fitting of their instruments that
is not done by ATEQ.
ATEQ also declines any responsibility for any modification (program, mechanical or electrical) of the
device done without their written consent.

FG_F6_MODBUS_EN_01 / 2020-06-17
4 / 74
Preamble
INTRODUCTION
This manual intends to help you for the configuration and the use of your ATEQ F6 device on the
Modbus RTU network.
For more information on your ATEQ equipment, refer to the Quick Start Manual.

5 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
BASIC NOTIONS
The numerical values used in the ATEQ device are coded on a Long format.
ATEQ devices are configured in Little Endian format. It means that the Least Significant Byte is sent
first on the network.
Word
A word is a 16-bit data. It is coded with two bytes (8bits):
—
The first byte is the Least Significant Byte ( LSB )
—
The second byte is the Most Significant Byte ( MSB )
Example of a word:
Reminder: “h” indicates a hexadecimal code, “(d)” indicates a decimal code.
Long format (Signed Double word)
A Long format data is coded with two words (of 16 bits).
In the memory range of the ATEQ device or when they are transmitted, both words are coming in the
following order:
—
The first word is the least significant word
—
The second word is the most significant word
—
Example of a Long format:
Address value
All address values are treated with the Long format.
Example –address of the “millibar” unit in the Unit table (see Unit table):

FG_F6_MODBUS_EN_01 / 2020-06-17
6 / 74
Numerical value
All the numerical values are treated with the Long format with fixed comma (10-3).
Thus, their value is expressed in thousandths of unit. So, this value must be multiplied by 1000 to get
the value in units.
For example, a value of 207055 represents 207.055. So, any numerical value must be divided by 1000
to get the real value:
—
207.055 = 207055 ÷ 1000
Example –Pressure:
Negative numerical value
All the negative numerical values are treated with Signed long format with fixed comma (10-3).
Thus, they must be multiplied by 1000 to get the value in units.
Example –Leak value (signed long):

7 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
Hardware installation
HARDWARE CONFIGURATION
Connect your ATEQ equipment to the Modbus RTU network using its Modbus RTU connectors and
compatible cables.
Your device has one Modbus RTU connector.
For more information on your ATEQ equipment, refer to the Quick Start Manual.
Modbus RTU connector –9 pins male connector
Pin number
Signal
1
-
2
RXD (receive data)
3
TXD (transmit data)
4
-
5
Ground
6
-
7
RTS (request to send)
8
CTS (clear to send)
9
-
Architecture of the Modbus RTU network
The network is built on the basis of a cable composed of two pairs of entwined and shielded wires.
One pair is for the signals and the other is for the ground.

FG_F6_MODBUS_EN_01 / 2020-06-17
8 / 74
Configuration of the ATEQ device
(slave)
Use this procedure to configure your device.
This configuration can be done with the front panel of your ATEQ device
The Modbus RTU configuration on an ATEQ device is always 8 bits long with one stop bit.
SETUP OF THE RS232 MODE
From the ATEQ device
From the MAIN MENU screen of your
ATEQ device:
➢CONFIGURATION
➢AUTOMATISM
➢RS232
Choose MODBUS value in the new
window.
It will also give you access to the serial
parameters.

9 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
SETUP OF THE STATION NUMBER
The station number must be the same on slave and master.
From the ATEQ device
From the MAIN MENU screen of your
ATEQ device:
➢CONFIGURATION
➢AUTOMATISM
➢RS232: MODBUS
➢ADDRESS
The station number can be equal to a value between 1 and 255.

FG_F6_MODBUS_EN_01 / 2020-06-17
10 / 74
SETUP OF THE COMMUNICATION SPEED
The speed must be the same on slave and master.
From the ATEQ device
From the MAIN MENU screen of your
ATEQ device:
➢CONFIGURATION
➢AUTOMATISM
➢RS232: MODBUS
➢Speed
The speed can be equal to:
—4800 bauds
—9600 bauds
—19200 bauds
—28800 bauds
—38400 bauds
—57600 bauds

11 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
SETUP OF THE PARITY
The parity must be the same on slave and master.
The Modbus RTU configuration on an ATEQ device is always 8 bits long with one stop bit.
From the ATEQ device
From the MAIN MENU screen of your
ATEQ device:
➢CONFIGURATION
➢AUTOMATISM
➢RS232: MODBUS
Select the last line in this menu to change
the parity.
The parity can be equal to:
—None
—0
—1
—Even
—Odd

FG_F6_MODBUS_EN_01 / 2020-06-17
12 / 74
Configuration of the master
SETUP OF THE COMMUNICATION PORT
Select the connected communication
port and go into its properties.
Then adjust the different settings
according to those of your ATEQ device.

13 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
Frame construction
DIALOG MECHANISM (ASYNCHRONOUS LINK)
The Modbus RTU data frames do not include delimiters.
The synchronization is achieved by using a delay 3.5 times longer than the transmission time of a byte.
At the end of this delay, the first byte received is considered as the start of a new frame.

FG_F6_MODBUS_EN_01 / 2020-06-17
14 / 74
COMMANDS
Standard access
Reminder: a byte is 8 bits long and a word is 16 bits long
Reminder: "h" indicates a hexadecimal code, "(d)" indicates a decimal code.
The Standard access allows the user to read/write multiple items in a single frame.
The ATEQ 6th series instruments support three different functions in Standard access.
Writing N*words: 10h
Question:
Slave
address
Function
number
(10h)
Word
address
Number of
words to
write
Number of
bytes to
write
Data
0
…
Data
N
CRC
Byte
Byte
Word
Word
Byte
N*words
Word
Answer:
Slave
address
Function
number
(10h)
Word
address
Number of written words
CRC
Byte
Byte
Word
Word
Word
Reading N*words: 03h
Question:
Slave
address
Function
number
(03h)
Word
address
Number of words to read
CRC
Byte
Byte
Word
Word
Word
Answer:
Slave
address
Function
number
(03h)
Number of
read bytes
Data 0
…
Data N
CRC
Byte
Byte
Byte
N*words
Word
Writing a bit: 05h
Question:
Slave
address
Function
number
(05h)
Bit address
Bit value
Force bit to 1: FF00h
Force bit to 0: 0000h
CRC
Byte
Byte
Word
Word
Word
Answer (identical to the question):
Slave
address
Function
number
(05h)
Bit address
Bit value
Force bit to 1: FF00h
Force bit to 0: 0000h
CRC
Byte
Byte
Word
Word
Word

15 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
Direct access
Reminder: a byte is 8 bits long and a word is 16 bits long
Reminder: "h" indicates a hexadecimal code, "(d)" indicates a decimal code.
The Direct access allows the user to read/write directly only one item in a single frame.
The ATEQ 6th series instruments support two different functions in Direct access.
Writing N*words: 10h
Question:
Slave
address
Function
number
(10h)
Direct access
address
Number of
words to
write
Number of
bytes to
write
Data
0
…
Data
N
CRC
Byte
Byte
Word
Word
Byte
N*words
Word
Answer:
Slave
address
Function
number
(10h)
Direct access
address
Number of written words
CRC
Byte
Byte
Word
Word
Word
Reading N*words: 03h
Question:
Slave
address
Function
number
(03h)
Direct access
address
Number of words to read
CRC
Byte
Byte
Word
Word
Word
Answer:
Slave
address
Function
number
(03h)
Number of
read bytes
Data 0
…
Data N
CRC
Byte
Byte
Byte
N*words
Word

FG_F6_MODBUS_EN_01 / 2020-06-17
16 / 74
Command error handling
Reminder: a byte is 8 bits long and a word is 16 bits long
Reminder: "h" indicates a hexadecimal code, "(d)" indicates a decimal code.
Error frame
The errors are handled in the answer of the slave to a request of the master.
When an error occurs, the slaves add 80h to the Function number followed by the error code:
—
Error on a Writing N*words (10h) request
Slave
address
Function number + 80h
(90h)
Error code
CRC
Byte
Byte
Byte
Word
—
Error on a Reading N*words (03h) request
Slave
address
Function number + 80h
(83h)
Error code
CRC
Byte
Byte
Byte
Word
Error codes
Hexa
code
Item
Meaning
02
ILLEGAL DATA ADDRESS
Address out of range
03
ILLEGAL DATA VALUE
Value out of limit / value not valid / parameter or bit unavailable

17 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
CRC CALCULATION
Definition
In Modbus RTU, the Cyclic Redundancy Check is calculated on 16 bits. It is therefore called CRC16.
The CRC16 is a calculation based on the binary value of each character composing the frame. This
function translates the frame into a 16-bit binary word; this binary word is inserted at the end of the
frame.
When the master or the slave receives a frame, it calculates the CRC16 of this frame and compares
the result with the value of CRC16 contained in the frame (last word), in order to check that the
exchange has been correctly undertaken:
—
If the CRC16 corresponds, the slave responds.
—
If the CRC16 is false:
oThe slave that receives the erroneous frame does not respond,
oThe master having not received a response restarts the same request for the slave.
If the exchange is not accomplished after 2 attempts, the master declares a communication error in
the network and stops the exchanges.
CRC16 calculation algorithm
CRC16 = 0FFFFh // Initialization at the start of each new data frame
As long as (NO(End of frame))
CRC16=(CRC16 OR exclusive character received)
for (i=0;i<8;i++)
{
CRC16=CRC16/2
If there are remainders to the division then
CRC16= (CRC16 XOR 0A001h)
}
FTQ

FG_F6_MODBUS_EN_01 / 2020-06-17
18 / 74
Functional description of an ATEQ
device
INTRODUCTION
—
R/W*: reading and writing
—
W*: writing only
—
R*: reading only

19 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
Address tables
Word addresses
These addresses are used with the Writing N*words (10h) or the Reading N*words (03h) functions of
the Standard access:
Hexa address
Item
Read
Write
0000
Read parameters
Y
N
0010
FIFO result
Y
N
0011
Last result
Y
N
0020
Step code in progress
Y
N
0030
Real time result (real time information)
Y
N
007F
Write parameters
N
Y
0100
Extended menu bits
Y
Y
0110
Function bits
Y
Y
0120
Personalization
Y
Y
0130
Number of results in FIFO
Y
N
0200
Program to be selected
N
Y
0201
Special cycle
N
Y
0202
Selected program
Y
N
3004
Program in edition mode
Y
Y
Bit addresses
These addresses are used with the Writing a bit (05h) function of the Standard access:
Hexa address
Item
0000
Reset
0001
Start
0002
FIFO reset
Direct access addresses
These addresses are used with the Writing N*words (10h) or the Reading N*words (03h) functions of
the Direct access:
Read
hexa address
Write
hexa address
Item
2000
6000
Program in edition mode
2001
…
2200
6001
…
6200
Parameters
2201
…
220D
-
Status and real time measurement
2301
…
2328
-
Last result
2401
…
24FF
6401
…
64FF
Extended menu bits
2601
…
26FF
6601
…
66FF
Function bits
Other manuals for F6 Profinet Series
2
Table of contents
Popular Network Hardware manuals by other brands

Roline
Roline 12.02.1091 user manual

Force 10
Force 10 Adit 3104 IP Reference manual

MEMC
MEMC MRMC-2091-00 quick start guide

National Instruments
National Instruments NI WAP-3701 user manual

Panasonic
Panasonic Transistors 2SC3937G Specifications

Lindy
Lindy Modular Fast Fiber Switch Converter MT-RJ Specifications

Nexcom
Nexcom NSA 5181 Quick reference guide

Quest Engineering
Quest Engineering TELSEC MP2 user guide

HIK VISION
HIK VISION HiWatch Series quick start guide

Data Conversion Systems
Data Conversion Systems DCS Network Bridges user manual

HIK VISION
HIK VISION UD04701B user manual

Atop
Atop SE59 Series Getting started guide