Hitachi HX-RIO3 Series User Manual
Hide thumbs Also See for HX-RIO3 Series:
Table of Contents

Advertisement

Quick Links

1
HX-RIO3 Series
MODBUS Programmable I/O
RIO3-CP3MBT
User Manual
Version 1.02

Advertisement

Table of Contents
loading

Summary of Contents for Hitachi HX-RIO3 Series

  • Page 1 HX-RIO3 Series MODBUS Programmable I/O RIO3-CP3MBT User Manual Version 1.02...
  • Page 2 HX-RIO3 Series DOCUMENT CHANGE SUMMARY PAGE REMARKS DATE EDITOR 1.02 Jan 21 Faber...
  • Page 3: Table Of Contents

    5.2. How to dismount on Din-Rail ....................18 5.3. Removable Terminal Block (RTB) ..................19 5.4. Method of Wiring ........................19 6. HX-RIO3 Series PIO (Programmable I/O) Functions ............. 20 6.1. Connection to IO Guide Pro by Modbus RTU *(RS-232 or RS-485) ........20...
  • Page 4 HX-RIO3 Series 6.2. Connection to IO Guide Pro by Modbus TCP ..............22 6.3. Confirmation of Network Information................. 22 6.4. BOOTP / DHCP ........................24 6.5. Setup IP Address ......................... 26 6.6. Serial Communication Settings ..................29 6.7. Memory Reset ........................31 6.8 RTC(Real Time Clock) Function ...................
  • Page 5 HX-RIO3 Series A.4.4. Adapter Information Special Register (0x1100, 4352) ............ 53 A.4.5. Adapter Setting Special Register (0x1600, 5632) ............53 A.4.6. Expansion Slot Information Special Register (0x2000, 8192) ........54 A.5. Example ..........................57 A.5.1. Example of Input Process Image(Input Register) Map ........... 57 A.5.2.
  • Page 6: Important Notes

    In no event will HITACHI be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment. The examples and diagrams in this manual are included solely for illustrative purposes.
  • Page 7: Safety Instruction

    HX-RIO3 Series 1.1.Safety Instruction 1.1.1. Symbols Identifies information about practices or circumstances that can cause an explosion in a hazardous environment, which may lead to personal injury or death property damage or economic loss. Identifies information that is critical for successful application and understanding of the product.
  • Page 8: Rio3-Series System

    HX-RIO3 Series 2. RIO3-Series System 2.1. Electrical Interface • Network Adapter Module The Network Adapter Module forms the link between the field bus and the field devices with the Expansion Modules. The connection to different field bus systems can be established by each of the corresponding Network Adapter Module, e.g.
  • Page 9: I/O Process Image Map

    HX-RIO3 Series 2.2. I/O Process Image Map An expansion module may have 3 types of data as I/O data, configuration parameter and memory register. The data exchange between network adapter and expansion modules is done via an I/O process image data by internal-protocol.
  • Page 10: Specification

    HX-RIO3 Series 3. Specification 3.1. General Specification General Specification UL System Power Supply Voltage : 24Vdc nominal, Class 2 Supply Voltage : 24Vdc nominal System Power Supply Voltage range : 15~30Vdc Protection : Output current limit (Min. 1.5A) Reverse polarity protection...
  • Page 11: Interface Specification

    HX-RIO3 Series 3.2. Interface Specification Programmable Specification Module list RIO3-CP3MBT Programming CODESYS V3.5.11.3 Run-Time System Multiple PLC Tasks Program Languages IEC 61131-3 (LD, IL, ST, FBD, SFC) Program Memory 16 Mbytes 16 Mbytes I/O Input: %IW0 ~%IW2047 (2048 words) Data Memory...
  • Page 12: Rio3-Cp3Mbt Ethernet Connection Specification

    HX-RIO3 Series 3.3. RIO3-CP3MBT Ethernet Connection Specification Function* Model Max. number of concurrent communications Web Visualization ARTI (OPC-server) One for each functions are available at the same time. CODESYS link Network-Variable RIO3-CP3MBT Modbus/TCP Master 5 Modbus/TCP Slaves can be connected...
  • Page 13 HX-RIO3 Series How to supply the power correctly • Refer the pin map of power RTB before wiring. • Current capacity margin should be considered when you supply the power. • Supply voltage 24Vdc which is recommended voltage level. •...
  • Page 14: Led Indicator

    HX-RIO3 Series 4.2.LED Indicator 4.2.1. Module Status LED (MOD) State LED is To indicate No Power No power is supplied to the unit. Device Operational Green The unit is operating in normal condition. The EEPROM parameter is not initialized yet.
  • Page 15: Plc Run/Stop Status Led (Run)

    HX-RIO3 Series 4.2.3. PLC Run/Stop Status LED (RUN) State LED is To indicate Not Programmed Power is not supplied or PIO is not programmed Green PLC Run Stop Blinking Green PLC Stop Program Error Blinking Red User PLC Program Error 4.2.4.
  • Page 16: Socket , Rs232/485 Port

    HX-RIO3 Series 4.3. RJ-45 Socket , RS232/485 Port RJ-45 Signal Name Description Transmit + Transmit - Receive + Receive - Case Shield RS 232/485 Signal Name Description RS232 TXD RS232 RXD RS232 GND RS 485 D+ RS485 D- 4.4. Toggle Switch, Push Button...
  • Page 17: Rtb Terminal Block

    HX-RIO3 Series 4.5. RTB Terminal Block Pin No. Signal Description Signal Description Pin No. System Power, 24V System Power, Ground 1 System Power, 24V System Power, Ground 3 Field Power, Ground Field Power, Ground Field Power, 24V Field Power, 24V - System Power: The power for starting up CPU.
  • Page 18: Dimension (Mm)

    HX-RIO3 Series 4.7. Dimension (mm) 5. Mechanical Setup 5.1. How to mount on Din-Rail 5.2. How to dismount on Din-Rail As above figure in order to safeguard the RIO3 module from jamming, it should be fixed onto the DIN rail with locking level.
  • Page 19: Removable Terminal Block (Rtb)

    HX-RIO3 Series Removable Terminal Block (RTB) 5.3. 5.4. Method of Wiring Connecting or removing the cable by pushing the terminal button for the relevant points. The use of an incorrect supply voltage or frequency can cause severe damage to the component.
  • Page 20: Hx-Rio3 Series Pio (Programmable I/O) Functions

    And user can set up the IP Address, RTC from the Webserver page. 6.1. Connection to IOGuidePro by Modbus RTU *(RS-232 or RS-485) (1) Installation program, ‘IO Guide Pro Tool’ downloaded by HITACHI Webpage (2) Open the IO Guide and Click the ‘New project’ Icon.
  • Page 21 HX-RIO3 Series (3) Write the ‘Project Name’, Select the ‘Bus Type’ & the ‘Location’ and Click the ‘OK’. (4) After creating a project and Click the ‘Automatic scan’ Icon. (5) Write the value(Port, Node, Baudrate), and Click the ‘Scan’ button.
  • Page 22: Connection To Ioguidepro By Modbus Tcp

    HX-RIO3 Series 6.2. Connection to IOGuidePro by Modbus TCP The process is identical as in the previous chapter. Only Modbus TCP must be chosen in the bus type drop down menu. (1) Open the IO Guide Pro Tool and Click the ‘New project’ Icon (Same as RTU).
  • Page 23 HX-RIO3 Series (1) Run ‘[Hitachi] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ (2) Write the value of each. *Protocol : Modbus TCP, Modbus RTU *ComPort : User Port / Baudrate : 115200(default) *Address(Hex) : 1600 (IP Address Register) :: 1602 (IP Subnet Mask Register)
  • Page 24: Bootp / Dhcp

    DHCP: set of rules used by communications devices such as a computer, router or network adapter to allow the device to request and obtain an IP address from a server which has a list of addresses available for assignment. (1) Run ‘[Hitachi] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ (1) Write the value of each. •...
  • Page 25 HX-RIO3 Series (2) Write the register value and click the ‘Send’ button. *Not Use : 0000 / *BOOTP Setting : 8000 / *DHCP Setting : 8001...
  • Page 26: Setup Ip Address

    HX-RIO3 Series 6.5. Setup IP Address User can assign the IP Address manually via the HITACHI BOOTP Server in IO Guide Pro. ➢ Default IP Address is 192.168.100.100 (1) Run ‘[Hitachi] → [IOGuidePro] → [BOOTP Server]’ RIO3-CP3MBT can support DHCP or BOOTP.
  • Page 27 HX-RIO3 Series (2) Power on the RIO3-CP3MBT, and Click the ‘Start BOOTP’ button. (3) Double Click ‘MAC address of RIO3-CP3MBT. Turn on the power of RIO3-CP3MBT, and BOOTP server will retry to get the MAC address or IP address 2 times for 4 seconds. IP set-up can be available within the...
  • Page 28 HX-RIO3 Series (4) Set the IP, and click ‘OK’. (5) Finish Subnet Mask and Gateway is assigned automatically by the value that is set in the computer.
  • Page 29: Serial Communication Settings

    HX-RIO3 Series 6.6. Serial Communication Settings Setting according to the each communication state is possible because RIO3-CP3MBT is available for RS232 and RS485 serial communication. • Station Setting The following illustration is an area of Register 0x160A address that can be used to set the code of Serial communication.
  • Page 30 HX-RIO3 Series (1) Run ‘[Hitachi] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ (2) Write the value of each. *Protocol : Modbus RTU *ComPort : User Port / Baud rate : 115200(default) *Address(Hex) : 1606 (RS232 Baud rate Register) : 1607 (RS232 Use bit Setting Register)
  • Page 31: Memory Reset

    Data field 0x55AA makes the remote device to restart with factory default setup of EEPROM. *All expansion slot configuration parameters are cleared. (1) Run ‘[Hitachi] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ (2) Write the value of each. *Protocol : Modbus RTU...
  • Page 32: Rtc(Real Time Clock) Function

    RTC information of RIO3-CP3MBT is stored in address 0x1620 in the Register, also can be read. (1) Run ‘[Hitachi] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ (2) Write the value of each. *Protocol : Modbus TCP, Modbus RTU...
  • Page 33: Webserver

    HX-RIO3 Series 6.9 Webserver (1) Main page is showing various information for PIO status. (is required) (e.g. “192.168.178.133/setup.htm”) (2) To access the webserver, IP Address/setup.htm (3) When you click the expansion menu, user can check the extension module status.
  • Page 34 HX-RIO3 Series (4) User can easily change and set the RTC time. If you click the ‘Get Time’ button, the clock time from PC will be adapted to PIO. (5) Using the Network setting, user can set the IP/Subnet mask/Gateway.
  • Page 35: Ip Default Setting

    7. Upgrade Firmware 7.1. Using IAP over Ethernet (1) Apply a power with pushing a reset button(Mod LED will blink Green/Red). (2) Execute Firefox.(It is recommended to use Firefox) (3) Connect to 192.168.100.10 and login (User ID :Hitachi / Password : Hitachi)
  • Page 36 HX-RIO3 Series (4) Search the file to download using a search button. (5) Click a Upload Button.
  • Page 37 HX-RIO3 Series (6) If it finish, you can see a below message (File Upload Done!) And click a ‘Reset Adapter’ button.
  • Page 38: Troubleshooting

    HX-RIO3 Series 8. Troubleshooting How to diagnose by LED indicator LED Status Cause Action - No power - Check main power Cable All LED turns off - Contact Sales team and send - System power is not supplied. module for repair.
  • Page 39: How To Diagnose When Device Couldn't Communicate Network

    HX-RIO3 Series How to diagnose when device couldn’t communicate network Inspection of wrong or omission cable connection. - Check status of cable connection for each node. - Check that all color matches between connector and cable. - Check wire omission.
  • Page 40: Appendix A - Modbus Interface

    HX-RIO3 Series A. APPENDIX A - MODBUS INTERFACE A.1.MODBUS Interface Register / Bit Map A.1.1 Register Map Func. Start Address Read/Write Description Code 0x0000 ~ Read Process input image registers (Real Input Register) 4, 23 0x0800 ~ Read/Write Process output image registers (Real Output Register)
  • Page 41: Ascii Transmission Mode

    HX-RIO3 Series A.2.2. ASCII Transmission Mode When devices are setup to communicate on a MODBUS serial line using ASCII (American Standard Code for Information Interchange) mode, each 8–bit byte in a message is sent as two ASCII characters. This mode is used when the physical communication link or the capabilities of the device does not allow the conformance with RTU mode requirement regarding timers management.
  • Page 42: (0X02) Read Discrete Inputs

    HX-RIO3 Series • Response Field name Example Start of Frame t1-t2-t3 Slave Address 0x07 0x07 Function Code 0x01 0x01 Byte Count 0x02 0x02 Output Status 0x55 0x55 Output Status 0x02 0x02 Error Check (CRC/LRC) 0x8F, 0x6D End of Frame t1-t2-t3 * In case of address 0x1015~0x1000 output bit value: 00000010_01010101.
  • Page 43: (0X03) Read Holding Registers

    HX-RIO3 Series A.3.3. 3 (0x03) Read Holding Registers This function code is used to read the contents of a contiguous block of holding registers in a remote device. The Request PDU specifies the starting register address and the number of registers.
  • Page 44: (0X04) Read Input Registers

    HX-RIO3 Series A.3.4. 4 (0x04) Read Input Registers This function code is used to read from 1 to approx. 125 contiguous input registers in a remote device. The Request PDU specifies the starting register address and the number of registers. The register data in the response message are packed as two bytes per register, with the binary contents right justified within each byte.
  • Page 45: (0X05) Write Single Coil

    HX-RIO3 Series A.3.5. 5 (0x05) Write Single Coil This function code is used to write a single output to either ON or OFF in a remote device. The requested ON/OFF state is specified by a constant in the request data field. A value of FF 00 hex requests the output to be ON.
  • Page 46: (0X06) Write Single Register

    HX-RIO3 Series A.3.6. 6 (0x06) Write Single Register This function code is used to write a single holding register in a remote device. Therefore register numbered 1 is addressed as 0. The normal response is an echo of the request, returned after the register contents have been written.
  • Page 47: (0X08) Diagnostics

    HX-RIO3 Series A.3.7. 8 (0x08) Diagnostics MODBUS function code 08 provides a series of tests for checking the communication system between a client (Master) device and a server (Slave), or for checking various internal error conditions within a server. The function uses a two–byte sub-function code field in the query to define the type of test to be performed.
  • Page 48 HX-RIO3 Series ✓ Sub-function 0x0001(1) Restart Communications Option The remote device could be initialized and restarted, and all of its communications event counters are cleared. Especially, data field 0x55AA makes the remote device to restart with factory default setup of EEPROM.
  • Page 49: 15 (0X0F) Write Multiple Coils

    HX-RIO3 Series ✓ Sub-function 0x0064(100) Return Slave MODBUS, Extension module Status The response data field returns the status of MODBUS and Extension module addressed to the remote device. This status values are identical with status 1word of input process image. Refer to 5.3.1.
  • Page 50: 16 (0X10) Write Multiple Registers

    HX-RIO3 Series A.3.9. 16 (0x10) Write Multiple Registers This function code is used to write a block of contiguous registers (1 to approx. 120 registers) in a remote device. The requested written values are specified in the request data field. Data is packed as two bytes per register.
  • Page 51: 23 (0X17) Read/Write Multiple Registers

    HX-RIO3 Series A.3.10. 23 (0x17) Read/Write Multiple Registers This function code performs a combination of one read operation and one write operation in a single MODBUS transaction. The write operation is performed before the read. The request specifies the starting address and number of holding registers to be read as well as the starting address, number of holding registers, and the data to be written.
  • Page 52: Modbus Special Register Map

    A.4.2. Adapter Identification Special Register (0x1000, 4096) Address Access Type, Size Description 0x1000(4096) Read 1 word Vendor ID = 0x02E5(741), Hitachi. Co., Ltd. 0x1001(4097) Read 1 word Device Type = 0x000C, Network Adapter Product Code = 0x9100(GN-9371) / 0x9110(GN-9372) 0x1002(4098) Read...
  • Page 53: Adapter Information Special Register (0X1100, 4352)

    HX-RIO3 Series A.4.4. Adapter Information Special Register (0x1100, 4352) Address Access Type, Size Description 0x1102(4354) Read 1word Start address of input image word register. =0x0000 0x1103(4355) Read 1word Start address of output image word register. =0x0800 0x1104(4356) Read 1word Size of input image word register.
  • Page 54: Expansion Slot Information Special Register (0X2000, 8192)

    0x1610(5648) Read 3words Mac Address (ex : 0014 F700 0101 = 00.14.F7.00.01.01) Serial connection Method - 0x0000 : HITACHI Modbus/RTU(Default) - 0x8000 : RS232 Enable for CODESYS Function block 0x1614(5652)* Read/Write 1word - 0x8001 : RS485 Enable for CODESYS Function block...
  • Page 55 HX-RIO3 Series Slot#39 0x24C0(9408)~0x24DF(9439) Slot#40 0x24E0(9440)~0x24FF(9471) Slot#41 0x2500(9472)~0x251F(9503) Slot#42 0x2520(9504)~0x253F(9535) Slot#43 0x2540(9536)~0x255F(9567) Slot#44 0x2560(9568)~0x257F(9599) Slot#45 0x2580(9600)~0x259F(9631) Slot#46 0x25A0(9632)~0x25BF(9663) Slot#47 0x25C0(9664)~0x25DF(9695) Slot#48 0x25E0(9696)~0x25FF(9727) Slot#49 0x2600(9728)~0x261F(9759) Slot#50 0x2620(9760)~0x263F(9791) Slot#51 0x2640(9792)~0x265F(9823) Slot#52 0x2660(9824)~0x267F(9855) Slot#53 0x2680(9856)~0x269F(9887) Slot#54 0x26A0(9888)~0x26BF(9919) Slot#55 0x26C0(9920)~0x26DF(9951) Slot#56 0x26E0(9952)~0x26FF(9983) Slot#57 0x2700(9984)~0x271F(10015)
  • Page 56 HX-RIO3 Series Address Type, Access Description Offset Size + 0x00(+0) Read 1word Slot module id. Refer to Appendix A.1 Product List. + 0x02(+2) ** Read 1word Input start register address of input image word this slot. Input word’s bit offset of input image word this slot.
  • Page 57: Example

    HX-RIO3 Series ST-4123 0x8200 ST-221F 0x4200 ST-2324 0xC4C4 Input/output Data Type: 0 0: No I/O Data / 0 1: Byte Data / 1 0: Word Data / 1 1: Bit Data Input/output Data Length: 0 0 0 0 0 0 0: 0 Bit/Byte/Word / 0 0 0 0 0 0 1: 1 Bit/Byte/Word / 0 0 0 0 0 1 0: 2 Bit/Byte/Word 0 0 0 0 0 1 1: 3 Bit/Byte/Word / 0 0 0 0 0 1 1: 3 Bit/Byte/Word A.5.
  • Page 58 HX-RIO3 Series 0: Normal Operation 1: Internal protocol Standby 2: Internal protocol Communication Fault 3: Slot Configuration Failed 4: No Expansion Slot ✓ FP (Field Power) : 0: 24Vdc Field Power On. 1: 24Vdc Field Power Off ✓ EW (MODBUS Error Watchdog) : 0: No Error Watchdog 1: Error Watchdog once more since its last restart, clear counters operation, or power-up.
  • Page 59 HX-RIO3 Series • Input Process Image Mode#3 (Compressed Input Processing Data without Status) Addr. 0x0000 Analog Input Ch0 high byte (Slot#3) Analog Input Ch0 low byte (Slot#3) 0x0001 Analog Input Ch1 high byte (Slot#3) Analog Input Ch1 low byte (Slot#3)
  • Page 60: Example Of Output Process Image(Output Register) Map

    HX-RIO3 Series A.5.2. Example of Output Process Image(Output Register) Map Output image data depends on slot position and expansion slot data type. Output process image data is only ordered by expansion slot position when output image mode is uncompressed (mode 0). But, when output image mode is compressed (mode 1), output process image data is ordered by expansion slot position and slot data type.
  • Page 61: Modbus Reference

    HX-RIO3 Series • Output Process Image Mode#1 (Compressed Output Processing Data) Addr. 0x0800 Analog out Ch0 high byte (Slot#3) Analog out Ch0 low byte (Slot#3) 0x0801 Analog out Ch1 high byte (Slot#3) Analog out Ch1 low byte (Slot#3) 0x0802 Analog out Ch2 high byte...
  • Page 62: Appendix B - Product List

    HX-RIO3 Series B. APPENDIX B - Product List RIO3-Number Description ID (hex) Digital Input Module 1238 RIO3-XDP8 8 Points, Universal, 24Vdc, 10RTB 123F RIO3-XDP16C 16 Points, Universal, 24Vdc, 20P connector 12DF RIO3-XDP16T 16 Points, Universal, 24Vdc, 18RTB 12FA RIO3-XDP32C 32 Points, Universal, 24Vdc, 40P connector...
  • Page 63 HX-RIO3 Series Special Module High Speed Counter, 2CHs, 24Vdc, Encoder Input, 10RTB RIO3-CU24L 1CH, RS 232, RTS/CTS, Full Duplex Type, 10RTB 5211 RIO3-RS232 1CH, RS 485, Half Full Duplex Type, 10RTB 5231 RIO3-RS485 PWM Output, 2CHs, 0.5A/24Vdc, Source, 18RTB 5442 RIO3-PWM2 Pulse Output, 2CHs, 0.5A/24Vdc, Source, 18RTB...

This manual is also suitable for:

Rio3-cp3mbt

Table of Contents