ALTUS Hadron Xtorm User manual

Hadron Xtorm
User Manual
Rev. C 02/2017
Doc. Code: MU223600

General Supply Conditions
i
No part of this document may be copied or reproduced in any form without the prior written consent
of Altus Sistemas de Automação S.A. who reserves the right to carry out alterations without prior
advice.
According to current legislation in Brazil, the Consumer Defense Code, we are giving the following
information to clients who use our products, regarding personal safety and premises.
The industrial automation equipment, manufactured by Altus, is strong and reliable due to the
stringent quality control it is subjected to. However, any electronic industrial control equipment
(programmable controllers, numerical commands, etc.) can damage machines or processes controlled
by them when there are defective components and/or when a programming or installation error
occurs. This can even put human lives at risk.
The user should consider the possible consequences of the defects and should provide additional
external installations for safety reasons. This concern is higher when in initial commissioning and
testing.
The equipment manufactured by Altus does not directly expose the environment to hazards, since
they do not issue any kind of pollutant during their use. However, concerning the disposal of
equipment, it is important to point out that built-in electronics may contain materials which are
harmful to nature when improperly discarded. Therefore, it is recommended that whenever
discarding this type of product, it should be forwarded to recycling plants, which guarantee proper
waste management.
It is essential to read and understand the product documentation, such as manuals and technical
characteristics before its installation or use.
The examples and figures presented in this document are solely for illustrative purposes. Due to
possible upgrades and improvements that the products may present, Altus assumes no responsibility
for the use of these examples and figures in real applications. They should only be used to assist user
trainings and improve experience with the products and their features.
Altus warrants its equipment as described in General Conditions of Supply, attached to the
commercial proposals.
Altus guarantees that their equipment works in accordance with the clear instructions contained in
their manuals and/or technical characteristics, not guaranteeing the success of any particular type of
application of the equipment.
Altus does not acknowledge any other guarantee, directly or implied, mainly when end customers are
dealing with third-party suppliers.
The requests for additional information about the supply, equipment features and/or any other Altus
services must be made in writing form. Altus is not responsible for supplying information about its
equipment without formal request.
COPYRIGHTS
Hadron Xtorm, Nexto, Ponto Series, MasterTool and Grano are the registered trademarks of Altus
Sistemas de Automação S.A.
Windows, Windows NT and Windows Vista are registered trademarks of Microsoft Corporation.
These products use EtherCAT® technology (www.ethercat.org).
OPEN SOURCE SOFTWARE NOTICE
To obtain the source code under GPL, LGPL, MPL and other open source licenses, that is contained
in this product, please contact opens[email protected].br. In addition to the source code, all referred
license terms, warranty disclaimers and copyright notices may be disclosed under request.

Summary
ii
Summary
1. INTRODUCTION.......................................................................................................................................7
Hadron Xtorm Series...................................................................................................................................7
Innovative Features................................................................................................................................8
Main Features........................................................................................................................................9
Documents Related to this Manual ...........................................................................................................10
Technical Support......................................................................................................................................12
Warning Messages Used in this Manual ...................................................................................................12
2. TECHNICAL DESCRIPTION.................................................................................................................13
Panels and Connections.............................................................................................................................13
General Features........................................................................................................................................14
Common General Features...................................................................................................................14
Specific Features..................................................................................................................................16
Serial Interfaces...................................................................................................................................18
Ethernet Interfaces...............................................................................................................................19
IRIG-B ................................................................................................................................................19
Graphic Display...................................................................................................................................20
Memory Card Interface........................................................................................................................20
Compatibility with Other Products...........................................................................................................20
Performance...............................................................................................................................................21
Application Times ...............................................................................................................................21
Time for Instructions Execution...........................................................................................................21
Initialization Times..............................................................................................................................22
Related Products........................................................................................................................................22
3. INSTALLATION.......................................................................................................................................24
Visual Inspection........................................................................................................................................24
Mechanical Installation .............................................................................................................................24
Rack Clamping....................................................................................................................................24
Module Insertion..................................................................................................................................26
Module Removal .................................................................................................................................29
Electrical Installation.................................................................................................................................32
Electrical Safety...................................................................................................................................32
Spring Terminal Blocks .......................................................................................................................33
Connections.........................................................................................................................................36
Supply Voltages...................................................................................................................................36
Fuses ...................................................................................................................................................36
CPU Electrical Installation........................................................................................................................37
Ethernet Network Connection...................................................................................................................37
IP Address...........................................................................................................................................38
Free ARP.............................................................................................................................................39
Network Cable Installation...................................................................................................................39
Serial Network Connection (COM 1)........................................................................................................40
RS-232C Communication....................................................................................................................41
RS-485 Communication without Termination ......................................................................................41
RS-485 Communication with Internal Termination ..............................................................................41
RS-485 Communication with External Termination .............................................................................42
Serial Network Connection (COM 2)........................................................................................................43
RS-485 Communication without Termination ......................................................................................43

Summary
iii
RS-485 Communication with Internal Termination ..............................................................................44
RS-485 Communication with External Termination .............................................................................45
RS-422 Communication without Termination ......................................................................................46
RS-422 Communication with Internal Termination ..............................................................................47
RS-422 Communication with External Termination .............................................................................48
RS-422 Network Example ...................................................................................................................49
IRIG- B Connection...................................................................................................................................50
IRIG-B Connection Pins ......................................................................................................................52
Memory Card Installation.........................................................................................................................53
Programmer Installation...........................................................................................................................54
4. CONFIGURATION...................................................................................................................................59
CPU Configuration....................................................................................................................................59
General Parameters..............................................................................................................................60
Time Synchronization..........................................................................................................................63
Internal Points......................................................................................................................................67
Engineering Conversion.......................................................................................................................73
Alarms.................................................................................................................................................74
Event Grouping ...................................................................................................................................75
Serial Interfaces Configuration.................................................................................................................77
COM 1 ................................................................................................................................................77
COM 2 ................................................................................................................................................80
Ethernet Interfaces Configuration............................................................................................................81
Local Ethernet Interfaces .....................................................................................................................81
Reserved TCP Ports.............................................................................................................................82
Ethernet Interfaces Advanced Configurations.......................................................................................82
Double Points.............................................................................................................................................83
Protocols Configuration.............................................................................................................................83
CPU Event Queue................................................................................................................................86
Interception of Commands from Control Center...................................................................................88
MODBUS –Data Types ......................................................................................................................93
MODBUS RTU Master .......................................................................................................................93
MODBUS RTU Slave........................................................................................................................102
MODBUS Ethernet............................................................................................................................106
MODBUS Ethernet Client .................................................................................................................108
MODBUS Ethernet Server.................................................................................................................116
DNP3 –Data Types...........................................................................................................................121
DNP3 Ethernet Client ........................................................................................................................121
DNP3 Ethernet Server........................................................................................................................137
IEC 60870-5-104 –Data Types..........................................................................................................147
IEC 60870-5-104 Server ....................................................................................................................148
IEC61850 Server ...............................................................................................................................157
Communcation Performance ..................................................................................................................173
MODBUS Communication Performance............................................................................................173
DNP3 Communication Performance ..................................................................................................175
IEC 60870-5-104 Communication Performance.................................................................................176
System Performance................................................................................................................................176
I/O Scanning......................................................................................................................................176
Memory Card ....................................................................................................................................177
RTC Clock...............................................................................................................................................177
Function Blocks and Functions for RTC Reading and Writing............................................................178
RTC Data Structure ...........................................................................................................................182
User Files Memory...................................................................................................................................183
Memory Card ..........................................................................................................................................186
Access in MasterTool ........................................................................................................................188

Summary
iv
Informative Menu and of CPU’s Configuration .....................................................................................189
Function Blocks and Functions ...............................................................................................................192
Inputs and Outputs Update.................................................................................................................192
RetainTimer.......................................................................................................................................194
Non-Redundant Timer .......................................................................................................................198
User Log............................................................................................................................................200
ClearRtuDiagnostic............................................................................................................................203
ClearEventQueue...............................................................................................................................203
User Management and Access Rights .....................................................................................................204
User Management and Project’s Access Rights ..................................................................................204
UCP’s User Management and Access Rights......................................................................................211
5. INITIAL PROGRAMMING...................................................................................................................219
Memory Organization and Access ..........................................................................................................219
Project Profiles.........................................................................................................................................221
Profile for RTU..................................................................................................................................221
Custom Profile...................................................................................................................................222
New Project..............................................................................................................................................223
Adding Modules.......................................................................................................................................228
Creating POUs.........................................................................................................................................230
Creating Tasks.........................................................................................................................................232
Task Configuration............................................................................................................................233
POU –Task Connection.....................................................................................................................235
Maximum Number of Tasks...............................................................................................................235
CPU Configuration..................................................................................................................................237
Libraries...................................................................................................................................................238
Inserting a Protocol Instance...................................................................................................................239
RTU MODBUS.................................................................................................................................239
Ethernet MODBUS............................................................................................................................241
DNP3 Server .....................................................................................................................................243
Servidor IEC 60870-5-104.................................................................................................................245
Finding the Network................................................................................................................................246
Compiling a Project.................................................................................................................................248
Login ........................................................................................................................................................249
Run Mode.................................................................................................................................................251
Stop Mode................................................................................................................................................252
Monitoring, Writing and Forcing Variables...........................................................................................253
Variables Used in Several Sources ..........................................................................................................254
Logout ......................................................................................................................................................254
Simulation Mode......................................................................................................................................255
Project Upload.........................................................................................................................................256
CPU Operating States..............................................................................................................................258
Run....................................................................................................................................................258
Stop...................................................................................................................................................258
Breakpoint.........................................................................................................................................258
Exception ..........................................................................................................................................258
Reset Warm.......................................................................................................................................258
Reset Cold.........................................................................................................................................258
Reset Origin.......................................................................................................................................258
Reset Process Command (IEC 60870-5-104)......................................................................................259
6. HX3040 REDUNDANCY........................................................................................................................260
Introduction.............................................................................................................................................260
Configurations of a Redundant CPU ......................................................................................................261

Summary
v
Identification of a HX3040 CPU........................................................................................................261
General Features................................................................................................................................262
Operation Principles................................................................................................................................264
Single Redundant Project...................................................................................................................264
Redundant Project Structure...............................................................................................................264
Multiple Mapping..............................................................................................................................267
Diagnostics, Commands and User Data Structure...............................................................................268
Cyclic Synchronization Services through Redundancy Synchronism Channels...................................268
Sporadic Synchronization Services through Redundancy Synchronism Channels ...............................269
Redundant Ethernet Networks with NIC Teaming..............................................................................270
IP Change Methods............................................................................................................................271
NIC Teaming and Active IP Combined Use.......................................................................................272
Redundant CPU States.......................................................................................................................272
Commands of the Redundancy Menu of the CPU’s Display ...............................................................274
Transition between Redundancy States ..............................................................................................274
First Instants in Active State ..............................................................................................................277
Common Failures which Cause Automatic Switchovers between CPUs .............................................278
Failures Associated to Switchovers between CPUs Managed by the User...........................................278
Failure Tolerance...............................................................................................................................279
Redundancy Overhead.......................................................................................................................280
Redundant CPU Programming...............................................................................................................282
Wizard for a New Redundant Project Creation...................................................................................282
Project Configuration with CPU Redundancy.....................................................................................287
HX3040 CPU Ethernet Ports Configuration (NET 1 to NET 6) ..........................................................287
I/O Drivers Configuration..................................................................................................................288
MainTask Configurations...................................................................................................................288
ProtTask Configurations ....................................................................................................................295
GVLs with Redundant Symbolic Variables ........................................................................................296
Program POUs with Redundant Symbolic Variables ..........................................................................296
Breakpoints Use in Redundant Systems .............................................................................................296
Limitations in the Programming of a Redundant CPU........................................................................296
Getting the Redundancy State of a CPU.............................................................................................297
Non- Redundant Diagnostics Reading................................................................................................297
Programs Load in a Redundant CPU .....................................................................................................297
Initial Load of a Redundant Project....................................................................................................297
MasterTool connection with a HX3040 CPU from a Redundant CPU.................................................299
Load of Changes to a Redundant Project ............................................................................................299
Load of Changes in Offline and Online Mode ....................................................................................300
Load of Changes in Online Mode.......................................................................................................301
Offline Load of Changes with Interruption of Process Control............................................................301
Redundant RTUs Maintenance...............................................................................................................301
MasterTool Warning Messages..........................................................................................................301
Interaction with the redundancy through the HX3040 CPU graphics display ......................................302
Redundancy Diagnostics Structure.....................................................................................................302
Redundancy Event Logs ....................................................................................................................309
7. MAINTENANCE.....................................................................................................................................311
CPU Module Diagnostics.........................................................................................................................311
One Touch Diag.................................................................................................................................311
Diagnostics via LED..........................................................................................................................314
Diagnostics via WEB.........................................................................................................................314
Diagnostics via Variables...................................................................................................................319
Diagnostics via Function Blocks ........................................................................................................327
Graphic Display.................................................................................................................................328
System Log...............................................................................................................................................331

Summary
vi
I/O Modules Diagnostics..........................................................................................................................331
Not Loading the Application at Startup..................................................................................................334
Power Supply Failure ..............................................................................................................................334
Common Problems ..................................................................................................................................335
Troubleshooting.......................................................................................................................................336
Preventive Maintenance ..........................................................................................................................336
8. ELECTRIC PANEL DESIGN ................................................................................................................337
Mechanical Design...................................................................................................................................337
Dimensions........................................................................................................................................337
Depth of Rack-mounted Module........................................................................................................337
Spacing between modules and other equipment in the panel...............................................................338
Gutter Sizing .....................................................................................................................................338
Horizontal/Vertical Mounting ............................................................................................................338
Thermal Design........................................................................................................................................339
Heat dissipation in an electrical panel.................................................................................................339
Electrical Design......................................................................................................................................342
General Information...........................................................................................................................342
Cabinet Power ...................................................................................................................................342
Distribution of Cables in the Cabinet..................................................................................................342
Cabinet Lighting................................................................................................................................343
Grounding .........................................................................................................................................343
Electromagnetic interference..............................................................................................................343
Shielding ...........................................................................................................................................343
Noise suppressors ..............................................................................................................................343
Distribution of power supply out of the cabinet ..................................................................................346
Lightning protection ..........................................................................................................................346
9. GLOSSARY.............................................................................................................................................348

1. Introduction
7
1.Introduction
Hadron Xtorm Series
Hadron Xtorm Series is the state-of-the-art solution regarding the Remote Terminal Units (RTUs).
The series presents an ideal set of high performance features, ease of use, accurate and complete
diagnostics, modern and robust design, as well as several innovative features. Hadron Xtorm features
an intelligent and versatile architecture, offering modularity in inputs/outputs points (I/O),
redundancy options, high-speed communication protocols such as IEC 61850, and logic
implementation in accordance with IEC 61131- 3 standard. As a result, it is an ideal RTU for all
supervisory applications and control of generation, transmission and distribution of electricity
systems such as hydroelectric power plants (HPPs) and power substations.
Hadron Xtorm Series holds an advanced technology on its bus. Due to a high-speed Ethernet
interface it enables the sharing of inputs/outputs and data information within multiple controllers in
the same system. The system can be easily divided and distributed throughout the field, enabling the
use of expansion racks providing the same performance as local module. Therefore, all types of
modules can be used both on the local rack and on its expansions without restrictions. In order to
interconnect the rack expansions the user may use a simple Ethernet cable.
Figure 1-1. Hadron Xtorm Series –Overview

1. Introduction
8
Innovative Features
Hadron Xtorm Series brings several innovations in system usage, supervision and maintenance.
These features were developed focusing on a new concept in automation of hydroelectric power
plants, substations and other applications of this segment. The list below shows some new features
that users will find in the Hadron Xtorm Series:
Battery Free Operation: Hadron Xtorm Series does not require any kind of
battery for memory maintenance and real time clock operation. This feature is
extremely important because it reduces the system maintenance needs and
allows the use in remote locations where maintenance can be difficult to be
performed. Besides, this feature is environmentally friendly.
Multiple Block Storage: Several kinds of memories (volatile and non-volatile
memories) are available in Hadron Xtorm Series CPUs, offering the best option for
any needs. Hadron Xtorm Series CPUs offer addressable input (%I), addressable
output (%Q), data memory and symbolic variables. For applications that require
non-volatile memory functionality, Hadron Xtorm Series bring retain addressable
memory (%Q), retain data memory, symbolic variables, persistent data memory,
program memory, source code memory, CPU file system (DOC, PDF, images, data,
among others) and memory card interface.
One Touch Diag: One Touch Diag is an exclusive feature of Hadron Xtorm Series.
With this new concept, the user can check diagnostic information of any module
present in the system directly on CPU’s graphic display with one single press in the
diagnostic switch of the respective module. OTD is a powerful diagnostic tool that
can be used offline (without supervisor or programmer), reducing maintenance and
commissioning times.
OFD –On Board Full Documentation: Hadron Xtorm Series CPUs are capable of storing the
complete project documentation in its own memory. This feature can be very convenient for backup
purposes and maintenance, since the complete information is stored in a single and reliable place.
ETD –Electronic Tag on Display: Another exclusive feature that Hadron Xtorm Series presents is
the ETD. This new functionality brings the process of checking the tag names of any I/O point or
module used in the system directly to the CPU’s graphic display. Along with this information, the
user can check the description, as well. This feature is extremely useful during maintenance and
troubleshooting procedures.

1. Introduction
9
Main Features
CPUs
The CPUs have several built-in functions, online programming, high memory capacity and serial
channels. These devices have a modern 32-bit processor that delivers excellent performance as well
as the integration of various functions. The CPU has Ethernet ports for programming, used in
MODBUS, DNP3 networks and embedded web server. In addition, they provide two serial interfaces
for connecting local HMIs and MODBUS networks. The CPUs have a memory card position for
hosting web pages, application source code, and firmware update among other features.
Modules
The modules present high density I/Os. Each I/O module has a display for local diagnostics, which
shows the status of I/O each point. There are also multi-functional diagnostics on the status of the
modules. All diagnostic information can also be accessed remotely by the CPU, communication
protocols or through the MasterTool Xtorm configuration tool.
High Speed Bus
Hadron Xtorm Series architecture features a state-of-the art bus based on Ethernet 100 Mbps. The
high throughput allows the updating of large amounts of inputs in a short period of time. The
modules are automatically addressed and identified avoiding eventual errors during the application
configuration and field maintenance. The bus provides special features that allow CPU redundancy in
the same rack, among other features.
Automatic addressing and identification module
Hot swapping
Serial Bus based on Ethernet 100 Mbps
Time synchronization for I/O updating or precise time stamp
Single chip hardware solution
Hot Swapping
The hot-swap feature allows the modules replacement without the system powering off. The CPU
tracks the whole process and the modules can be replaced whenever necessary.
High Availability
Hadron Xtorm Series offers several different redundancy architectures, where CPUs, Power Supplies
and Network Interfaces can be mounted in a redundant application. Through this flexibility, the
system can be adjusted from simple systems with no redundancy to complex and critical applications
where high availability is essential.
Enhanced Diagnostics
Each module contains its own diagnostics. CPUs, Network Interfaces, Power Supplies and I/O
modules show several diagnostics. Each module has a multifunctional display to report its status. In
addition, each module offers a button on its front to provide different diagnostic information for
maintenance staff. These diagnostics can be monitored through displays or via configuration tool.
Examples:
Module placed in the wrong position in the rack
No power supply
Short circuit in the outputs
No need for configuration for modules in normal operation
Tag view and I/O descriptions of the IO
IP address view

1. Introduction
10
Capacities
In Hadron Xtorm Series, the largest rack can hold up to 18 modules. The combination between the
chosen modules must not exceed the current limit of the rack power supply. The current consumed
by each Hadron Xtorm Series module from the bus is found in the Technical Characteristics’
document. The user may check the MasterTool Xtorm “Configuration and Consumption”
functionality in order to get information about the following items: architecture assembly with the
desired modules, current consumption of each module, total current required for the selected modules
and the value provided by the power supply. With this architecture, a single CPU can control up to
512 I/O points through only one rack. The user can expand up to 16 racks (main rack + 15 expansion
racks) using the bus expansion functionality. In this case, the maximum recorded modules of all the
expansion racks cannot exceed 80 modules.
CPU Programming & Firmware Updating
Hadron Xtorm Series allows CPU programming and firmware updating via CPU's Ethernet port. This
approach offers some features such as:
Multifunctional Ethernet port used for program share, peer to peer data exchange, third-party
device protocol at the application layer, network variable data exchange, etc.
Direct access to CPU local variables
Remote access via Ethernet interface
Firmware update via Ethernet interface
Documents Related to this Manual
In order to obtain additional information regarding the Hadron Xtorm Series, other documents
(manuals and technical characteristics) besides this one, may be accessed. These documents are
available in their last versions at http://www.altus.com.br.
Each product has a document named Technical Characteristics (CE), which describes the features of
the concerned product.
It is advised the following documents as additional information source:

1. Introduction
11
Code
Description
Language
CE108804
MasterTool Xtorm Technical Characteristics
English
CT108804
Características Técnicas MasterTool Xtorm
Portuguese
CS108804
Características Técnicas MasterTool Xtorm
Spanish
CE123000
Hadron Xtorm Series Technical Characteristics
English
CT123000
Características Técnicas Série Hadron Xtorm
Portuguese
CS123000
Características Técnicas Serie Hadron Xtorm
Spanish
CE123100
CPU 6 ETH, 2 SERIALS, IRIG-B, RED Module Technical
Characteristics
English
CT123100
Características Técnicas do Módulo UCP 6 ETH, 2 SERIAIS,
IRIG-B, RED.
Portuguese
CS123100
Características Técnicas del UCP 6 ETH, 2 SERIALES, IRIG-B,
RED.
Spanish
CE123701
Hadron Xtorm Series Backplane Racks Technical Characteristics
English
CT123701
Características Técnicas dos Bastidores da Série Hadron Xtorm
Portuguese
CS123701
Características Técnicas de los Bastidores de la Serie Hadron
Xtorm
Spanish
CE123200
Redundant Power Supply 60 W Module Technical Characteristics
English
CT123200
Características Técnicas do Módulo Fonte de Alimentação
Redundante 60 W
Portuguese
CS123200
Características Técnicas del Módulo Fuente de Alimentación
Redundante 60 W
Spanish
CE123300
Módulo 32 DI 125 Vdc w/ event log Module Technical
Characteristics
English
CT123300
Características Técnicas do Módulo 32 ED 125 Vdc c/ registro de
eventos
Portuguese
CS123300
Características Técnicas del Módulo 32 ED 125 Vdc c/ registro de
eventos
Spanish
CE123400
16 SD Relay 125 Vdc w/ CBO Module Technical Characteristics
English
CT123400
Características Técnicas do Módulo 16 SD Relé 125 Vdc c/ CBO
Portuguese
CS123400
Características Técnicas del Módulo 16 SD Relé 125 Vdc c/ CBO
Spanish
CE123310
16 AI Voltage/Current Module Technical Characteristics
English
CT123310
Características Técnicas do Módulo 16 EA Tensão/Corrente
Portuguese
CS123310
Características Técnicas del Módulo 16 EA Tensión/Corriente
Spanish
CE123311
8 AI RTD Module Technical Characteristics
English
CT123311
Características Técnicas do Módulo 8 EA RTD
Portuguese
CS123311
Características Técnicas del Módulo 8 EA RTD
Spanish
CE123901
Hadron Xtorm Series Connectors Technical Characteristics
English
CT123901
Características Técnicas dos Conectores da Série Hadron Xtorm
Portuguese
CS123901
Características Técnicas de los Conectores de la Serie Hadron
Xtorm
Spanish
CE123900
Rack Connector Cover Technical Characteristics
English
CT123900
Características Técnicas da Tampa para conector de bastidor
Portuguese
CS123900
Características Técnicas de la Tapa para conector de bastidor
Spanish
MU223600
Hadron Xtorm Utilization Manual
English
MU223000
Manual de Utilização Hadron Xtorm
Portuguese
MU223300
Manual de Utilización Hadron Xtorm
Spanish
MU223601
Hadron Xtorm DNP3 Server Device Profile Document
English
MU223602
MU223603
Hadron Xtorm DNP3 Client Device Profile Document
Hadron Xtorm IEC 60870-5-104 Server Device Profile Document
English
English
MU223605
Hadron Xtorm IEC 61850 Server Device Profile Document
English
MP399609
IEC 61131 Programming Manual
English
MP399048
Manual de Programação IEC 61131
Portuguese
MP399800
Manual de Programación IEC 61131
Spanish
Table 1-1. Related Documents

1. Introduction
12
Technical Support
For Altus Technical Support, call +55 51 3589-9500 (São Leopoldo, RS, Brazil). For further
information regarding Altus Technical Support on other places, see http://www.altus.com.br or send
If the equipment is already installed, make sure to have the following information at the moment of
support requesting:
The model of the used equipment and the installed system configuration
The equipment serial number
The equipment revision and the executive software version, written on the tag fixed on the
product side
Information about the operation mode of the module, which are acquired through MasterTool
Xtorm
The application software content, which is acquired through MasterTool Xtorm programmer
Used program version
Warning Messages Used in this Manual
This manual presents some warning messages in the following formats and meanings:
DANGER:
Reports potential hazard that, if not detected, may be harmful to people, materials,
environment and production.
CAUTION:
Reports configuration, application and installation details that must be taken into
consideration to avoid any instance that may cause system failure and consequent impact.
ATTENTION:
Identifies configuration, application or installation details to achieve maximum operational
performance of the system.

2. Technical Description
13
2.Technical Description
This chapter presents all technical features from HX3040 Hadron Xtorm Series CPUs.
Panels and Connections
The figure below shows the CPU HX3040 frontal panel.
Figure 2-1. HX3040 CPU
The figure above shows the graphical display placed at the upper part of the front panel. The display
indicates the whole system’s status and diagnostics, including the specific diagnostic of each module.
The graphical display also features a friendly menu that offers the user an agile way to read or set
some parameters such as internal temperature (read only), graphic display contrast, IP address for
each network interface (read only) and local time (read only).
The Hadron Xtorm Series features a graphic display notifying the status and useful information, such
as application states (Run/Stop), miniSD card status, activity on serial interfaces (RX and TX) among
others. Additionally, the Hadron Xtorm Series CPUs provide a bi-colored LED, which informs the
status and diagnostics. For more information about diagnostic LED status, see CPU Technical
Characteristics –CE123100.
The front panel displays the connection interfaces of the Hadrom Xtorm Series CPU. Table 2-1
presents the possible interface types (Ethernet, serial, memory card interface and time
synchronization interface) within their brief description:

2. Technical Description
14
Interfaces
Models
Description
NET 1 to NET 6
HX3040
RJ45 communication connector in the 10/100Base-TX
standard. Allows point-to-point or network communication in
the open protocols, MODBUS TCP client and server,
MODBUS RTU via TCP client and server, DNP3 Client and
Server. For more information on use, see Chapter
Configuration –Ethernet Interfaces Configuration .
COM 1
HX3040
DB9 female connector type for communication in RS-232C
and RS-485 standard. Allows point-to-point or network
communication in the open portocols, MODBUS RTU slave
or MODBUS RTU master.
COM 2
HX3040
DB9 female connector type for communication in RS-422
and RS-485 standard. Allows point-to-point or network
communication in the open protocols, MODBUS RTU slave
or MODBUS RTU master.
MEMORY SLOT
HX3040
Connector for memory card. Allows to use a memory card
for different types of data storage as user logs, web pages,
project documentation and source files. For more
information on use, see Chapter Configuration –Memory
Card.
IRIG-B
HX3040
4-terminal block connector for communication in IRIG-B
standard.
Table 2-1. Connection Interfaces
General Features
Common General Features
HX3040
Programming languages
Instruction list (IL)
Structured text (ST)
Ladder diagram (LD)
Sequential function chart (SFC)
Function block diagram (FBD)
Continuous function chart (CFC)
Types of tasks
Cyclic (periodic)
Event (software interruption)
External event (hardware interruption)
Continuous (free run)
Status (software interruption)
Online changes
Yes
Hot swap support
Yes
Bus expansion redundancy support
Yes
Serial Interfaces
1 x RS-232C / RS-485 (COM 1)
1 x RS-485 / RS-422 (COM 2)
MODBUS Protocol
RTU Master and slave (COM 1 and COM 2)
TCP Client and server (NET 1 to NET 6)
RTU via TCP Client and server (NET1 to NET6)
DNP3 Protocol
TCP Client and server (NET 1 to NET 6)
EC 60870-5-104 Protocol
Server TCP (NET 1 to NET 6)
MMS Protocol
TCP Server (NET 1 to NET 6)
Protocol SNTP
Client, version V1, V2c and V3
Real time clock (RTC)
Yes
Resolution of 1 ms and maximum variance of 2 s per day
Watchdog
Yes
Status and diagnostic indication
Display, LED, web page and CPU’s internal memory.
One Touch Diag (OTD)
Yes

2. Technical Description
15
Electronic Tag on Display (ETD)
Yes
Isolation
Logic to protective earth
2500 Vac / 1 minute
Logic to Ethernet interfaces
1500 Vac / 1 minute
Logic to serial port (COM 2)
2000 Vac / 1 minute
Logic to IRIG-B port
2500 Vac / 1 minute
Ethernet interfaces to protective
earth
1500 Vac / 1 minute
Ethernet Interface to serial port
(COM 2)
2500 Vac / 1 minute
Ethernet Interface to Ethernet
Interface
1500 Vac / 1 minute
Serial Port (COM 2) to protective
earth
2500 Vac / 1 minute
Current consumption from backplane
rack
1500 mA
Dissipation
7.5 W
Operation temperature
-5 to 60 °C
Storage temperature
-25 to 85 °C
Operating and storage relative
humidity
5 to 96 %, no condensation.
Conformal coating
Yes
Protection Level
IP 20
Standards
IEC 61131-2
IEC 61131-3
IEC 61850
CE, Electromagnetic Compatibility (EMC) and Low-Voltage
Directive (LVD).
RoHS directive
Module dimensions (L x A x P)
38.0 x 235.3 x 184.2 mm
Package dimensions (L x A x P)
55.0 x 308.0 x 266.0 mm
Weight
1000 g
Weight with package
1300 g
Table 2-2. Main Features
Notes:
Types of tasks: Task is an object used to call POUs. A Task can be triggered by period, events or
can run in freewheeling mode. Each task can call one or more POUs.
Real Time Clock (RTC): The retention time, which is the time that the real time clock keeps
updating the date and time after the CPU goes off, is 15 days considering environments with
temperature of 25 °C. Up to the maximum product operation temperature, retain time is reduced to 10
days.
One Touch Diag (OTD): This option is available to the user only when the module is in operational
mode.
Isolation: Logic is the name for the internal circuits such as processors, memories and interfaces
with backplane rack.
Conformal coating: Conformal coating protects the electronic components inside the product from
humidity, dust and other harsh elements to electronic circuits.

2. Technical Description
16
Specific Features
HX3040
Addressable input variables memory (%I)
96 Kbytes
Addressable output variables memory
(%I)
96 Kbytes
Symbolic variables memory
6 Mbytes
Retain symbolic variables memory
8 Kbytes
Persistent symbolic variables memory
4 Kbytes
Redundant Variable Memory
512 Kbytes
Program memory
12 Mbytes
Source code memory (backup)
100 Mbytes
User files memory
32 Mbytes
Maximum number of tasks
32
Maximum number of expansion racks
8
Ethernet TCP/IP local interface
6
Ethernet TCP/IP interfaces redundancy
support
Yes
CPU redundancy support (same rack)
Yes
Clock synchronization (SNTP)
Yes
Table 2-3. Specific Features
Notes:
Addressable input variables memory (%I): It is the area where all the direct addressable input
variables are assigned. An addressable variable means that the variable can be accessed directly in
the memory using the desired address. For example: %IB0, %IW100. Addressable input variables
can be used for mapping analogic or digital input points. As a reference, 8 digital input points can be
represented by one byte and 1 analogic input point can be represented by two bytes.
The Hadron Xtorm Series HX3040 CPU defines all the area of addressable input variables memory
(%I) as redundant variables, which means that the user does not need to select this area.
Addressable output variables memory (%Q): It is the area where all the addressable output
variables are assigned. An addressable variable means that the variable can be accessed directly in
the memory using the desired address. For example: %QB0, %QW100. Addressable output variables
can be used for mapping analogic or digital output points. As a reference, 8 digital output points can
be represented by one byte and 1 analogic output point can be represented by two bytes.
The Hadron Xtorm Series HX3040 CPU defines all the addressable output variables memory (%Q)
as redundant variables, which means that the user does not need to select this area.
Symbolic variables memory: It is the area where the symbolic variables are assigned. Symbolic
variables are IEC variables created in POUs and GVLs during the application development, not
addressed directly in memory. Symbolic variables can be defined as retain or persistent. In this case
the retain symbolic variables memory or the persistent symbolic variables memory area will be used,
respectively. The RTU system allocates system variables in this area, so that the available space for
the allocation of variables user-created is lower than those reported in the table. The amount of
memory occupied by these system variables depends on the project characteristics (number of
modules, drivers, etc. ...), so it is recommended to observe the available space in the MasterTool
Xtorm compilation messages.
Retain symbolic variables memory: It is the area where the retain symbolic variables are assigned.
Retain data keep their respective values even after a power on/power off cycle of the CPU. The
complete list of when retain variables keep their values and when the value is lost can be found on
the table below.

2. Technical Description
17
Persistent symbolic variable memory: It is the area where the persistent symbolic variables are
assigned. Persistent data keep their respective values even after a download of a new application into
CPU.
ATTENTION:
The declaration and use of persistent variables should be performed exclusively through the
Persistent Vars object, which may be included in the project through the tree view in Application ->
Add Object -> Persistent Variables. Do not use the expression VAR PERSISTENT in the
declaration field of POUs variables.
Besides the persistent area size displayed in the table above, these 44 bytes are reserved to store
information about the persistent variables (not available for use). The table below shows the
situations in which the persistent variables maintain or lose their values, as well as the behavior of
retain persistent and symbolic variables in given situations. “-” means that the value is lost and “X”
that the value is kept.
Condition
Symbolic variable
Retain variable
Persistent variable
Reset Warm /Power on
cycle
-
X
X
Reset Cold
-
-
X
Reset Origin
-
-
-
Remove CPU or Power
Supply from Rack when
powered
-
-
-
Download
-
-
X
Online change
X
X
X
Reboot CPU
-
X
X
Clean All
-
-
X
Reset Process
(IEC 60870-5-104)
=
X
X
Table 2-4. Non-volatile Variables Behavior
As informed by MasterTool at download, the Clean All command modifies the application. If the
application is changed in a way that persistent variables had beem placed on the top of the list or had
changed their type, the value of those variables will be lost. Thus, it is recommended that any
changes to the persistent variables GVL only include adding new variables on the end of the list.
Redundant Variable Memory: Only applied to projects with CPU redundancy. It refers to the
variables that are synchronized between the redundant CPUs –addressable variables (% I and % Q)
used for I/O modules, and symbolic variables of the user program, declared in GVLs or redundant
POUs.
Program memory: It refers to the memory area that corresponds to the maximum size that can be
used to store the user application. This area is shared with the source code memory, thus the total
area is the sum of the “program memory” plus the “source code memory”.
Source code memory (backup): It is the memory area available to store a backup from the project.
In case the user decides to import the project, the MasterTool Xtorm software will search the
required information in this area. It is important to ensure that the backup project is updated to avoid
the loss of critical information. This area is shared with the program memory, thus the total area is
the sum of the “program memory” plus the “source code memory”.
User files memory: This area of the memory is designed to store files, such as doc, pdf, images, etc.,
that is, it allows data recording like a memory card.
Redundancy support (same rack): The HX3040 supports CPU redundancy when placed ate the
same rack. More information can be found in chapter 6. HX3040 Redundancy.

2. Technical Description
18
Serial Interfaces
COM 1
HX3040
Connector
DB9 shielded female
Physical interface
RS-232C or RS-485 (depending on the connected cable)
Communication direction
RS-232C: full duplex
RS-485: half duplex
Maximum number of RS-485
transceivers
32
RS-485 termination
No (allows the use of external active termination)
Modem signals
RTS, CTS, DCD
Baud rate
600, 1.200, 1.800, 2.400, 4.800, 9.600, 19.200, 38.400, 57.600,
115.200 bps
Protocols
MODBUS RTU (Master/ Slave)
Open protocol
Table 2-5. Serial Interface COM 1
COM 2
HX3040
Connector
DB9 shielded female
Physical interface
RS-422 or RS-485 (depending on the selected cable)
Communication direction
RS-422: full duplex
RS-485: half duplex
Maximum number of RS-422
transceivers
11 (1 sender and 10 receivers)
Maximum number of RS-485
transceivers
32
Termination
Yes (optional via cable selection)
Baud rate
600, 1.200, 1.800, 2.400, 4.800, 9.600, 19.200, 38.400, 57.600,
115.200 bps
Protocols
MODBUS RTU (Master/ Slave)
Open protocol
Table 2-6. Serial Interface COM 2
Notes:
Physical interface: Depending on the cable configuration, it is possible to choose the type of
physical interface: RS-232C or RS-485 to COM1, and RS-422 or RS-485 to COM2.
Maximum number of RS-422 transceivers: The maximum number of RS-422 interfaces that can
be used on the same bus.
Maximum number of RS-485 transceivers: The maximum number of RS-485 interfaces that can
be used on the same bus.

2. Technical Description
19
Ethernet Interfaces
NET 1 to NET 6
HX3040
Connector
RJ45 shielded female
Auto crossover
Yes
Maximum cable length
100 m
Cable type
UTP or ScTP, category 5
Baud rate
10/100 Mbps
Physical layer
10/100Base-TX
Data link layer
LLC (logic link control)
Network layer
IP (internet protocol)
Transport layer
TCP (transmission control protocol)
UDP (user datagram protocol)
Application layer
MODBUS TCP Client / Server
MODBUS RTU via TCP Client / Server
DNP3 Client / Server
GOOSE Protocol (sending and receiving messages)
MMS Server
HTTP (web server)
MasterTool Xtorm programming protocol (only NET 1)
SNTP (Clock synchronism)
Table 2-7. Ethernet Interface NET 1
Note:
MasterTool Xtorm Programming protocol: In cases where NET 1 is set as redundant, NET 2 can
also be used to the MasterTool Xtorm programming protocol.
IRIG-B
HX3040
Connector type
Removable terminal connector with 4 terminals (HX9405)
Maximum cable length
5 m
Wire gauge
0.5 mm²
Input and output level
TTL
Input impedance
> 100 kΩ
Delay between input and output
< 10 ns
Maximum output current
10 mA
Maximum output load
500 Ω
Protection against short circuit
Yes
Voltage levels
0 to 1.5 Vdc to logic level 0
3.5 to 5 Vdc to logic level 1
Table 2-8. IRIG-B Interface
Note:
Maximum output load: The resulting total load of all devices connected to the output should not
exceed this value. There is no maximum predefined limit of devices. The value should be calculated
regarding the minimum input impedance of each device connected to the IRIG-B Xtorm output.
Table of contents