Hitachi HX-RIO3 Series User Manual
Hitachi HX-RIO3 Series User Manual

Hitachi HX-RIO3 Series User Manual

Modbus programmable i/o
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.2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HX-RIO3 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Hitachi HX-RIO3 Series

  • Page 1 HX-RIO3 Series MODBUS Programmable I/O RIO3-CP3MBT User Manual Version 1.2...
  • Page 2 HX-RIO3 Series DOCUMENT CHANGE SUMMARY PAGE REMARKS DATE EDITOR 1.02 Jan 21 Faber 1.02 Remove product list table and add a reference Aug 21 Faber Serial COM Port information added (p16), EAC Logo added 1.021 Oct 21 Faber (p7), Typo corrected...
  • Page 3: Table Of Contents

    HX-RIO3 Series Contents 1. Important Notes .....................................7 1.1. Safety Instruction...................................8 1.1.1. Symbols .....................................8 1.1.2. Safety Notes ..................................8 1.1.3. Certifications ..................................8 2. RIO3-Series System..........................9 2.1. Electrical Interface .................................9 2.2. I/O Process Image Map ..............................10 3. Specification ............................11 3.1. General Specification ................................ 11 3.2.
  • Page 4 5.2. How to dismount on Din-Rail ............................21 5.3. Removable Terminal Block (RTB)..........................22 5.4. Method of Wiring................................22 6. HX-RIO3 Series PIO (Programmable I/O) Functions ................23 6.1. Connection to IOGuidePro by Modbus RTU (RS-232 or RS-485)..............23 6.2. Connection to IOGuidePro by Modbus TCP......................25 6.3.
  • Page 5 HX-RIO3 Series 7.3.1. Read Slot Parameter ..............................44 7.3.2. Write Slot Parameter..............................44 7.3.3. Example to access the extended I/O module parameter ................45 8. Upgrade Firmware ..........................46 8.1. Using IAP over Ethernet..............................46 9. CPU Usage ............................48 10. Troubleshooting ..........................49 10.1.
  • Page 6 HX-RIO3 Series A.4. MODBUS Special Register Map............................ 63 A.4.1. Adapter Register Mapping............................. 63 A.4.2. Adapter Identification Special Register (0x1000, 4096) ................63 A.4.4. Adapter Information Special Register (0x1100, 4352) ................. 64 A.4.5. Adapter Setting Special Register (0x1600, 5632) ..................65 A.4.6.
  • Page 7: Important Notes

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

    HX-RIO3 Series 1.1. Safety Instruction 1.1.1. Symbols Identif ies inf ormation 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. Identif ies inf ormation that is critical f or successf ul application and understanding of the product.
  • Page 9: Rio3-Series System

    HX-RIO3 Series 2. RIO3-Series System 2.1. Electrical Interface Network Adapter Module The Network Adapter Module f orms the link between the f ield bus and the f ield devices with the Expansion Modules. The connection to dif f erent f ield bus systems can be established by each of the corresponding Network Adapter Module, e.g.
  • Page 10: 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, conf iguration 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 11: 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 12: Programmable Specification

    HX-RIO3 Series 3.3. Programmable Specification Programmable Specification Module list RIO3-CP3MBT CODESYS V3.5.11.3 (FW REV 2.xxx) Programming CODESYS V3.5.17.0 (FW REV 3.xxx) Run-Time System Multiple PLC Tasks Program Languages IEC 61131-3 (LD, IL, ST, FBD, SFC) Program Memory 16 MByte 16 MByte...
  • Page 13: Interface Specification

    HX-RIO3 Series 3.4. Interface Specification Interface Specification Adapter Type Master & Slave Node (Modbus TCP, Modbus RTU) Max. Expansion 63 Slots Max. Data Size Max. 128Byte each slot (Input + Output) Max. Nodes Limited by Ethernet Specif ication Baud rate...
  • Page 14: Module Description

    HX-RIO3 Series 4. Module Description 4.1. Wiring Diagram Pin No. Signal Description Signal Description Pin No. System Power, 24V System Power, Ground System Power, 24V System Power, Ground Field Power, Ground Field Power 0V, Ground Field Power, 24V Field Power, 24V System power and Field power must be supplied separately by using the different power source The modules are not hot swappable.
  • Page 15 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 the recommended voltage level.
  • Page 16: Led Indicator

    HX-RIO3 Series 4.2. LED Indicator 4.2.1. MOD (Module Status LED) State LED state To indicate No Power Of f 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 17: Run (Plc Run/Stop Status Led)

    HX-RIO3 Series 4.2.3. RUN (PLC Run/Stop Status LED) State LED state To indicate Not Programmed Of f 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 18: Exception Indication

    HX-RIO3 Series 4.2.6. Exception indication To indicate Booting Green Blinking Green Blinking IAP Mode Green/Red Toggle Program reset Red/Green (Toggle every 0.25s) Factory reset Red/Green (Toggle every 0.25s) IO Watchdog error CODESYS Task Watchdog error CODESYS License error Red /Green...
  • Page 19: Toggle Switch And Push Button

    HX-RIO3 Series 4.4. Toggle Switch and Push Button Toggle Switch Module in Description Status PLC Run DOWN STOP PLC Stop Push Button Module is Description Press and detach. Reset Reset the PLC and then stop. Erase PLC user program and...
  • Page 20: Pin Description

    HX-RIO3 Series 4.6. Pin Description Communication between the Network adapter and the expansion module as well as system / f ield power supply of the bus modules is carried out via the internal bus. It is comprised of 6 data pins and 2 f ield power pins.
  • Page 21: Mechanical Setup

    HX-RIO3 Series 5. Mechanical Setup 5.1. How to mount on Din-Rail 5.2. How to dismount on Din-Rail As above f igure in order to saf eguard the RIO3 module f rom jamming, it should be f ixed onto the DIN rail with locking level.
  • Page 22: Removable Terminal Block (Rtb)

    HX-RIO3 Series 5.3. Removable Terminal Block (RTB) 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 f requency can cause severe damage to...
  • Page 23: Hx-Rio3 Series Pio (Programmable I/O) Functions

    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. (3) Write the ‘Project Name’, Select the ‘Bus Type’ & the ‘Location’ and Click the ‘OK’.
  • Page 24 HX-RIO3 Series (4) After creating a project and Click the ‘Automatic scan’ Icon. (5) Write the value(Port, Node, Baudrate), and Click the ‘Scan’ button. (6) After the end to scan the network, Click the ‘OK’. (7) Now ready to use the IO Guide Pro with RTU.
  • Page 25: 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 26 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 27 HX-RIO3 Series (3) After clicking the ‘send’ button and confirm the necessary information. If you choose 'ByteDec', easier to see.
  • Page 28: 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 29 HX-RIO3 Series (2) Write the register value and click the ‘Send’ button. *Not Use : 0000 *BOOTP Setting : 8000 *DHCP Setting : 8001...
  • Page 30: 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 31 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 f or 4 seconds. IP set-up can be available within the...
  • Page 32 HX-RIO3 Series (4) Set the IP, and click ‘OK’. (5) Finish Subnet Mask and Gateway are assigned automatically by the value that is set in the computer.
  • Page 33: 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 f or RS232 and RS485 serial communication. Station Setting The f ollowing illustration is an area of Register 0x160A address that can be used to set the code of Serial communication.
  • Page 34 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 35: Memory Reset

    Data f ield 0x55AA makes the remote device to restart with f actory def ault setup of EEPROM. *All expansion slot conf iguration parameters are cleared. (1) Run ‘[Hitachi] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ (2) Write the value of each.
  • Page 36: Rtc(Real Time Clock) Function

    A real-time clock (RTC) is a computer clock (most of ten in the f orm of an integrated circuit) that keeps track of the current time. RTC inf ormation 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 :...
  • Page 37 HX-RIO3 Series RTC can be checked & set using the f ollowing methods; (4) CODESYS Verif y & change the current time. - 2021Y 01M 01D 00h 00m 00s - RTV value every 100ms (5) Web-Server Verif y & change the current time.
  • Page 38: Webserver

    HX-RIO3 Series 6.9. Webserver (1) Main page is showing various inf ormation f or 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 39 HX-RIO3 Series (4) User can easily change and set the RTC time. If you click the ‘Get Time’ button, the clock time f rom PC will be adapted to PIO. (5) Using the Network setting, user can set the IP/Subnet mask/Gateway.
  • Page 40: Ip Default Setting

    HX-RIO3 Series 6.10. IP Default Setting When user f orget the IP address, Af ter power on the PIO and push the Reset switch in f ront of PIO. The switch should be pushed f or 20 seconds at least. PIO will be f all into the f actory def ault mode.
  • Page 41: External Feature Library

    HX-RIO3 Series 7. External Feature Library 7.1. Battery State of charge ❖ RTC data or RETAIN data will not be saved if the battery is not charged enough. Scope Name Type Comment TRUE: Battery charging required Output xError BOOL FALSE: Battery charged...
  • Page 42: Read / Write Special Register (Pio Parameter Access)

    HX-RIO3 Series 7.2. Read / Write Special Register (PIO Parameter Access) ❖ The MODBUS Special Register Map listed in the specif ication can do “read / write” by programming logic through the library as the f ollowings ; 7.2.1. Read Special Register...
  • Page 43: Example To Change Special Register

    HX-RIO3 Series 7.2.3. Example to change Special Register (1) Test to change the RS-232 Baud rate – 7 (115200) (2) Write Special Register sample logic ❖ Af ter setting the value, the login & download is required. - wAddress : Special Register Address = 16#1606...
  • Page 44: Read / Write Slot Parameter

    HX-RIO3 Series 7.3. Read / Write Slot Parameter ❖ Caution : Continuous writing of the I/O parameter can cause problems in the I/O slot. So it needs to be used only when required. 7.3.1. Read Slot Parameter Scope Name Type...
  • Page 45: Example To Access The Extended I/O Module Parameter

    HX-RIO3 Series 7.3.3. Example to access the extended I/O module parameter RIO3-AXH4V (1) Create a WriteslotParam sample logic ❖ Af ter setting the value, the login & download is required. - bSlotaddress : Slot Address : 1 (if f irst slot : 1 / if 10 th slot : 10)
  • Page 46: Upgrade Firmware

    (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) (4) Search the file to download using search button.
  • Page 47 HX-RIO3 Series (5) Click Update Firmware Button. (6) If it finish, you can see a below message (File Upload Done!) And click ‘Reset Adapter’ button.
  • Page 48: Cpu Usage

    HX-RIO3 Series 9. CPU Usage CPU load can be checked as the following and below is an example (1) PIO RTOS Task Scheduling * Based on the priority of the task, lower-priority tasks will grant the CPU usage only after higher-priority tasks have utilized their required resources.
  • Page 49: Troubleshooting

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

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

    HX-RIO3 Series A. APPENDIX A - MODBUS INTERFACE A.1. MODBUS Interface Register / Bit Map A.1.1. Register Map Start Read/Write Description Func. Code Address 0x0000 ~ Read Process input image registers (Real Input Register) 4, 23 0x0800 ~ Read/Write Process output image registers (Real Output Register)
  • Page 52: 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 f or Inf ormation 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 co nf ormance with RTU mode requirement regarding timers management.
  • Page 53: (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 54: (0X03) Read Holding Registers

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

    HX-RIO3 Series A.3.4. 4 (0x04) Read Input Registers This f unction code is used to read f rom 1 to approx. 125 contiguous input registers in a remote device. The Request PDU specif ies 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 justif ied within each byte.
  • Page 56: (0X05) Write Single Coil

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

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

    HX-RIO3 Series A.3.7. 8 (0x08) Diagnostics MODBUS f unction code 08 provides a series of tests for checking the communication system between a client (Master) device and a server (Slave), or f or checking various internal error conditions within a server.
  • Page 59 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 f ield 0x55AA makes the remote device to restart with f actory def ault setup of EEPROM.
  • Page 60: 15 (0X0F) Write Multiple Coils

    HX-RIO3 Series ✓ Sub-function 0x0064(100) Return Slave MODBUS, Extension module Status The response data f ield 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. Ref er to 5.3.1.
  • Page 61: 16 (0X10) Write Multiple Registers

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

    HX-RIO3 Series A.3.10. 23 (0x17) Read/Write Multiple Registers This f unction code perf orms a combination of one read operation and one write operation in a single MODBUS transaction. The write operation is perf ormed bef ore the read. The request specif ies 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 63: 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 0x1002(4098) Read 1 word Product Code = 0x9120(RIO3-CP3MBT)
  • Page 64: 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 65: Adapter Setting Special Register (0X1600, 5632)

    0x1610(5648) Read 3words Mac Address (ex : 0014 F700 0101 = 00.14.F7.00.01.01) Serial connection Method - 0x0000 : HITACHI Modbus/RTU(Def ault) - 0x8000 : RS232 Enable f or CODESYS Function block / RTU 0x1614(5652) Read/Write 1word Master CODESYS Serial Port Conf ig Setting: COM Port 1...
  • Page 66: Expansion Slot Information Special Register (0X2000, 8192)

    HX-RIO3 Series **Modbus Station : This description for 0x160A register with bit. A.4.6. Expansion Slot Information Special Register (0x2000, 8192) Each expansion slot has 0x20(32) address of f set and same inf ormation structure. Slot#1 0x2000(8192)~0x201F(8223) Slot#2 0x2020(8224)~0x203F(8255) Slot#3 0x2040(8256)~0x205F(8287)
  • Page 67 HX-RIO3 Series Address Expansion Expansion Expansion Expansion Expansion …….. Offset Slot#1 Slot#2 Slot#3 Slot#62 Slot#63 0x27A0(9120) 0x27C0(9152) ……. + 0x00(+0) 0x2000(8192) 0x2020(8224) 0x2040(8256) 0x27A1(9121) 0x27C1(9153) ……. + 0x01(+1) 0x2001(8193) 0x2021(8225) 0x2041(8257) 0x27A2(9122) 0x27C2(9154) ……. + 0x02(+2) 0x2002(8194) 0x2022(8226) 0x2042(8258) 0x27A3(9123) 0x27C3(9155) …….
  • Page 68 HX-RIO3 Series Type, Address Offset Access Description Size + 0x00(+0) Read 1word Slot module id. Ref er to Appendix A.1 Product List. + 0x02(+2) ** Read 1word Input start register address of input image word this slot. Input word’s bit of f set of input image word this slot.
  • Page 69: Example

    HX-RIO3 Series A.5. Example A.5.1. Example of Input Process Image (Input Register) Map Input image data depends on slot position and expansion slot data type. Input process image data is only ordered by expansion slot position when input image mode is uncompressed (mode 0, 2). But, when input image mode is compressed (mode 1, 3), input process image data is ordered by expansion slot position and slot data type.
  • Page 70 HX-RIO3 Series • Input Process Image Mode#1 (Status(1word) + Compressed Input Processing Data) Addr. Status (1word) 0x0000 Internal protocol Status 0x0001 Analog Input Ch0 high byte (Slot#3) Analog Input Ch0 low byte (Slot#3) 0x0002 Analog Input Ch1 high byte (Slot#3)
  • Page 71 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 72: 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 proces s image data is ordered by expansion slot position and slot data type.
  • Page 73: 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 74 HX-RIO3 Series...

This manual is also suitable for:

Rio3-cp3mbt

Table of Contents