This document is protected by the law of copyright, whereby all rights established therein remain with the
company SICK AG. Reproduction of this document or parts of this document is only permissible within the limits
of the legal determination of Copyright Law. Alteration or abridgement of the document is not permitted without
the explicit written approval of the company SICK AG.
lease read this chapter carefully before working with these operating instructions and the
P
Flexi Classic gateways.
1.1 Function of this document
These operating instructions only apply in conjunction with the “Flexi Classic Modular Safety Controller” operating instructions and provide the technical personnel at the machine
manufacturer or machine operating organisation information on safe mounting, adjustment, electrical installation, commissioning as well as on operation and maintenance of
the Flexi Classic gateways.
These operating instructions do not provide information on the operation of the machine in
which a Flexi Classic safety controller with Flexi Classic gateways is integrated. Information
on this is to be found in the appropriate operating instructions for the machine.
1.2 Target group
WARNING
These operating instructions are addressed to planning engineers, machine designers and
the operators of systems in which a Flexi Classic modular safety controller is integrated
and who want to transmit data to a fieldbus (a controller) via a gateway.
They are also addressed to people who are placing a Flexi Classic gateway in operation for
the first time or maintaining it.
1.3 Information depth
These operating instructions contain information on Flexi Classic gateways on the following
subjects:
mounting
status information on fieldbus, planning and related mapping
part numbers
Warning!
Pay attention to the safety notes and safety measures on the Flexi Classic safety controller!
We also refer you to our homepage on the Internet at
http://www.ue410flexi.com
There you will find the following files for download:
EDS file
GSD file
flexi_config_list.xls (system requirements Excel 2000 or higher)
hese operating instructions are original operating instructions.
T
hese operating instructions apply to all Flexi Classic gateway modules (UE410FPR03,
Note
T
FPR04, FCAN3, FCAN4, FDEV3, FDEV4, -EN1, -EN3, -EN4). In addition, follow the related
concise operating instructions (see type label entry on the modules).
1.5 Symbols used
Refer to notes for special features of the device.
Warning!
WARNING
A warning notice indicates an actual or potential risk or health hazard. They are designed
to help you to prevent accidents.
This chapter deals with your own safety and the safety of the equipment operators.
Please read this chapter carefully before working with a Flexi Classic gateway.
2.1 Qualified safety personnel
The Flexi Classic gateway must only be installed, commissioned and serviced by qualified
safety personnel.
Qualified safety personnel are defined as persons who …
have undergone the appropriate technical training
and
have been instructed by the responsible machine operator in the operation of the
machine and the current valid safety guidelines
and
have access to the operating instructions “Flexi Classic Gateways” and “Flexi Classic
Modular Safety Controller” and have read and familiarised themselves with them.
WARNING
WARNING
2.2 Correct use
The Flexi Classic gateways can only be operated with a Flexi Classic system.
The Flexi Classic gateways are not suitable for operation on a safety fieldbus!
These gateways only generate non-safety-related fieldbus data (status bytes) for control
and diagnostics purposes.
These modules may only be used by qualified personnel and only on the machine where
they have been installed and initialised by qualified personnel in accordance with the
operating instructions.
Pay attention to the safety notes and safety measures on the Flexi Classic safety
controller!
If the device is used for any other purposes or modified in any way — also during mounting
and installation — any warranty claim against SICK AG shall become void.
During the mounting, installation and usage of the Flexi Classic safety controller, ob-
serve the standards and directives applicable in your country.
The national/international rules and regulations apply to the installation, commissioning,
use and periodic technical inspection of the Flexi Classic safety controller, in
particular …
The operating instructions must be made available to the operator of the machine
where a Flexi Classic safety controller is used. The machine operator is to be instructed
in the use of the device by specialist personnel and must be instructed to read the operating instructions.
The Flexi Classic system complies, as per the “radiated emissions” generic standard, with
the requirements of class A (industrial applications). the Flexi Classic system is therefore
only suitable for use in an industrial environment.
2.3 Environmental protection
The Flexi Classic gateways are designed for minimum impact on the environment, they
consume only a minimum of energy and resources.
At work, always act in an environmentally responsible manner.
2.3.1 Disposal
Unusable or irreparable devices should always be disposed as per the applicable national
regulations on waste disposal (e.g. European waste code 16 02 14).
We would be pleased to be of assistance to you on the disposal of these devices. Contact
us.
by components
WARNING
2.3.2 Separation of materials
Only qualified safety personnel are allowed to separate materials!
Caution is required when dismantling devices. There is a risk of injuries.
Before you send the devices for appropriate recycling, it is necessary to separate the different materials in the Flexi Classic gateways.
Separate the housing from the rest of the parts (in particular the circuit board).
Send the separated parts for recycling as appropriate (see Tab. 1).
he Flexi Classic gateways generate non-safety-related fieldbus data (status bytes) for con-
T
trol and diagnostics purposes. These status bytes contain the input and output states as
well as fault and status information. The nature and scope of the diagnostic data are de-
ined during planning and for the mapping.
f
n addition, you can save status bytes and diagnostic data on a PC with the aid of the PRO-
I
FIBUS-DP Master Simulator and the file flexi_config_list.xls, and document the settings for
the entire system (see section 4.2.2 “Documenting with PROFIBUS-DP Master Simulator”.
A Flexi Classic gateway has four short circuit-proof application diagnostic outputs for controlling non-safety functions. It is not allowed to connect any safety-related loads or inputs
of the Flexi Classic system with a safety function to these four application diagnostic outputs.
The operation of the safety-related functions of the Flexi Classic system is not affected by
the bus coupling. There is no information flow from external fieldbus systems over the
gateway to the safety system.
The modules are not suitable for operation on a safety fieldbus. They do not monitor the
functionality of the fieldbus or the digital application diagnostic outputs (X1-X4).
A Flexi Classic gateway can only be operated on a Flexi Classic system. It does not have a
dedicated voltage supply. It is only possible to use one Flexi Classic gateway per system.
The gateways are fitted in a 22.5 mm wide housing for 35-mm rails in accordance with
EN 50022. The devices have a removable screw terminal for each of the control outputs.
3.1 System information transmitted by the modules
system configuration
– input states on all Flexi Classic modules
– state of all safety outputs (Q1-Q4 or O
– control circuit configuration for all Flexi Classic modules
– settings for all program and function switches on the Flexi Classic modules
error and status information on all Flexi Classic modules
– erroneous system configuration, feedback circuits
– exceeding the synchronous monitoring time (closing a safety door)
– process error on dual-channel applications (e.g. on opening/closing a safety door)
– cross circuit on the inputs
– cross-circuit on the safety outputs, internal error (error classes)
High byte/low byte for the 16-bit checksum on the system configuration.
The system configuration contains all function settings, the configuration jumpers, the
number and order of the Flexi Classic modules inserted, the software versions etc. CRC1
and CRC2 together form the 16-bit checksum.
Bit 7 654321Bit 0
CRC1 (High byte)
CRC2 (Low byte)
Note
We recommend you to make a note of the slot list CRC and keep this information in the
control cabinet.
Status byte for the assignment of the 10 bytes B1-B10.
The RSP-ID is used to confirm that the required contents have been provided by the gateway in B1-B10. When the RSP-ID has the same value as the REQ-ID, the data transfer is
complete.
As PLC cycles, fieldbus cycles and diagnostics cycles are generally not synchronised, on a
change in the REQ-ID the PLC should always wait for the RSP-ID prior to the evaluation of
the bytes B1-B10.
15
Chapter 3Operating Instructions
Tab.10:B1-
B10
Tab.11:B1-
B10
Tab.12:
MED
Flexi Classic gateways
Flexi Classic Gateways
3.2.9 B1-B10 (REQ-ID 1-13/2133)
The following assignment of configuration data to B1-B10 applies for the REQ-IDs 21-33:
(REQ0ID 21033)
B1 MED MOD-ID
B2 MQD SW-VERSION_H
B3 MKD1 SW-VERSION_L
B4 MKD2 FUNCTION
B5 MFD KONF
B6 MFCLASS1 CRC_H CODE
B7 MFCODE1 CRC_L CODE
B8 MFCLASS2 –
B9 MFCODE2 –
B10 RSP-ID RSP-ID
REQ-ID 1-13 REQ-ID 21-33
3.2.10 B1-B10 (REQ-ID 255)
Control byte for PROFIBUS communication
For the REQ-ID 255 the following assignment of configuration data to B1-B10 applies:
(REQ0ID 255)
B1 DIAG-VERSION_H
B2 DIAG-VERSION_L
B3 BUS ADDR Contains the fieldbus address currently set
Module status and output data (output states/module output data)
Bit 7 654321Bit 0
UE410-MU
BYP MUTEStRq BStRq AQ4 Q3 Q2 Q1
UE410-XU
UE410-GU O
P
UE410-8DI --––Q
UE410-MM
OVR MUTEOVReqStRq Q4 Q3 Q2 Q1
O
StRq
N
local
StRq
global
Q2 Q2 Q1 Q1
B
–Q
A
–
UE410-XM
UE410-MDI ––––S4 OVR CS C1
With the UE410-MU/XU, the functions StRq A and MUTE are output on Q3 in program 3.
For this reason you would be better using the status bits 4 and 7 for the output of these
states.
Q1-Q4 Output states UE410-MU/
UE410FGU/UE410-XU/UE410-MM/
UE410-XM
QA, Q
B
Module output data UE410-8DI
QA/ QBare set if:
• all inputs on the function group (A or B) are in the valid ON state
• the OR function is valid
• the bypass function is valid
0 = Output is inactive
1 = Output is active
0 = Output is inactive
1 = Output is active
S4, OVR, CS, C1
Module output data UE410-MDI 0 = Output is inactive
1 = Output is active
Module output data are the same as module input data.
See module input data (input states)
OVR Req
(only UE410@MM/XM)
Override request, waiting for
override
0 = Not currently waiting
1 = The System is in the Override
required state and is expecting the
actuation of the restart button
StRq A,
StRq B
Reset request, waiting for reset
input group A/B
0 = Not currently waiting
1 = Waiting for a reset signal; is
deleted, once the reset has been
made
StRq Reset request, waiting for reset 0 = Not currently waiting
Module error data: (external errors on all Flexi Classic modules)
(not UE410-GU)
Bit 7 654321Bit 0
UE410-MU
UE410-XU
UE410-8DI I7/I8 I5/I6 I3/I4 I1/I2
UE410-MM
UE410-XM
UE410-MDI I7/I8 I5/I6 I3/I4 I1/I2
S1 S1 (feedback circuit)
S2 S2 (feedback circuit)
S3 S3 (feedback circuit)
I1/2 Error code input pair I1/I2
I3/4 Error code input pair I3/I4
I5/6 Error code input pair I5/I6
I7/8 Error code input pair I7/I8
S3 S2 S1 -I3/I4 I1/I2
–M3/4 M1/2 I1/2
0 = No error in the feedback circuit
1 = Feedback circuit open
00 = No error
01 = Time error
10 = Process error
11 = Cross circuit error
3.2.16 MFCLASS1-MFCODE2
The bytes MFCLASS1 and MFCLASS2 contain the error class, the bytes MFCODE1 and
MFCODE2 the error codes on a system error that has occurred in processing channel 1 or
2. MFCLASS and MFCODE together provide a 16-bit error code that describes the error
category and reason for the error, and the processing channel affected.
Error code:
XX - MFCLASS1 or MFCLASS2 (hex)
ZZ - MFCODE1 or MFCODE2 (hex)
Bit 7 654321Bit 0
MFCLASS1 - ErrClass VK1
ErrClass VK1 contains the error class for a system error that has occurred in processing
channel 1.
Bit 7 654321Bit 0
MFCLASS2 - ErrClass VK2
ErrClass VK2 contains the error class for a system error that has occurred in processing
channel 2. Codes for ErrClass VK1 and ErrClass VK2:
01h= Flex bus error
02h= Resource error
03h= Program memory error
04h= Self diagnostics error
05h= Internal input test error
06h= External input test error
07h= Output test error
08h= Voltage monitoring error
09h= Configuration and diagnostics error
0Ah= Logical error
ErrCode VK1 contains the error code for a system error that has occurred in processing
channel 1. Together with MFCLASS1 a 16-bit error code is produced: MFCLASS1 contains
a code for the error category and MFCODE1 contains the detail code that describes the
reason for the error.
Bit 7 654321Bit 0
MFCODE2 - ErrCode VK2
ErrCode VK2 contains the error class for a system error that has occurred in processing
channel 2. Together with MFCLASS2 a 16-bit error code is produced: MFCLASS2 contains
a code for the error category and MFCODE2 contains the detail code that describes the
reason for the error.
ErrCode for ErrClass 01h:
06 Unknown SDO type (read, write)
07 Error on the reception of the data frame, parity, noise, etc.
High byte/low byte for the software version for the selected Flexi Classic module.
The software version is supplied as a 16-bit-hex number, e.g. 0624 = 2006, week 24.
SW-VERSION_L
Bit 7 654321Bit 0
SW-VERSION H
SW-VERSION L
3.2.19 FUNCTION
FUNCTION describes the setting of the rotary switch on the selected Flexi Classic module
(not UE410-GU). This byte is to be interpreted differently depending on the module type,
e.g. as program switch, switch for off delay or function switch.
Configuration setting for the selected Flexi Classic module (not UE410-GU). On a UE4108DI and UE410-MDI this byte is set to zero, as apart from the input circuit functions there
re no other configuration options.
a
Bit 7654321Bit 0
UE410-MU
UE410-XU
UE410-MM
UE410-XM
UE410-8DI
UE410-MDI
TTime variant UE410-MU. UE410-
S1 Configuration jumper on S1
S2 Configuration jumper on S2
S3 Configuration jumper on S3
TS3 S2 S1
–––S1
–
11 = Factor 1 s
MU are supplied in three time
variants. The time variant defines
the reactivation delay.
10 = Factor 10 s
01 = Factor 1 min
00 = Open
01 = Connected to X1
10 = Connected to X2
11 = Connected to +U
B
3.2.21 CRC_H CODE and CRC_L CODE
High byte/low byte for the 16-bit checksum via the code area on the selected Flexi Classic
module.
CRC_L CODE
and DIAG-VERSION_L
status (only UE410-EN3)
Bit 7 654321Bit 0
CRC_H CODE
CRC_L CODE
3.2.22 DIAG-VERSION_H and DIAG-VERSION_L
High byte/low byte for the software version on the selected UE410-PRO/UE410-DEV.
The software version is supplied as a 16-bit-hex number, e.g. 0624 = 2006, week 24.
The following Flexi Classic gateways can be used for PROFIBUS DP:
• UE410-Pro3, UE410-Pro4
4.1Interfaces and operation
4.1.1Controls and status indicators
indicators UE410-PRO
UE410-PRO
UE410-PRO
Notes
DisplayMeaning
PWR (green)Supply volt ag e present
BF (red)
DIA (red)No function (not used)
Switch/buttonFunction
× 10
× 1
No bus connection, fieldbus cable break or master is not (or no
longer) writing to the bus
Address switch 1
10-position rotary switch for setting the module address
(tens)
Address switch 2
10-position rotary switch for setting the module address
(units)
• The occurrence of random or systematic errors in the gateway or in its o peration does
not result in the degradation of the safety functions on t he Flexi Classic system.
• With the operating voltage switched on, no gateways are allowed to be disconnected
from the Flexi Classic system or added by plugging in.
• The PROFIBUS master cannot overwrite the address set.
• A modified address setting only becomes effective after switching off and switching on
X1-X4 Short circuit and overload detecting control outputs (PNP) supplied via Flexi
Classic system
4.1.3 Plug assignment
The connection to the PROFIBUS-DP fieldbus is made using a 9-pin Sub-D socket.
Pin Description
1SHLD
2NC
3RxD/TxD-P
4CNTR-P
5GND-EXT
6+5V-EXT
7NC
8RxD/TxD-N
9CNTR-N (GND-EXT)
4.1.4 Bus cable
cable UE410-PRO
The bus topology for PROFIBUS-DP is a linear structure comprising a screened, twisted
2Fcore cable with active bus termination at both ends. The possible bus lengths are 100 m
at 12 MBit/s up to 1,200 m at 94 KBit/s.
In the normal case the UE410-PRO is used on a DP master that looks up the device
characteristics in the so-called GSD file.
You will find the GSD file for PLC interfacing with Profibus support in the Internet at
www.ue410flexi.com.
The UE410-PRO provides at least 4 bytes of input data and 4 bytes of output data (2 bytes
of which are unused). The GSD identifier for this I/O module SCB1 Basic1 4 Byte in/out is
33h. If the DP master is configured with the aid of a GSD file, it is imperative this module is
included in the planning.
The UE410-PRO can provide further I/O modules as an option if included in the DP master
during the planning by the user. For more detailed diagnostics, the I/O module SCB2
Basic2 2 Byte in with the GSD identifier 11h is available.
A further optional I/O module is DIAG 10 Byte in with the GSD identifier 19h. Up to 4 units
of this module can be included in the planning.
There are therefore six possible ways of planning the UE410-PRO. Shown is the order of
the GSD identifiers for each plan:
Contains the input signals for all Flexi
Classic modules fitted
E.g. MED7 contains the input data
for module 7
ID: 33h (mandatory)
ID: 11h (optional)
ID: 19h (optional)
ID: 1Ch (optional)
Data direction
Read Write
CRC1 DIG-OUT
CRC2 REQ-ID
BAS1 Reserved
BAS2 Reserved
BAS3 – SCB2 Basic2 2 Byte in
BAS4 –
B1 –
B2 –
::
B10 –
MED1 –
MED2 –
::
MED13 –
See also section 3.2 “Status information of all Flexi Classic gateways (system bytes)”.
If a DP master is used that does not send any planning data to the UE410-PRO (e.g.
PROFIBUS Master Simulator PR-MSV01 (6022458) from SICK in the “Start without GSD
file” mode), the UE410-PRO supplies the diagnostic data as for plan 5 (see Tab. 34 on
page 30).
4.2.2 Documenting with PROFIBUS-DP Master Simulator
You can save diagnostics data on a PC with the aid of the PROFIBUS-DP Master Simulator
(see section 11.7 “Accessories/spare parts”) and the file flexi_config_list.xls.
For this purpose, connect a data cable between PC, PROFIBUS-DP Master Simulator and
UE410-PRO (RS-232-D-Sub). Install the file “flexi_config_list.xls” on your PC, Excel 2000 or
later must be installed on the PC.
You can then save and document the diagnostics data and settings for the overall system
with the aid of your PC.
We also refer you to our homepage on the Internet at
http://www.ue410flexi.com
There you will find the following files for download:
GSD file
flexi_config_list.xls
4.2.3 Diagnostics data UE410-PRO
You will find the description of the status bytes in the section “Status information of all
Flexi Classic gateways (system bytes)”.
The connection to the CANopen fieldbus is made using a 5-pin open style connector.
and pin assignment
UE4100CAN
PinDescription
5V+ CAN_V+ Voltage supply
4H CAN_H CAN High
3DR (CAN_SHILD) Screen connection
(optional)
2L CAN_L CAN Low
1V– CAN_GND Ground/0V
5.1.4 Bus cable
Note
CANopen is based on a linear topology with screened, twisted pair 2-core cable and terminating resistors at both ends of the bus. The screen is connected to ground at both ends.
The transmission rate, depending on the network length, is between 10 kBit/s (>1000 m)
and 1 MBit/s (25 m).
Node
resistance
It is not necessary to connect a voltage supply (pin 1/5) to the UE410-CAN.
The device characteristics are described using the Electronic Data Sheet (EDS), which
every standard bus configuration tool uses.
5.2.2 PCS
With so-called PDO linking (the arbitrary assignment of CAN identifiers to the individual
ProcessDataObjects), CANopen makes it possible to setup multi-master networks.
However, if the CANopen devices are to be controlled from a central instance, the CAN
identifiers to be used can be restricted to a pre-defined set, the Predefined Connection Set
PCS. Then the CAN controller only accepts CAN messages addressed to the related device.
A CANopen device (e.g. the UE410-CAN Gateway) makes its inputs and outputs available
as “communication objects” that can be addressed or sent using the PCS identifiers.
The PCS operating mode provides two crucial advantages:
The CANopen-PCS protocol can be implemented on a controller or a PC without major
effort. Planning is significantly simplified, as within the PCS all CAN identifiers are
unique in relation to the node address. As a result, time and costs for setting up simple
networks are reduced.
Due to the PCS addressing, the UE410-CAN is insensitive particularly to high bus loads
and ensures vary fast I/O communication. With synchronous communication, response
times of approx. 300 Vs are achieved. All four reply PDOs are sent in a period < 1 ms
after receipt of a Sync (baud rate = 1000 KBit/s).
The PCS comprises 2 broadcast objects SYNC and NMT and a total of 12 peer-to-peer
objects. Each of these objects has a unique 11-bit CAN identifier that comprises a function
code and a device address. The device address for the broadcast objects is 0, for the other
objects 1…127.
tics data
5.2.3 Format of diagnostics data
Object CAN identifier
NMT 00h Network management
SYNC 80h Sync message
EMERGENCY 081h..0FFh Status message
TxPDO1 181h..1FFh
RxPDO1 201h..27Fh Process data object 1 (see following page)
TxPDO2 281h..2FFh Process data object 2 (see following page)
RxPDO2 301h..37Fh Process data object 2 (see following page)
TxPDO3 381h..3FFh Process data object 3 (see following page)
RxPDO3 401h..47Fh Process data object 3 (see following page)
TxPDO4 481h..4FFh Process data object 4 (see following page)
RxPDO4 501h..57Fh Process data object 4 (see following page)
TxSDO 581h..5FFh Sending service data
RxSDO 601h..67Fh Receiving service data
NMT-ErrorControl 701h..77Fh Node-guarding
Meaning
Process data object 1 (see following page)
(from the viewpoint of the CANopen server: Tx=Transmit, Rx=Receive)
The NMT objects are used to start, stop or initialise CANopen devices. For this purpose a
device in the CANopen network must take over the role of the NMT master. All devices are
regarded as NMT slaves. NMT services are broadcast services, i.e. the slaves do not generate a reply.
For an NMT slave with address N:
CAN-ID DLC DATA
00h 2OP N
For all NMT slaves:
CAN-ID DLC DATA
00h 2OP 0
OP NMT Operation 80h = Change to “Pre-Operational”
01h = Change to “Operational”
02h = Change to “Prepare/Stopped”
81h = Change to “Reset Node”
82h = Change to “Reset Communication”
5.2.10 Pre-Operational
After booting an NMT slave automatically enters the “Pre-Operational” state. In this state,
communication is allowed with the SDO, but not with the PDO. The NMT slave can be
changed from another state to this state.
5.2.11 Operational
The “Operational” state is reached from the “Pre-Operational” state. In this state communication via PDO is possible and the CANopen slave reacts to SYNC.
Note
TPDOs with the transmission mode 255 are sent once on the transition to the NMT status
“Operational”, so that the NMT master is informed of the current input configuration.
5.2.12 Prepared/Stopped
In this state, communication is not possible with SDO or PDO, there is also no reaction to
SYNC.
5.2.13 Reset node
This NMT service triggers a re-initialisation of the CANopen functionality in the NMT slave.
This NMT service triggers a re-initialisation of the CANopen functionality in the NMT slave;
the toggle bit for the node guarding is set to 0.
5.2.15 SYNC
The Sync object causes all TxPDOs for a CANopen slave to be sent. It is therefore possible
to poll the inputs on the slave using Sync.
SYNC
CAN-ID DLC DATA
80h 0
The slave sends all input values when this message arrives. All TxPDOs are sent. Also the
unused TxPDO1 to TxPDO4 are sent with the length 0 (DLC=0).
To ensure the slave automatically sends the actual input values on the receipt of a Sync,
the transmission type for the related PDOs must be set to 0 (acyclic, synchronous). This is
the default. In addition, the operating mode must be set to “Operational”.
For the TxPDO it is possible to change the transmission type using the SDOs 1800..1803
(PDO communication parameter) and the sub-object 2. Allowed are the types:
acyclic/synchronous = 0
cyclic/synchronous = 1..240
acyclic by device profile = 255 (only for TPDO1-4, digital inputs)
master:
slave:
Transmission Request
5.2.16 Node-guarding
An NMT master (e.g. a PLC with integrated CANopen master) uses the object NMT-ErrorControl to detect the failure of an NMT slave with the address N. The NMT slave replies
within the node guarding time to the request from the NMT master. The node guarding
time must be monitored by the NMT master.
Request from NMT master:
CAN-ID RTR DLC DATA
700h + N10
Response from slave:
CAN-ID DLC DATA
700h + N0BYTE1
The NMT master sends a CAN message with the identifier <700h + node-id> and RTR bit
set (Remote Transmission Request). The slave then sends a status byte B1 with the
following contents:
Bit Meaning
7Toggle bit, changes value between two sequential requests
A CANopen slave with the address N sends an Emergency message to inform the other
devices about an error state.
Tab. 51: Emergency
messages
CAN-ID DLC DATA
80h + N8ErrL ErrL Err-Reg
ErrL, ErrH Emergency error code,
16 bit low byte/high
byte
Err-Reg Error register,
CANopen object 1001h
8111h =
1001h =
CAN-Controller overrun (only if internal
64-byte hardware fifo overflows)
Generic error, if an error has occurred
on the Flexi Classic. In this case the
error list in object 1003h should be
checked.
5.2.18 SDO communication
SDOs are Service Data Objects. They contain a wide variety of data. These include, among
other items, data on the planning or input and output data. Unlike the PDO communication,
each reception of an SDO is answered at protocol level.
In this CANopen-PCS implementation the following protocols are supported:
SDO Download expedited (writing an SDO)
SDO Upload expedited (reading an SDO)
Upload SDO Segment Protocol (segmented reading of an SDO)
5.2.19 SDO Download expedited (Write SDO)
The client sends Request message to server N. The index and the sub-index for the SDO to
be written are coded in this message. In addition, the request also contains 4 data bytes.
The client requests the contents of an SDO with a Request message to server N. The index
and sub-index for the SDO to be read are coded in this message.
Every CANopen device manages its SDOs in an object list. The complete object list is formally described in an EDS file. Many CANopen tools can read this EDS file and as a result
know the object characteristics of the CANopen device.
In the following, all objects for the UE410-CAN Gateway are shown combined into groups.
The configuration data described in the data index are combined here to a data structure.
The complete configuration information for each module fitted is available at any time
ithout request via the REQ-ID.
w
The SDO 3201 contains the configuration data for module 1 (e.g. UE410-MU). The SDO
3202 contains the data for the 2nd module etc. up to the SDO 320D, which contains the
data for the 13th module. There are only as many modules in the object list for the diagnostics module as there are modules fitted. If less than 13 modules are fitted, the related
SDOs do not exist.
The individual bytes written to the data index are partially combined in the SDO 320x to
words/double words (Little Endian mode).
On writing to the REQ-ID (SDO 6200,2), the reply data are made available in B1..B10, as
described in the data index. The SDO 6200,1 contains the 4 digital outputs X1..X4.
flexi
5.2.24 Module list objects
The module list objects are templates for the dynamic expansion of the SDO 1027. This
SDO contains a list of the module identifiers for the modules fitted.
UE410-MU/MM...
UE410-MU/MM...
UE410-XU/XM...
UE410-XU/XM...
UE410-8DI/MDI
UE410-8DI/MDI
Example of a module list:
UE410-MU/MM...
UE410-XU/XM...
The module structure is 1x UE410-MU/MM + 1x UE410-XU/XM. A diagnostics device
would first read in 1027,0. The result (=2) is used to read exactly 2 further SDOs from
which then the module identifier and the arrangement of the modules is to be found.
The communication characteristics and the default mappings for the RPDO1 and the
TPDO1+4 are described in these SDOs. You will find more detailed information on these
DOs in DS301 V4.02.
S
Variable mapping is not supported. For this reason the mapping SDOs are read-only. The
static mapping for TxPDO1, TxPDO4 and RxPDO1 is described in the SDOs 1600, 1A00
and 1A03.
This SDO contains a list of the ERRORs that have occurred in the Flexi Classic system. The
list has 13 entries. The number of entries corresponds to the maximum number of Flexi
lassic modules in the system.
C
list object
Each entry contains a 4-byte error code for VK1 and VK2 for a module. The most significant 2 bytes contain the error code for VK1 (see MFCODE1). The least significant 2 bytes
contain the error code for VK2 (see MFCODE2).
The diagnostics data written to the data index are combined here to form a data structure.
The complete status information for each module fitted is available at any time without
equest via the REQ-ID.
r
The SDO 3100 combines the diagnostics data CRC1, CRC2, BAS1..BAS4. The SDO 3101
contains the status data for module 1 (main unit). The SDO 3102 contains the data for the
2nd module etc. up to SDO 310D, which contains the data for the 13th module. There are
only as many modules in the object list for the diagnostics module as there are modules
fitted. If less than 13 modules are fitted, the related SDOs do not exist.
The individual bytes written to the data index are partially combined in the SDO 310x to
word/double word (Little Endian mode):
MS (green) UE410-DEV is ready and the PLC is in the Run mode.
MS (red flashing) The internal EEPROM has an error.
Display Meaning
X 10 Address switch 1 (possible bus addresses 0-63)
X 1Address switch 2 (possible bus addresses 0-63)
“DUP MAC Check” not completed successfully.
UE410-DEV operating on the bus, but has not yet been detected by a
master or no logical connection has been established to the UE410DEV.
UE410-DEV has been detected by a master and a logical connection
has been established to the UE410-DEV.
During “DUP MAC Check”, UE410-DEV has found a different device
with the same MAC ID.
The fieldbus connection has been interrupted. The remote PLC is in
the stop mode. The master is currently attempting to establish the
connection to the UE410-DEV. The planned I/O size in the scan list is
incorrect (Error 77 on the scanner).
10-position rotary switch for setting the module address (tens)
10-position rotary switch for setting the module address (units)
diagnostic outputs
Notes
DIP switch 4-pole DIP switch for setting the baud rate
DIP 3 and 4 are not used.
If a larger address is selected, address 63 is active.
The occurrence of random or systematic errors in the gateway or in its operation does
not result in the degradation of the safety functions on the Flexi Classic system.
With the operating voltage switched on, no gateways are allowed to be disconnected
from the Flexi Classic system or added by plugging in.
The DeviceNet master cannot overwrite the address set.
A modified address setting only becomes effective after switching off and switching on
the Flexi Classic system.
6.1.3 Application diagnostic outputs UE410-DEV
Assignment Description
X1-X4 Short circuit and overload detecting control outputs (PNP) supplied via Flexi
The connection to the DeviceNet fieldbus is made using a 5-pole open style connector.
and pin assignment UE410DEV
PinDescription
5
V+ +24VDCVoltage supply
4
H DeviceNetDeviceNet High
3
SHLID Screen connection (optional)
2
L DeviceNetDeviceNet Low
1
V– 0VDCGND/0V
6.1.5 Bus cable
The bus topology of the DeviceNet is linear, the connection of the up to 64 nodes is made
using an un-branched bus cable (trunk line) with terminating resistor at both ends and
short stubs (drop lines). A screened, twisted-pair 2-core cable is used. The cable length
depends on the data transmission rate used and is from 100 m at 500 KBit/s to 500 m at
125 KBit/s.
he following Flexi Classic gateway can be used for Modbus/TCP: UE410-EN3
T
7.1 Interfaces and operation
The UE410-EN is equipped with four digital control outputs X1–X4.
The UE410-EN is equipped with an integrated 3-port switch for connection with the Ethernet network. Two RJ45 sockets are available for the connection. The switch functionality
allows the UE410-EN to be used for connection to another Ethernet component (e.g. connection to a notebook) without having to interrupt the Ethernet connection to the network.
To assign a suitable IP address within the network to the UE410-EN, click Configure
Network. The following web page is displayed:
The UE410-EN network address can be obtained automatically or configured manually.
For automatic assignment of the network address, choose Use DHCP.
Note
A DHCP server must be active in the network so that these functions can be used. A new IP
address will be assigned to the UE410-EN when the DHCP server or the UE410-EN is
restarted. When the UE410-EN is operated in slave mode (see section “Configuration …”
below) and the IP address changes due to a restart, the PLC can no longer communicate
with the UE410-EN. If you use the Use DHCP function in combination with the slave mode
of the UE410-EN, we recommend that you reserve a specific IP address for the UE410-EN
(manual assignment on the basis of the MAC address of the UE410-EN).
In order to set the network address manually, choose Use static configuration below
and enter a valid free IP address, the subnet mask and the IP address of the network
gateway.
Finalise changes by clicking Save.
The new network address is saved in the UE410-EN flash memory, but will only become
effective after the gateway has been restarted. In order to restart the gateway, …
either click the Reboot button on the homepage of the UE410-EN main page
or interrupt the power supply of the Flexi Classic system and switch on again.
Call up the new address of the UE410-EN in order to configure the UE410-EN in the web
browser further.
Note
If a DHCP server is used to assign an IP address, the new address is unknown to the
system administrator. It can be read out in the administration pages of the DHCP server.
Alternatively the software tool Flexi Classic IP-Link can be used. This scans the network for
Flexi Classic modules and registers their IP addresses.
7.3 Configuration of the interface to the PLC — how the
data are transferred
The configuration steps in this section specify how the data on the higher-level PLC are
ransferred. Different operating modes can be selected to this purpose. The number of
t
possible connections to the PLC depends on whether the UE410-EN3 is operated as a
master or slave. Depending on the setting, up to 32 PLCs can address the UE410-EN3 at
the same time.
connections
Operating mode of the UE410-EN3 Maximum connections
Rx (To PLC) Transfer Mode: Master
Tx (From PLC) Transfer Mode: Master
Rx (To PLC) Transfer Mode: Master
Tx (From PLC) Transfer Mode: Slave
Rx (To PLC) Transfer Mode: Slave
Tx (From PLC) Transfer Mode: Master
Rx (To PLC) Transfer Mode: Slave
Tx (From PLC) Transfer Mode: Slave
Rx and Tx: 1
Rx: 1
Tx: 31
Rx: 31
Tx: 1
Rx and Tx: 32
Open a web browser on a PC in the network and go to the address of the UE410-EN3.
Click PLC Interface Configuration on the UE410-EN3 homepage. The following web
Settings for the operating mode Master (Poll the PLC):
Factory
setting
5000 Specifies the Heartbeat Update Interval in milliseconds with
DeactivatedSpecifies whether the UE410-EN3 is to update the data in the
1Specifies the start address of the PLC memory area to which
Description See
which the data are updated in the PLC.
Standard = 5000 msec., Minimum = 10 msec., Maximum =
65535 msec.
Note: If the Maximum PLC Update Rate is larger than the Heart-
beat Update Rate, the Heartbeat Update Rate is increased
(slowed down) to this value.
PLC immediately when changes occur in the data sets. If not
activated, the update is carried out with the next Heartbeat
Interval.
Note: Either this option or Enable Heartbeat Message must be
activated, otherwise no data will be transferred!
the data sets are to be sent. The start address is entered in
decimal form. The memory areas must be large enough to
accept the respective data sets. The memory areas are not
allowed to overlap. Data sets 1-5 have a fixed length, Data set
6 can have a variable length, depending on the setting (see
section 7.8).
section
Note
Digital Output
Polling Enable
Digital Output
Setting PLC
Address
Digital Output
Setting Polling
Rate
DeactivatedSpecifies whether the UE410-EN3 is to request the status of
the digital outputs from the PLC.
1Specifies the PLC memory address from which the UE410-EN3
requests status of the digital outputs. The address is entered in
decimal form.
100 Specifies the interval in milliseconds in which the status of the
digital outputs is requested.
Minimum = 10 msec., Maximum = 65535 msec.
7.3.1 Operating modes in the transfer mode RX (To PLC)
Slave (PLC Polls) — PLC requests the data from UE410-EN3
In this operating mode the UE410-EN3 sends the data as slave upon request from the PLC.
If this operating mode is desired:
Chose the operating mode Slave (PLC Polls) in the RX (To PLC) Transfer Mode
selection field. All further settings do not apply.
Activate Save in Flash and click Submit to save the selection.
Only if Save in Flash is checked, will the new configuration be stored in the UE410-EN3’s
non-volatile memory and be available after a restart of the gateway. Submit without
checking Save in Flash allows, for example, the testing of new configurations without
overwriting the old configuration.
The following table lists the address to read out the data sets.
The first word (two bytes) of the returned data of each data set is the current input number
which is incremented during each data update. The output value can be set by the PLC
and then tracked.
Note
Master (Write To PLC) — UE410-EN3 writes the data to the PLC memory
In this operating mode the UE410-EN3 as a master writes the data of all the activated
data sets in the specified memory areas of the PLC. If this operating mode is desired:
Chose the operating mode Master (Write to PLC) in the RX (To PLC) Transfer Mode
selection field.
Carry out the following settings on the same web page (see Tab. 63 on page 55):
– PLC IP Address
– PLC Device ID
– PLC update rate
– Enable Heartbeat Message (either this option or Update Immediately on
Status/Configuration Change must be activated!)
– Heartbeat Update Interval (if Heartbeat Message is activated)
– Update Immediately on Status/Configuration Change (either this option or Enable
Heartbeat Message must be activated!)
– Rx Data Set N PLC Address — for all activated data records
Activate Save in Flash and click Submit to save the selection.
Only if Save in Flash is checked, will the new configuration be stored in the UE410-EN3’s
non-volatile memory and be available after a restart of the gateway. Submit without
checking Save in Flash allows, for example, the testing of new configurations without
overwriting the old configuration.
7.3.2 Operating modes in the transfer mode Tx (From PLC)
Slave (PLC writes) — PLC sends digital output data to the UE410-EN3
In this operating mode the PLC sends writing requirements as master to the UE410-EN3 in
order to set the digital outputs. If this operating mode is desired:
Chose the operating mode Slave (PLC Writes) in the Tx (From PLC) Transfer Mode
selection field. All the further settings do not apply.
Activate Save in Flash and click Submit to save the selection.
Note
Only if Save in Flash is checked, will the new configuration be stored in the UE410-EN3’s
non-volatile memory and be available after a restart of the gateway. Submit without
checking Save in Flash allows, for example, the testing of new configurations without
overwriting the old configuration.
UE410-EN3 as slave — addressing the digital outputs:
the UE410-EN3 digital
outputs
Note
Unit ID 1
Address
(Base 1)
1800 Digital outputs Set/Get 1
Description Access Scope
(words)
Master (Poll the PLC) — UE410-EN3 requests the data from the PLC.
In this operating mode the UE410-EN3 as master requests the data continuously from the
PLC in order to set the digital output settings. If this operating mode is desired:
Select the operating mode Master (Poll the PLC) in the Tx (From PLC) Transfer Mode
selection field.
Carry out the following settings on the same web page (see Tab. 63 on page 55):
– PLC IP Address
– PLC Device ID
– Digital Output Polling Enable
– Digital Output Setting PLC Address
– Digital Output Setting Polling Rate
Activate Save in Flash and click Submit to save the selection.
Only if Save in Flash is checked, will the new configuration be stored in the UE410-EN3’s
non-volatile memory and be available after a restart of the gateway. Submit without
checking Save in Flash allows, for example, the testing of new configurations without
overwriting the old configuration.
The UE410-EN3 supports the following Modbus commands and error messages:
Modbus command Value
Read Holding Registers 3
Write Multiple Registers 16 (10hex)
Read/Write Multiple Registers 23 (17hex)
Subject to change without notice
Operating Instructions Chapter 7
Tab.67:
Modbus error
Flexi Classic Gateways
Modbus/TCP Ethernet Gateway
messages
Modbus error response Description
1 Illegal Function The requested function is not supported.
2 Illegal Data Address Undefined data address received.
3 Illegal Data Value Request with illegal data values, for example not enough data
requested for a data set.
10 Gateway Paths Not Available Invalid configuration, for example polling or setting of the digital
outputs via PLC during operation of the UE410-EN3 in master
mode.
7.4 Configuration of the gateway — which data are
transferred
The UE410-EN3 processes the data of a UE410-EN3 Flexi Classic system and makes them
available in different compilations, the data sets for the PLC.
The configuration steps in this section are used to define which data sets are transferred
to the higher-level PLC. There are 6 data sets available to this purpose: Data sets 1-5
contain fixed data compilations, Data set 6 can be configured by the user. The data sets
that are to be transferred to the PLC must be activated.
Open a web browser on a PC in the network and go to the address of the UE410-EN3.
Click Flexi System Interface Configuration on the UE410-EN3 homepage. The
The installed Flexi Classic modules are recognised automatically and listed in the Flexi
Chassis Configuration field. Modules of the next Flexi Classic generation that are not yet
recognised by the UE410-EN3 are listed as “Unknown Module”. The corresponding front
and the data structure of the module can be displayed by clicking a module. In the
example, a click on Module 1 displays a new window with the corresponding information.
The window can subsequently be closed again.
After resetting the UE410-EN3 back to the factory settings, all modules are displayed as
“Unknown Module” until a hardware reset of the entire Flexi Classic system has been
carried out (see section 7.6).
In order to use Data set 6, click Set 6. The following web page is displayed and shows
the current compilation of Data set 6:
Click Configure Set 6, to compile the user defined data record. The following web page
Select the desired data. For the exact description of the data sets please refer to
section 7.8.
n the standard setting, all parameters are sent to the higher level PLC when Data set 6 is
I
active. If only specific parameters are to be sent:
Select Return Only Enabled Data and click the desired parameters in the list.
If Return Only Enabled Data is activated, the length of Data set 6 is variable. This must
be taken into account when addressing the memory area in the PLC.
In order to use these settings temporarily do not check Save in Flash and click Submit.
In order to use these settings permanently, check Save in Flash and click Submit. The
configuration is then saved in the non-volatile memory of the UE410-EN3 and is still
available after the gateway has been restarted.
The current configuration of Data set 6 can be displayed by clicking Display Set 6 Data
Format. The following web page is displayed:
Return to the previous page by using the browser’s Back button.
7.5 Status of the interface to the PLC
The UE410-EN3 has its own page that makes statistical data and diagnostics data of the
interface available to the PLC. On this page all the messages and responses from the PLC
and UE410-EN3 are counted and errors including error messages for diagnostic purposes
are displayed. The page is updated automatically every 10 seconds.
Click PLC Interface Diagnostics. The following web page is displayed:
The only exception is the UE410-EN IP address, which is not reset to factory settings
with this action.
After resetting to factory settings, the UE410-EN does not identify the connected Flexi
Classic module again, but displays all modules as “Unknown Modules”. In addition the
UE410-EN loses the system information MOD-ID, CRC1, CRC2, SWVERSION_H, SWVERSION_L, FUNCTION, KONF, CRC_H CODE and CRC_L CODE and transfers zeros into
the corresponding data sets. Restarting the Flexi Classic system remedies this problem.
Interrupt the power supply of the Flexi Classic system and switch on again.
7.7 Troubleshooting
Error Cause Remedy
The browser does not find
the UE410-EN homepage
during configuration.
UE410-EN has no power
supply.
UE410-EN is not in the same
physical network as the PC.
The PC is configured to another
subnet mask in the TCP/IP
settings.
UE410-EN has already been
configured once and has a
fixed set IP address or an IP
address assigned by a DHCP
server that is not recognised.
Establish the power supply.
Check the Ethernet wiring and
network settings on the PC and
correct if necessary.
Set the subnet mask on the PC to
255.255.0.0 (factory setting of the
UE410FEN).
The software tool Flexi Classic
IPFLink can be used to scan the
network for connected Flexi Classic
modules and to determine the
network address.
UE410-EN does not supply
any data.
LED PWR Green
LED LINK/ACT / Green
LED ERR Green
UE410-EN does not supply
any data.
LED PWR Green
LED LINK/ACT / Green
LED ERR Green
UE410-EN functioned
correctly after configura-
tion, but suddenly no longer
supplies data.
LED PWR Green
LED LINK/ACT / Green
LED ERR Green
UE410-EN is configured to the
operating mode Master (Write
to PLC), but neither Heartbeat
nor Update Immediately on
Status/Configuration Change
are activated.
No data set is activated. Activate at least one data set.
The compilation of data sets 1-5 is fixed; these data sets can only be activated or deactivated as a whole. The length of these data sets is always the same. The data will be zeroed
for modules that do not exist.
UE410-EN
Data set 1 Data set 2 Data set 3 Data set 4 Data set 5
The contents of Data set 6 can be compiled by the user.
If the option Return only enabled Data is activated in the configuration of the data set
(see section “Configuration …” above), the data set can have a different length depending
on the compilation. The maximum length is 124 bytes. The minimum length is 2 bytes.
The selected data are transferred for all Flexi Classic modules respectively.
The data are zeroed for modules that do not exist.
Note
If data is expected in 16-bit words and in the format Big Endian (e.g. Modbus/TCP), it is
transferred with the more significant byte first.
UE410-EN
Byte
1-124
Data set 6
CRC-H CRC-L
MKD1.1 MKD2.1 MKD1.2 MKD2.2 MKD1.3 MKD2.3
MKD1.4 MKD2.4 MKD1.5 MKD2.5 MKD1.6 MKD2.6
MKD1.7 MKD2.7 MKD1.8 MKD2.8 MKD1.9 MKD2.9
MKD1.10 MKD2.10 MKD1.11 MKD2.11 MKD1.12 MKD2.12
MKD1.13 MKD2.13
MOD-ID1 MOD-ID2 MOD-ID3 MOD-ID4 MOD-ID5 MOD-ID6
MOD-ID7 MOD-ID8 MOD-ID9 MOD-ID10 MOD-ID11 MOD-D12
MOD-13 0
SW Version
Byte 1,
Module 1
SW Version
Byte 1,
Module 4
SW Version
Byte 1,
Module 7
SW Version
Byte 2,
Module 1
SW Version
Byte 2,
Module 4
SW Version
Byte 2,
Module 7
SW Version
Byte 1,
Module 2
SW Version
Byte 1,
Module 5
SW Version
Byte 1,
Module 8
SW Version
Byte 2,
Module 2
SW Version
Byte 2,
Module 5
SW Version
Byte 2,
Module 8
SW Version
Byte 1,
Module 3
SW Version
Byte 1,
Module 6
SW Version
Byte 1,
Module 9
SW Version
Byte 2,
Module 3
SW Version
Byte 2,
Module 6
SW Version
Byte 2,
Module 9
SW Version
Byte 1,
Module 10
SW Version
Byte 1,
Module 13
Function 1 Function 2 Function 3 Function 4 Function 5 Function 6
Function 7 Function 8 Function 9 Function 10Function 11Function 12
he following Flexi Classic gateways can be used for Ethernet TCP/IP:
T
UE410-EN3
UE410-EN1
8.1 Interfaces and operation
The UE410-EN is equipped with four digital control outputs X1–X4.
The UE410-EN is equipped with an integrated 3-port switch for connection with the Ethernet network. Two RJ45 sockets are available for the connection. The switch functionality
allows the UE410-EN to be used for connection to another Ethernet component (e.g. connection to a notebook) without having to interrupt the Ethernet connection to the network.
To assign a suitable IP address within the network to the UE410-EN, click Configure
Network. The following web page is displayed:
The UE410-EN network address can be obtained automatically or configured manually.
For automatic assignment of the network address, choose Use DHCP.
Note
A DHCP server must be active in the network so that these functions can be used. A new IP
address will be assigned to the UE410-EN when the DHCP server or the UE410-EN is
restarted. When the UE410-EN is operated in slave mode (see section “Configuration …”
below) and the IP address changes due to a restart, the PLC can no longer communicate
with the UE410-EN. If you use the Use DHCP function in combination with the slave mode
of the UE410-EN, we recommend that you reserve a specific IP address for the UE410-EN
(manual assignment on the basis of the MAC address of the UE410-EN).
In order to set the network address manually, choose Use static configuration below
and enter a valid free IP address, the subnet mask and the IP address of the network
gateway.
Finalise changes by clicking Save.
The new network address is saved in the UE410-EN flash memory, but will only become
effective after the gateway has been restarted. In order to restart the gateway, …
either click the Reboot button on the homepage of the UE410-EN main page
or interrupt the power supply of the Flexi Classic system and switch on again.
Call up the new address of the UE410-EN in order to configure the UE410-EN in the web
browser further.
Note
If a DHCP server is used to assign an IP address, the new address is unknown to the
system administrator. It can be read out in the administration pages of the DHCP server.
Alternatively the software tool Flexi Classic IP-Link can be used. This scans the network for
Flexi Classic modules and registers their IP addresses.
The UE410-EN supports a total number of four TCP/IP socket interfaces. This allows up to
our different applications to communicate with the UE410-EN at the same time over
f
Ethernet TCP/IP. Other UE410-EN network interfaces (e.g. Modbus/TCP or EtherNet/IP)
run in parallel and their configuration or usage does not interact with the TCP/IP socket
configuration as well as it happens independently on separate web pages.
The UE410-EN processes the data of a Flexi Classic system and makes it available in different compilations, the data sets. These data sets are available over the TCP/IP interface.
For a detailed description of the data sets please refer to section “Description of the data
sets” below.
Note
Through the TCP/IP socket interface data set 6 will always be returned with the maximum
length of 124 bytes even though it may have been compiled to be less for the Modbus/TCP interface.
Open a web browser on a PC in the network and go to the address of the UE410-EN.
Click Ethernet TCP/IP Interface Configuration on the UE410-EN homepage. The
following web page is displayed:
The page shows the current settings of the Ethernet TCP/IP Interface.
The default configuration for each socket interface allows an application running on
another computer to connect to the UE410-EN module and send request messages. No
automatic updates are configured in the default configuration (Polling Mode).
If the default configuration is acceptable for the user application, then the application
can connect to any of the socket interfaces and begin sending command messages and
receiving responses.
To change the Listen Port, have the UE410-EN module connect to your application, or
enable the Auto Update Mode for any or all data sets, please follow the configuration
steps below.
Click Socket N to edit any of the four socket interfaces. The following web page is
displayed:
Note
Enter the Listen Port number that is more appropriate to the user application.
Port 9000 and port 9001 are reserved and shall not be configured.
Set Connect To Mode to Never if the application shall connect to the UE410-EN.
Activate Save in Flash and click Submit to save the selection or continue configuration.
When a reserved port has been entered as Listen Port, a special web page will be displayed upon Submit. The following page will be displayed:
Select Use default Listen Port of N to reset the Listen Port configuration to the valid
default port number of the socket. If this checkbox remains unchecked, the invalid port
number will remain entered when returning back to the configuration page and shall
still be changed to another value.
Click Submit to return to the Edit Socket N Configuration web page.
Once the UE410-EN shall connect to the application, perform the following configuration
steps:
Uncheck the Listen checkbox.
Set the Connect To Mode to Connect Always.
Enter the port number of the application for Connect Port
Set Connect IP Address to the IP Address of the computer the application is running on.
Activate Save in Flash and click Submit to save the selection or continue configuration.
Select Reset Port and click Submit if you would like to completely reset the socket port
configuration. This will force any active TCP/IP connections to close and clear all statistics.
8.4 Data transfer method — how the data are transferred
Whenever the TCP/IP socket connection has been established (either by an application on
a PC or by the UE410-EN itself), there are two possible ways how the data sets can be
transferred:
The application requests the data set(s) per command message (Polling Mode) or
the UE410-EN auto-updates the data sets as per configuration (Auto Update Mode).
For both methods the following structure of messages applies.
8.4.1 General telegram structure
The request/response message (e.g. telegram) is structured as shown below:
002Fhex = Response to write Digital Output settings
00F3hex = Request Current Digital Output settings
003Fhex = Read Digital Output settings response
Parameter(s) (Length de-
termined by
command)
As defined in specific command
message
Sequential
Number
Data (Length de-
WORD Sequential number to be incremented with each new message.
As defined in specific command
termined by
command)
8.4.2 Error response to invalid messages
The UE410-EN will set the most significant bit of the command word in the event that an
invalid or improperly formatted message is received.
Parameter Length Description
Command WORD Bit 15 of received command will be set.
(i.e. Command of 00F2hex would become 80F2hex.)
Following data (Length de-
termined by
command)
Unchanged. Returned as it was received.
8.4.3 Auto Update Mode
The UE410-EN can be configured to automatically update the data set information (e.g.
the application does not need to send any request messages as it would do in polling
mode, see section 8.4.4 for details) once the connection to the application has been made.
The configuration settings are available via the UE410-EN Web Server or via the TCP/IP
interface itself. Using one interface does not disable the other: The Auto Update Mode
could be enabled via web server and disabled via TCP/IP command, for example.
In order to configure the Auto Update Mode via web server, perform the following configu-
ation steps:
r
Open a web browser on a PC in the network and go to the address of the UE410-EN.
Click Ethernet TCP/IP Interface Configuration on the UE410-EN homepage.
Click Socket N to edit any of the four socket interfaces.
Select the data sets which shall be included in the TCP/IP message by checking the
respective Checkbox Enable Data Set N.
These data sets will be sent to the application whenever a change is detected and, if
Enable Heartbeat Message is enabled, at least as often as the specified Heartbeat
Update Rate.
Select Enable Heartbeat Message if the selected data set(s) shall be constantly sent
on a specified rate (whether the content has changed or not).
Set the Heartbeat Update Rate to the required value.
The Heartbeat Update Rate specifies the update interval in milliseconds with which the
data sets are updated to the application. Standard = 5000 ms, Minimum = 200 ms,
Maximum = 65535 ms. Any value entered less than 200 ms will be increased to
200 ms.
Activate Save in Flash and click Submit to save the selection or continue configuration.
If Heartbeat Message has been enabled but no data set is selected (e.g. none of the
Checkboxes Enable Data Set N is checked), the UE410-EN will not send any Auto Update
TCP/IP messages and remain in Polling Mode.
The following message is sent from the UE410-EN to the application while operating in
uto Update Mode.
A
normal operation message
Parameter Length Value
Command WORD 002Ehex = Auto-update data set(s) message
Data set 1
length
Data set 2
length
Data set 3
length
Data set 4
length
Data set 5
length
Data set 6
length
Sequential
number
Data set(s) data Array of
WORD 0 = Data set not returned in data set(s) data field.
Non-zero = Length of data set
WORD 0 = Data set not returned in data set(s) data field.
Non-zero = Length of data set
WORD 0 = Data set not returned in data set(s) data field.
Non-zero = Length of data set
WORD 0 = Data set not returned in data set(s) data field.
Non-zero = Length of data set
WORD 0 = Data set not returned in data set(s) data field.
Non-zero = Length of data set
WORD 0 = Data set not returned in data set(s) data field.
Non-zero = Length of data set
WORD Response sequential number
Data set(s) information
Bytes
Note
8.4.4 Polling Mode
In Polling Mode the UE410-EN will only send any data upon request (e.g. polling). Therefore the application shall send request telegrams as per definition below and the UE410EN will respond with telegrams structured as per definition below.
In order to enable Polling Mode
Open a web browser on a PC in the network and go to the address of the UE410-EN.
Click Ethernet TCP/IP Interface Configuration on the UE410-EN homepage.
Click Socket N to edit any of the four socket interfaces.
Ensure none of the Checkboxes Enable Data Set N is checked.
Activate Save in Flash and click Submit to save the selection or continue configuration.
Polling Mode will be disabled and Auto Mode will be enabled as soon as any of the Checkboxes Enable Data Set N is checked.
The only exception is the UE410-EN IP address, which is not reset to factory settings
with this action.
After resetting to factory settings, the UE410-EN does not identify the connected Flexi
Classic module again, but displays all modules as “Unknown Modules”. In addition the
UE410-EN loses the system information MOD-ID, CRC1, CRC2, SWVERSION_H, SWVERSION_L, FUNCTION, KONF, CRC_H CODE and CRC_L CODE and transfers zeros into
the corresponding data sets. Restarting the Flexi Classic system remedies this problem.
Interrupt the power supply of the Flexi Classic system and switch on again.
8.7 Troubleshooting
Error Cause Remedy
The browser does not find
the UE410-EN homepage
during configuration.
UE410-EN has no power
supply.
UE410-EN is not in the same
physical network as the PC.
The PC is configured to another
subnet mask in the TCP/IP
settings.
UE410-EN has already been
configured once and has a
fixed set IP address or an IP
address assigned by a DHCP
server that is not recognised.
Establish the power supply.
Check the Ethernet wiring and
network settings on the PC and
correct if necessary.
Set the subnet mask on the PC to
255.255.0.0 (factory setting of the
UE410FEN).
The software tool Flexi Classic
IPFLink can be used to scan the
network for connected Flexi Classic
modules and to determine the
network address.
UE410-EN does not supply
any data.
LED PWR Green
LED LINK/ACT / Green
LED ERR Green
UE410-EN does not supply
any data.
LED PWR Green
LED LINK/ACT / Green
LED ERR Green
UE410-EN functioned
correctly after configura-
tion, but suddenly no longer
supplies data.
LED PWR Green
LED LINK/ACT / Green
LED ERR Green
UE410-EN is configured to the
operating mode Master (Write
to PLC), but neither Heartbeat
nor Update Immediately on
Status/Configuration Change
are activated.
No data set is activated. Activate at least one data set.
The compilation of data sets 1-5 is fixed; these data sets can only be activated or deactivated as a whole. The length of these data sets is always the same. The data will be zeroed
for modules that do not exist.
UE410-EN
Data set 1 Data set 2 Data set 3 Data set 4 Data set 5
The contents of Data set 6 can be compiled by the user.
If the option Return only enabled Data is activated in the configuration of the data set
(see section “Configuration …” above), the data set can have a different length depending
on the compilation. The maximum length is 124 bytes. The minimum length is 2 bytes.
The selected data are transferred for all Flexi Classic modules respectively.
The data are zeroed for modules that do not exist.
Note
If data is expected in 16-bit words and in the format Big Endian (e.g. Modbus/TCP), it is
transferred with the more significant byte first.
UE410-EN
Byte
1-124
Data set 6
CRC-H CRC-L
MKD1.1 MKD2.1 MKD1.2 MKD2.2 MKD1.3 MKD2.3
MKD1.4 MKD2.4 MKD1.5 MKD2.5 MKD1.6 MKD2.6
MKD1.7 MKD2.7 MKD1.8 MKD2.8 MKD1.9 MKD2.9
MKD1.10 MKD2.10 MKD1.11 MKD2.11 MKD1.12 MKD2.12
MKD1.13 MKD2.13
MOD-ID1 MOD-ID2 MOD-ID3 MOD-ID4 MOD-ID5 MOD-ID6
MOD-ID7 MOD-ID8 MOD-ID9 MOD-ID10 MOD-ID11 MOD-D12
MOD-13 0
SW Version
Byte 1,
Module 1
SW Version
Byte 1,
Module 4
SW Version
Byte 1,
Module 7
SW Version
Byte 2,
Module 1
SW Version
Byte 2,
Module 4
SW Version
Byte 2,
Module 7
SW Version
Byte 1,
Module 2
SW Version
Byte 1,
Module 5
SW Version
Byte 1,
Module 8
SW Version
Byte 2,
Module 2
SW Version
Byte 2,
Module 5
SW Version
Byte 2,
Module 8
SW Version
Byte 1,
Module 3
SW Version
Byte 1,
Module 6
SW Version
Byte 1,
Module 9
SW Version
Byte 2,
Module 3
SW Version
Byte 2,
Module 6
SW Version
Byte 2,
Module 9
SW Version
Byte 1,
Module 10
SW Version
Byte 1,
Module 13
Function 1 Function 2 Function 3 Function 4 Function 5 Function 6
Function 7 Function 8 Function 9 Function 10Function 11Function 12
he following Flexi Classic gateway can be used for EtherNet/IP: UE410-EN1
T
The UE410-EN1 will support only EtherNet/IP explicit messaging. Class 1 messaging is not
supported. The EDS file is available on www.sick.com.
9.1 Interfaces and operation
The UE410-EN is equipped with four digital control outputs X1–X4.
The UE410-EN is equipped with an integrated 3-port switch for connection with the Ethernet network. Two RJ45 sockets are available for the connection. The switch functionality
allows the UE410-EN to be used for connection to another Ethernet component (e.g. connection to a notebook) without having to interrupt the Ethernet connection to the network.
To assign a suitable IP address within the network to the UE410-EN, click Configure
Network. The following web page is displayed:
The UE410-EN network address can be obtained automatically or configured manually.
For automatic assignment of the network address, choose Use DHCP.
A DHCP server must be active in the network so that these functions can be used. A new IP
address will be assigned to the UE410-EN when the DHCP server or the UE410-EN is
restarted. When the UE410-EN is operated in slave mode (see section “Configuration …”
below) and the IP address changes due to a restart, the PLC can no longer communicate
with the UE410-EN. If you use the Use DHCP function in combination with the slave mode
of the UE410-EN, we recommend that you reserve a specific IP address for the UE410-EN
(manual assignment on the basis of the MAC address of the UE410-EN).
In order to set the network address manually, choose Use static configuration below
and enter a valid free IP address, the subnet mask and the IP address of the network
gateway.
Finalise changes by clicking Save.
The new network address is saved in the UE410-EN flash memory, but will only become
effective after the gateway has been restarted. In order to restart the gateway, …
either click the Reboot button on the homepage of the UE410-EN main page
or interrupt the power supply of the Flexi Classic system and switch on again.
Call up the new address of the UE410-EN in order to configure the UE410-EN in the web
browser further.
If a DHCP server is used to assign an IP address, the new address is unknown to the
system administrator. It can be read out in the administration pages of the DHCP server.
Alternatively the software tool Flexi Classic IP-Link can be used. This scans the network for
Flexi Classic modules and registers their IP addresses.
9.3 Device name
Device serial number as well as the device MAC address allow unique identification of the
device. However in some applications it is useful to assign a more significant device name
for better device identification in the field. This is why the UE410-EN supports the configuration of an individual device name.
Click Configure Device Name on the UE410-EN homepage.
Enter the device name (maximum length 256 characters).
Click Save.
The device name will now appear next to “Device Name” on the UE410-EN homepage.
9.4 Configuration of the interface to the PLC — how the
data are transferred
The configuration steps in this section specify how the data on the higher-level PLC are
ransferred. Different operating modes can be selected to this purpose. The number of
t
possible connections to the PLC depends on whether the UE410-EN1 is operated as a
master or slave. Depending on the setting, up to 128 PLCs can address the UE410-EN1 at
the same time.
connections
Operating mode of the UE410-EN Maximum connections
Rx (To PLC) Transfer Mode: Write-to-Tag/File
Tx (From PLC) Transfer Mode: Read-from-Tag/File
Rx (To PLC) Transfer Mode: Write-to-Tag/File
Tx (From PLC) Transfer Mode: PLC Writes
Rx (To PLC) Transfer Mode: Polling
Tx (From PLC) Transfer Mode: Read-from-Tag/File
Rx (To PLC) Transfer Mode: Polling
Tx (From PLC) Transfer Mode: PLC Writes
Rx and Tx: 1
Rx: 1
Tx: 127
Rx: 127
Tx: 1
Rx and Tx: 128
Open a web browser on a PC in the network and go to the address of the UE410-EN.
Click PLC Interface Configuration on the UE410-EN homepage. The following web page
Specifies whether the UE410-EN is to update the data in the
PLC immediately when changes occur in the data sets. If not
activated, the update is carried out with the next Heartbeat
Interval.
Note: Either this option or Enable Heartbeat Message must be
activated, otherwise no data will be transferred!
97
Chapter 9Operating Instructions
EtherNet/IP Gateway
Flexi Classic Gateways
Selection/entry
window
Write All Enabled
Data Sets to Data
Set 1 Tag/File
Rx Data Set
Tag/File Names
Digital Output
Polling Enable
Digital Output
Tag/File Name
Digital Output
Setting Polling
Rate
Factory
setting
DeactivatedSpecifies whether to write all enabled data sets to the Data Set
1Specifies the tag or file names on the PLC where the data sets
Settings for the operating modeRead-from-Tag/file:
Deactivated
Specifies the PLC tag or file name where the UE410-EN will
200 Specifies the interval in milliseconds in which the value of the
Description
1 Tag/File address. If selected, the first 16 bit word will contain
an incrementing sequence number and all enabled data sets
will follow in order.
are to be sent to.
For ControlLogix PLCs, the tag names must be controller wide
and must be an array of type INT (16 bit word) large enough to
hold the entire data set message.
For SLC/PLC-5 PLCs, the file names must begin with a “$”
(i.e. $N10:0).
For MicroLogix PLCs, the file names must begin with a “#”
(i.e. #N10:0).
Specifies whether the UE410-EN1 is to request the value of the
digital outputs from the PLC.
request the Digital output values.
For ControlLogix PLCs, the tag names must be controller wide
and be of either SINT, INT, DINT, or BOOL[32] bit array.
For SLC, PLC-5, or MicroLogix PLCs, the file data type must be
either Integer (N) or Binary (B).
The same file naming rules apply as for the Tag/File names.
digital outputs is requested.
Minimum = 10 ms., Maximum = 65535 ms.
Note
Note
All data sets are transferred to the PLC in 16 bit integer format with the first byte placed in
the most significant, or leftmost byte of the integer.
9.4.1 Operating modes in the transfer mode Rx (to PLC)
Polling — PLC requests the data from UE410-EN
In this operating mode the UE410-EN sends the data as slave upon request from the PLC.
If this operating mode is desired:
Chose the operating mode Polling in the Rx (To PLC) Ethernet Transfer Method
selection field. All further settings do not apply.
Activate Save in Flash and click Submit to save the selection.
Only if Save in Flash is checked will the new configuration be stored in the UE410-EN’s
non-volatile memory and be available after a restart of the gateway. Submit without
checking Save in Flash allows, for example, the testing of new configurations without
overwriting the old configuration.
The UE410-EN1 supports two vendor specific objects which can be polled via explicit
messaging.
The Full Data Set Transfer Object allows to poll for each of the data sets as defined in
section 9.7.1. There is one instance where each attribute represents a data set.
The Individual Data Set Transfer Object allows to poll for the individual data set para-
meters as defined in section 9.7.2. There is one instance per data set and each
attribute represents a data set parameter.
Write-to-Tag/File — UE410-EN writes the data to the PLC memory
In this operating mode the UE410-EN as a master writes the data of all the activated data
sets in the specified memory areas of the PLC. If this operating mode is desired:
Chose the operating mode Write-to-Tag/File in the Rx (To PLC) Ethernet Transfer
Method selection field.
Carry out the following settings on the same web page (see Tab. 91):
– PLC IP Address
– PLC controller Slot Number
– Maximum PLC Update Rate
– Enable Heartbeat Message (either this option or Update Immediately on
Status/Configuration Change must be activated!)
– Heartbeat Update Rate (if Enable Heartbeat Message is activated)
– Update Immediately on Status/Configuration Change (either this option or Enable
Heartbeat Message must be activated!)
– Write all Enabled Data Sets to Data Set 1 Tag/File
– Rx (To PLC) Data Set N PLC Tag/File Name — for all activated data sets
Activate Save in Flash and click Submit to save the selection.
Only if Save in Flash is checked, will the new configuration be stored in the UE410-EN’s
non-volatile memory and be available after a restart of the gateway. Submit without
checking Save in Flash allows, for example, the testing of new configurations without
overwriting the old configuration.
Note
9.4.2 Operating modes in the transfer mode Tx (from PLC)
PLC writes — PLC sends digital output data to the UE410-EN
In this operating mode the PLC sends writing requirements as master to the UE410-EN in
order to set the digital outputs. If this operating mode is desired:
Chose the operating mode PLC Writes in the Tx (from PLC) Transfer Mode selection
field. All the further settings do not apply.
Activate Save in Flash and click Submit to save the selection.
Only if Save in Flash is checked, will the new configuration be stored in the UE410-EN’s
non-volatile memory and be available after a restart of the gateway. Submit without
checking Save in Flash allows, for example, the testing of new configurations without
overwriting the old configuration.
The UE410-EN1 supports one vendor specific object which can be used to control the
digital outputs via explicit messaging: The Discrete Output Point Object allows to control
the digital outputs. There is one instance per output where one attribute is used to control
the output and one attribute represents the current setting of the output.
For a detailed description of the Discrete Output Point Object please refer to section 9.7.3.
Read-from-Tag/file — UE410-EN requests the data from the PLC.
In this operating mode the UE410-EN as master requests the data continuously from the
LC in order to set the digital outputs. If this operating mode is desired:
P
Select the operating mode Read-from-Tag/File in the Tx (from PLC) Transfer Mode
selection field.
Carry out the following settings on the same web page (see Tab. 91):
– PLC IP Address
– PLC Controller Slot Number
– Digital Output Polling Enable
– Digital Output Tag/File Name
– Digital Output Setting Poll Rate
Activate Save in Flash and click Submit to save the selection.
Only if Save in Flash is checked, the new configuration will be stored in the UE410-EN’s
non-volatile memory and be available after a restart of the gateway. Submit without
checking Save in Flash allows, for example, the testing of new configurations without
overwriting the old configuration.
9.5 Configuration of the gateway — which data are
transferred
The UE410-EN processes the data of a Flexi Classic system and makes them available in
different compilations, the data sets for the PLC.
There are 6 data sets available to this purpose: Data sets 1-5 contain fixed data compilations, Data set 6 can be configured by the user. The data sets that are to be transferred to
the PLC must be activated (see section 7.8).
Open a web browser on a PC in the network and go to the address of the UE410-EN.
Click Flexi System Interface Configuration on the UE410-EN homepage.
The following web page is displayed:
The installed Flexi Classic modules are recognised automatically and listed in the Flexi Chassis Configuration field. Modules of the next Flexi Classic generation that are not yet
recognised by the UE410-EN1 are listed as “Unknown Module”. The corresponding front
and the data structure of the module can be displayed by clicking a module. In the example, a click on Module 1 displays a new window with the corresponding information. The
window can subsequently be closed again.