2.3 RF Communication 2.3.1 Security 3. Connections and mounting 3.1 Power supply 3.2 Connection to the PLC 3.3 Antenna 4. Description of the new Elesa network 5. Ethernet interface 6. UC-RF status led 7. BUS available 7.1 ETHERNET/IP (CE.99225) 7.1.1 Status LEDs 7.2 PROFINET (CE.99231)
Page 3
9. STATUS AND COMMAND FOR REMOTE DEVICES 9.1 Device status 9.2 Device command 10. CENTRAL UNIT STATUS AND CONTROL 10.1 UC-RF STATUS 10.2 UC-RF COMAND 10.2.1 Execution of a command 10.3 MODE CHANGE 10.4 TIMING OF STATUS AND COMMAND FLAGS 10.5 PROCEDURE FOR SENDING COMMANDS...
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency 1. Safety Instructions 1.1 FW release information 1.2 Safety Instructions This device has been designed and manufactured in accordance with current legislation. To keep the product in this state, it must be assembled and used correctly, in strict compliance with the instructions contained in this instruction manual and with the following specific safety precautions.
In addition, you can read and set the configuration of remote devices, as well as check the status and the goodness of the connection. The control unit (UC-RF) is a standard DIN rail module. The unit is equipped with a socket for connection to a power source, an industrial standard bus interface connector for communication with the PLC and an antenna output for RF communication with the position indicator electronic RF and Elesa meters (to be ordered separately).
3.2 Connection to the PLC The UC-RF must be connected to the PLC via an Ethernet RJ45 cable by using one of the two ports on the front of it (see drawing below). Both ports are equivalent. In case two PLCs (or PLC+PC) are connected, make sure that conflicts are avoided.
UC-RF that requests it. Once the ASSOCIATION (bind) request has been received from a UC-RF , the remote device stores the ID of the UC-RF as its only interlocutor on the network. The remote device can be returned to the NON-ASSOCIATED condition (unbinded) via the appropriate menu item present on each device.
If the red LED and the green LED continue to flash alternately, check the connection to the PLC and/or the IP address configuration. If the red LED and the green LED remain lit, the UC-RF is active and waiting for the operating MODE to be set (see Chap. 0).
If the link is not reachable, please contact the Elesa customer service. The GSD file allow the PLC to recognize the UC-RF on the Profinet bus. Then it is needed to configure 56 8bits long slots as follows: - Slot 0 a Slot 27 - uscita (PLC a UC) - Slot 28 a Slot 55 - ingresso (UC a PLC) Each data block length is 224 bytes.
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency 7.2.1 Status LEDs Network Status LED LED State Description Comments - No power Offline - No connectionnwith IO Controller - Connection with IO Controller established Green...
The first R/W, with address 0x00h, contains the data that the PLC sends to the remote devices (input data) and the commands that are given to UC-RF The second R only, with address 0x100h, contains the data that UC-RF reads from remote devices (output data) and the status of UC-RF .
PLC connection, data transmission via radio frequency 7.4 ETHERCAT (CE.99xxx) The ESI file is available for configuration and can be requested from Elesa customer support. The ESI file allows the PLC to recognize the UC-RF on the EtherCAT bus. Two 224byte arrays are defined: UC-RF →PLC 224 read-only bytes (TX PDO) organized as described in ch.8:...
Page 13
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency ERR LED This LED indicates EtherCAT communication errors, etc. Link/Activity These LEDs indicate the status and activity of the EtherCA link. Questi LED indicano lo stato e l’attività del collegamento EtherCAT Ethernet Connector (RJ45) Models all rights reserved in accordance with the law.
One read-only array (UC-RF => PLC) exposes, in the first 216 bytes, data read by UC-RF from individual remote devices. The other array, read-write (PLC => UC-RF), in the first 216 bytes, allows UC-RF to set the data to be transmitted to the remote devices.
Some commands require data and parameters to be sent as specified below for each command. There is no significant data that needs to be read back from the UC-RF , except the status of the UC- RF to identify that the data sent has been processed via the Data Valid Ok flag (10.1 - UC-RF status).
8.1.3 Command ID 0x03 – Reset Message Cnt This command resets the message counters received from associated devices (see 8.9). After the procedure is completed, the UC-RF is not restarted and its operation is not interrupted. Command ID: 0x03 Control Word: 0xA55A 0x03 –...
8.1.4 Command ID 0x0A – Load Binding Table This command reloads the table of associated devices from the non-volatile memory of the UC-RF . This table is saved automatically after each configuration send in mode 0x28. In this way, it is not necessary to repeat the remote device association procedure when the UC-RF is rebooted.
Note that currently changing the RF channel via this command, does not automatically update the same setting on the remote devices as well, which will have to be manually aligned At the end of the procedure, the UC-RF is not restarted and its operation is not interrupted. Command ID: 0x15...
8.2 MODE 28 – Binding In MODE 28, it is possible to tell UC-RF the ID of devices that are part of its subnetwork. To associate a remote device with UC-RF , it is sufficient to write into PLC=>UC-RF memory, in the position shown in Tab.
Page 20
The ID of the device to be associated can be read on the device via the appropriate menu item. In the UC-RF=>PLC memory is the list of IDs not associated with any UC-RF that are transmitting in the covered area.
8.3 MODE 29 – Already connected devices MODE 29 is similar to MODE 28 but in the UC-RF=>PLC memory it will show the IDs of devices already associated with the UC-RF that are transmitting in the covered area but not registered in the binded table.
MODE 29 is useful for retrieving the configuration of a machine at power-up. In this case you will have the remote devices that are battery powered have retained their configuration while UC-RF , having been switched off has lost its table of associated devices. Obviously, the list of associated devices could be stored in the PLC but should you wish to retrieve a configuration from scratch MODE 29 can be useful.
Page 23
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Binded devices Free devices Word Byte N PLC => UC-RF 0x003 CH2 Target quote CH2 Position 0x004 0x005 CH2 Command CH2 Status 0x069 CH36 Target quote...
(CH ID) . Having set mode 24, writing 0x24 in byte 217 in the PLC => UC-RF output buffer, when UC-RF is contacted by the remote device, its basic configuration consisting of the parameters in Tab. 5 is read or written.
Page 25
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Values to write Read values Word Byte N PLC => UC-RF UC-RF => PLC 0x00C mm_toll mm_toll 0x00D 0x00E deg_toll deg_toll 0x00F 0x010 Lincorr Lincorr 0x011...
Page 26
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Values to write Read values Word Byte N PLC => UC-RF UC-RF => PLC speed speed 0x01B pswenable pswenable arkey_reg arkey_reg 0x01C arkey_shift_reg arkey_shift_reg ukey_reg ukey_reg...
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency 8.5.1 Default Values and Meaning of Parameters The default parameter values of the devices connected to the network are shown in the table below. The Memory column contains the numerical value contained in the device’s memory. This is then explained in its actual meaning for each device family in the following columns.
Page 28
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Default values Parameter Memory Word Byte N DD51 DD52R (hex) 0x00C 0x0000 mm_toll 0.1 mm 0.1 mm 0.1 mm 000A 0x00D 0x00E 0x0000 deg_toll 0.1 deg 0.1 deg...
Page 29
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Default values Parameter Memory Word Byte N DD51 DD52R (hex) deg_res 0x02 2 decimal 2 decimal 2 decimal 0x01A cycle 0x78 speed 0x01 600 RPM 600 RPM...
Page 30
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Values Voice on Parameter the remote Description (refer to the device’s user device manual) Password Numeric value used as password Value assigned to the point of ori-...
Page 31
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Values Voice on Parameter the remote Description (refer to the device’s user device manual) Direction of the positive values.. Set count_di- the positive values rotation direction rection of the shaft.
Page 32
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Values Voice on Parameter the remote Description (refer to the device’s user device manual) ABS/REL + SHIFT 0 Load offset arkey_shift_reg key functions 1 Reset origine...
4 bytes (CH ID) . Having set mode 25, writing 0x25 in byte 217, when UC-RF is contacted by the remote device, the 10 offsets stored on the device are read or written as shown in Tab. 7.
Page 34
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Tab. 7 - MODE 25 – memory organization Values to write Read values Word Byte N PLC => UC-RF UC-RF => PLC 0x000 0x001 0x002 mm_offset[1] mm_offset[1] 0x003...
4 bytes (CH ID) . Having set mode 26 or 27 in byte 217, when UC-RF is contacted by the remote device, the 10 offsets stored on the device are read or written as shown in Tab. 7.
Tab. 8 - MODE 26 e 27 – memory organisation – MODE 26: target in mm, MODE 27: target in gradi Values to write Read values Word Byte N PLC => UC-RF UC-RF => PLC 0x000 CH ID CH ID 0x001...
ID is set in the last 4 bytes (CH ID) . Once the 2C mode is set, by writing 0x2C in byte 217, when UC-RF is contacted by the remote device, a number of bytes equal to the value contained in byte 7 (lenght) are read or written starting from the byte indicated in byte 6 (Start Address) in the parameter table relative to the mode indicated in byte 4 (Mode) as shown in Tab.
Page 38
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Values to write Read values Word Byte N PLC => UC-RF UC-RF => PLC 0x006 0x007 0x008 0x009 Data Data 0x00A 0x00B 0x00C 0x00D 0x00E 0x00F...
0x06F 8.9 MODE 2A – Transmission quality In MODE 2A, the UC-RF => PLC memory contains, instead of position and status of the remote device, the following indicators of the quality of communication between UC-RF and remote devices: - Last Comm Counter: the counter is incremented by 1 every time UC-RF receives a correct communication from the associated remote device.
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Word Byte N PLC => UC-RF UC-RF => PLC 0x069 CH36 Target CH36 Last Comm quote Counter 0x06A CH36 Command CH36 Qual. status 0x06B Present CH...
PLC connection, data transmission via radio frequency Below is the eleco of the bits and their meaning when they have value 1: Bound: the device is associated with a UC-RF Low Batt: the battery is low and must be replaced as soon as possible.
- Write in the relevant command word 0xC000 10. Central unit status and control In modes 4,5,6,and 7, the UC-RF communicates with only one device at a time whose ID is indicated in the last 4 bytes of the PLC=>UC-RF memory.
When the command is accepted by UC-RF , the Triggered flag of the status word is set to one (see Fig. 10 1) . The execution of a command is not immediate but requires communication to be established between UC-RF and remote device.
Read stored . By setting this bit to one, it is possible to read the data actually written in the current mode into UC-RF . In practice, on the read buffer (UC-RF=>PLC), instead of the input data, the data contained in the write buffer stored for the selected mode within UC-RF is reported.
Page 45
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Fig. 10 4 – Timing flag in case of communication failure Fig. 10 5 – Timing flag in case of unreachable device Models all rights reserved in accordance with the law. Always mention the source when reproducing our drawings.
Buffer[n]: Byte number n of the buffer (0= first byte) In round brackets (...) pseudo code for the set/reset of bits (flags) Variables PLC-UC: write buffer on UC-RF (224 bytes) UC-PLC: UC-RF read buffer (224 bytes) UC Status: status word at byte 219 of...
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Appendix A – Bus interface connector The ethrnet interface supports 10/100Mbit, full or half duplex operation ITEM Network Status LED Module Status LED Link/Activity LED (port 1) Link/Activity LED (port 2) Fig.
Page 48
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency Electrical data Not protected. Short circuit A 100mA fuse has to be placed on the supply line Frequency range 2400-2.416 MHz Ethernet/IP Interface options Profinet IO...
Page 49
Control unit for DD51-E-RF DD52R-E-RF MPI-R10-RF UC-RF PLC connection, data transmission via radio frequency EU DECLARATION OF CONFORMITY (DoC) COMPANY NAME: Elesa S.p.a. POSTAL ADDRESS: Via Pompei 29 POSTCODE AND CITY: 20900 Monza TELEPHONE NUMBER: +39 039 28111 E-MAIL ADDRESS: info@elesa.com...
Page 50
The texts and examples have been written with great care, nonetheless, mistakes can always happen. The Company Elesa S.p.A. can neither be held legally responsible nor liable for lacking or incorrect information and the ensuing consequences. The Company Elesa S.p.A. reserves the right to alter or improve the electronic position indicators or parts of them and/or the enclosed brochures without prior notice.
Need help?
Do you have a question about the UC-RF and is the answer not in the manual?
Questions and answers