CREVIS FnIO GN-9372 User Manual

CREVIS FnIO GN-9372 User Manual

Modbus programmable i/o
Table of Contents

Advertisement

1
FnIO G-Series
MODBUS Programmable I/O GN-9371/2/3
MODBUS
Programmable I/O
GN-9371 / 72 / 73
User Manual
Version 1.00
2019 CREVIS Co.,Ltd
Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FnIO GN-9372 and is the answer not in the manual?

Questions and answers

Summary of Contents for CREVIS FnIO GN-9372

  • Page 1 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 MODBUS Programmable I/O GN-9371 / 72 / 73 User Manual Version 1.00 2019 CREVIS Co.,Ltd Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 2 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 DOCUMENT CHANGE SUMMARY PAGE REMARKS DATE EDITOR 1.00 New Released 2019/04/30 ydsong Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 3: Table Of Contents

    Removable Terminal Block (RTB) ................19 5.4. Method of Wiring...................... 19 G Series PIO (Programmable I/O) Functions ................. 20 6.1. Connection to IO Guide Pro by Modbus RTU *(RS-232 or RS-485) ......20 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 4 13. Trace Manager ........................71 Breakpoints (GN-9372 / 73 only) .................... 73 User DB (ID / PW, GN-9372 / 73 only) ................... 74 Upgrade Firmware ......................... 75 16.1. Using IAP over Ethernet ................... 75 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 5 MODBUS Reference ....................101 APPENDIX B - Product List ......................102 APPENDIX C – HMI connection example ................... 105 Beijer HMI Master- PLC Slave(TCP)............... 105 Beijer HMI Master- PLC Slave(RTU) ..............107 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 6: Important Notes

    In no event will CREVIS be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
  • Page 7: Safety Instruction

    The modules are equipped with electronic components that may be destroyed by electrostatic discharge. When handling the modules, ensure that the environment (persons, workplace and packing) is well grounded. Avoid touching conductive components. 1.1.3. Certifications Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 8: G-Series System

    The Expansion Modules are supported a variety of input and output field devices. There are digital and analog input/output modules and special function modules. • Two types of Message Service Messaging / I/O Messaging Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 9: I/O Process Image Map

    The data exchange between network adapter and expansion modules is done via an I/O process image data by internal-protocol. The following figure shows the data flow of process image between network adapter and expansion modules. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 10: Specification

    Test time : 5hrs for each test IEC 60068-2-27 EMC resistance burst/ESD EN 61000-6-2 : 2005 EN 61000-6-4/ALL : 2011 Installation Pos. / Protect. Class Variable / IP20 Product Certifications UL, CE, RoHS2, FCC, KC Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 11: Interface Specification

    1 Green/Red, Module Status (MOD) 1 Green/Red, Network Status (NET) Indicator 1 Green/Red, PLC Run/Stop Status (RUN) 1 Green/Red, Expansion I/O Module Status (IOS) 1 Green, System Power Status 1 Green, Field Power Status Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 12: Gn-9371 / 72 / 73 Ethernet Connection Specification

    * GN-9371 is an economic version derived from GN-9372. * FireFox is recommended for the use of Web Visualization. * GN-9372/73’s four functions below can work at the same time. (Web visualization, OPC Server, Network-Variable, and CODESYS link) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 13: Module Description

    MODBUS Programmable I/O GN-9371/2/3 4. Module Description 4.1. GN-9371 / 72 / 73 (MODBUS Programmable I/O) The modules are not hot swappable. It means that they should be not removed in power on condition. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 14: Led Indicator

    * Blinking MOD & NET LED : BootP/DHCP is requesting the address data for new IP address. (You can change the IP setting mode. Please refer to this manual in the part of IP set-up.) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 15: Plc Run/Stop Status Led (Run)

    - Mismatch vendor code between adapter and I/O module. 4.2.6. Field Power Status LED State LED is : To indicate : Not Supplied Field Power Not supplied 24V dc field power. Supplied Field Power Green Supplied 24V dc field power. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 16: Socket , Rs232/485 Port

    Retain memory Push for 20sec and Factory Erase PLC user program and power reset default PLC parameter reset Hold down and reset Available for firmware download IAP mode the power. using FireFox Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 17: Rtb Terminal Block

    Field supply voltage (24Vdc). Do not touch data and field power pins in order to avoid soiling and damage by ESD noise. To prevent ESD noise, it is recommended to use the END module. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 18: Dimension (Mm)

    To do so, fold on the upper of the locking lever. To pull out the FnIO module, unfold the locking lever as above figure. Before starting the work on the components, the voltage supply must be turned off. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 19: Removable Terminal Block (Rtb)

    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. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 20: G Series Pio (Programmable I/O) Functions

    6.1. Connection to IO Guide Pro by Modbus RTU *(RS-232 or RS-485) (1) Installation program, ‘IO Guide Pro Tool’ downloaded by CREVIS Webpage (www.crevis.co.kr). (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 21 (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’. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 22: Connection To Io Guide Pro By Modbus Tcp

    (7) Now ready to use the IO Guide Pro with RTU. 6.2. Connection to IO Guide Pro by Modbus TCP (1) Open the IO Guide Pro Tool and Click the ‘New project’ Icon (Same as RTU). Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 23 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 (2) Write the ‘Project Name’, Select the ‘Bus Type’ & the ‘Location’ and Click the ‘OK’. (3) After creating a project and click the ‘Automatic Scan’ Icon. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 24 MODBUS Programmable I/O GN-9371/2/3 (2) Click the ‘Scan’ button. (4) After the end to scan the network, Click the ‘OK’ button. (5) Now ready to use the IO Guide Pro with Modbus TCP. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 25: Confirmation Of Network Information

    The MAC address is manufactured into every network card, such as an Ethernet card or Wi-Fi card, and therefore can’t change. (1) Run ‘[Crevis] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 26 :::1604 (Gate way Register) :::1610 (Mac Address Register) *Function(Dec) : 03, Read Holding Registers (3) After clicking the ‘send’ button and confirm the necessary information. If you choose 'ByteDec', easier to see. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 27: Bootp / Dhcp

    IP address from a server which has a list of addresses available for assignment. (1) Run ‘[Crevis] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 28 160B (IP Setting Method Register) *Function(Dec) : 16, Write Multiple registers (2) Write the register value and click the ‘Send’ button. *Not Use : 0000 / *BootP Setting : 8000 / *DHCP Setting : 8001 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 29: Setup Ip Address

    FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 6.5. Setup IP Address User can assign the IP Address manually via the CREVIS Bootp Server in IO Guide Pro. Default IP Address is 192.168.100.100 (1) Run ‘[Crevis]  [IOGuidePro]  [Bootp Server]’ GN-9371/2/3 can support DHCP or Bootp.
  • Page 30 Turn on the power of GN-9371/2/3, 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 duration above from the Bootp server. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 31 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 (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. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 32: Serial Communication Settings

    RS485 can be selected from the register address, “0x1608”. 0 : 115200(Default) 1 : 2400 2 : 4800 3 : 9600 4 : 19200 5 : 38400 6 : 57600 7 : 115200 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 33 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 (1) Run ‘[Crevis] -> [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)
  • Page 34: 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 ‘[Crevis] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ (2) Write the value of each. *Protocol : Modbus RTU...
  • Page 35: Rtc(Real Time Clock) Function

    RTC information of GN-9371/72/73 is stored in address 0x1620 in the Register, also can be read. (1) Run ‘[Crevis] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ (2) Write the value of each. *Protocol : Modbus TCP, Modbus RTU...
  • Page 36: Webserver (Gn-9371 / 72 / 73)

    (1) Main page is showing various information for PIO status. (2) To access the webserver, IP Address/setup.htm (is required) (3) When you click the expansion menu, user can check the extension module status. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 37 (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. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 38: Ip Default Setting

    The switch should be pushed for 20 seconds at least. PIO will be fall into the factory default mode. All of PIO LED will blink in Green/Red. The default IP setting is IP address 192.168.100.100 Subnet Mask 255.255.255.0 Gateway 192.168.100.254 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 39: Programing The Pio (Codesys)

    7.2.1. Installation of XML [Tools]  [Device Repository], Click ‘PLCs’ and select PIO Description (Download to CREVIS website), Install… Compressed file: G-Series XML(CoDeSys) / CVS_G-Series_Rack.devdesc *Please check whether they are installed correctly or not. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 40 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 *Please check whether they are installed correctly or not. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 41: Created Project

    7.2.2. Created Project (1) Run the CODESYS program. (2) [File]  [New Project], select ‘Standard project’. Write the Project Name & Location. Click ‘OK’ (3) Select Device : GN-9371/2/3, select the Programming Language. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 42: Codesys User Interface

    Click on the model you want to use, and click ‘Plug Device’. For the normal operation, you must select the module image in order through the CODESYS like the user configuration. Auto Scan is not supported. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 43 If there are no set values in the red square, you can program the variable area set by the address. If you use the variable set by the POU or GVL, you can use the variable area after deleting the variable in the address. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 44: Modbus Tcp Setting

    (3) Add Device after Selecting Ethernet and Add MODBUS TCP Master Click Ethernet (Ethernet)  right click  Click ‘Add Device’ Click ‘Fieldbuses’  ‘Modbus TCP Master’  ‘Modbus TCP Master’ and ‘Add Device’ Click. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 45 (4) Add Device after adding MODBUS TCP Master and Add Modbus TCP Slave Click Modbus_TCP_Master  right click  Click ‘Add Device’ Click ‘Fieldbuses’  ‘Modbus’  ‘Modbus TCP Slave’  ‘Modbus TCP Slave’ and ‘Add Device’ Click. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 46 (5) Configuration the ModbusTCP Slave Click ‘Modbus_TCP_Slave’(Modbus TCP Slave) Write Slave IP Address (GN-9371/2/3) Click ‘Modbus Slave Channel’ Add a channel of GN-9371/2/3 and Modify Cycle Time * Default Cycle Time(ms) : 100ms. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 47: Tcp Slave Setting

    Click ‘Fieldbus’  ‘Ethernet Adapter’  ‘Ethernet’ and ‘Add Device’ Click. (3) Add Device Modbus TCP Slave Click Ethernet  right click  Click ‘Add Device’ Click ‘Fieldbuses’  ‘Modbus’  ‘Modbus TCP Slave’  ‘Modbus TCP Slave’ and ‘Add Device’ Click. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 48 If user want to retain these data permanently, check out the radio box in Time out. Click ‘Modbus Slave Device I/O Mapping’ The Address will be assigned automatically. It is shown that the offset of address. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 49: Network Variable

    * You have to select UDP as network type. / * List identifier and Node ID is the same concept. (3) Add a Global Network Variable List in the Receiver * You find a selection list of all GVLs with network properties currently available in the project. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 50 (5) It is possible to create a program using a global variable. in prog_sender in the sender application enter the following use of variable iglobvar. in prog_Receiver in the receiver application also use variable iglobvar. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 51: Download And Monitoring

    After write the IP address and click ‘OK’ , double click the Gateway icon to make it activated. (2) Login [Online]  [Login]  Download to Application  Entry into Monitoring Mode  [Debug]  [RUN] Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 52: Opc Server (Gn-9372 / 73 Only)

    FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 7.6. OPC Server (GN-9372 / 73 only) (1) Add Object for the Symbolic Configuration to Application Project (2) Define the Symbolic variable to configure the OPC variable. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 53 (4) In order to set the OPC configurator, user should know either Device address or IP address when it is used by TCP/IP mode. Click the Device so that user can choose the TCP/IP mode. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 54 (5) To use the OPC server variable at outside of PIO, user should set the OPC configurator, Click the OPC configurator in the windows menu. - OPC Configurator Tool: Supported by (32bits) - OPC Configurator Tool: Not Supported by (64bits) (6) In OPC configurator, choose the “GATEWAY3” interface. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 55 Set the PIO IP address into the PLC IP address. The PLC IP Port should be ‘11740’. (9) Save and completion After setting the all of OPC configurator stages, user should click the expert and save. If it doesn`t work, OPC server will not be operated. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 56: Modbus Rtu Master(Gn-9371 / 72 / 73)

    CODESYS Setting(RTU M/Serial com)* CODESYS Setting(RTU M/Serial com)* *RTU Master mode or Serial communication mode for example Barcode and so on. (2) Add Device for Modbus COM from Modbus Serial Port at Device tree menu. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 57 By choosing the COM port number, RTU type can be decided from CODESYS Tool. << COM Port 1: RS-232 Set-up available / COM Port 2: RS-485 Set-up available >> (4) Add Device for the Modbus_Master_COM_Port at the Modbus_COM tree menu. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 58 (5) Set the Response Timeout and Time between frames at the Modbus_Master_COM_Port configuration tap. (It does not support the ASCII mode in PIO) (6) Add the device of Modbus_Slave_COM_Port at the Modbus_Master_COM_Port tree menu. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 59 (7) Set the Slave Address Number and Response Timeout at the Modbus_Slave_COM_Port configuration tap. (8) At the Modbus Slave Channel Tap, user can set the Modbus Address. (9) Below is the address for Modbus Generic Serial Slave I/O Mapping. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 60: Web Visualization (Gn-9373 Only)

    (2) Set the Web Visualization option on the Web Visualization manager. User should set the Start Visualization path, and can set the visualization windows size. (3) Add the visualization object to Application project Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 61 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 (4) Set the Visualization Manager should be 3.5.9.0. (5) Make the Web visualization page Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 62 No. 6 Hotkeys Configuration: definition of shortcuts for inputs on the visualization in online mode. No. 7 Element list: List of all elements used in the visualization, possibility to change their position on the z-axis. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 63: File System

    Online pop up menu. After click this, it will be downloaded immediately. (4) If user wand to extract the project file from the PIO, click the Source Upload menu in Comp. Select the activated PIO. Route: File -> Source upload Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 64: Sntp

    (2) Enable the SNTP Service. IP Address of First SNTP Server : PC IP Address (3) The current time will change in order to be same as the server time. (Current Time can be checked on the web-server or CODESYS program.) (4) Web Server Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 65: Event Log

    - Events during the startup and shutdown of the system (components loaded, with version) - Application download and loading of the boot application - Custom entries - Log entries from I/O drivers - Log entries from data sources (1) Route: Device’ -> Log Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 66: File Transfer (Gn-9372 / 73 Only)

    (2) PC files can be stored to PIO, and stored files from PIO can be transferred to the PC (3) Files will be stored to Program Memory (GN-9371: 512Kbytes / GN-9372, 9373: 16Mbytes) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 67: Recipe Manger

    User can save a recipe to a file or write directly from files to the PLC. Recipes can be loaded via the CODESYS development interface, the visualization element, or the application program. (1) Route: Device -> Application -> Add Object -> Recipe Manager Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 68 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 69 In the recipe definition (1), you define different value sets for the variables, which are termed recipes (2). User can toggle the display of the recipe definition between the flat list view (3) and the structured view (4). In the structured view, CODESYS groups variables according to structure. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 70 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 User can save the Recipe about their valued variables. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 71: Trace Manager

    CODESYS displays its course in the trace editor. (1) Route: Device -> Application -> Add Object -> Trace (2) Click ‘Add variable’ to select the variable, and make the input value visible. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 72 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 (3) After the ‘Download Trace’, user can see the simple graph under the valued variable. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 73: Breakpoints (Gn-9372 / 73 Only)

    (1) Select the desired line and press F9 to set the brake point. Start by pressing F5. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 74: User Db (Id / Pw, Gn-9372 / 73 Only)

    Do not use existing names or sequence of characters that are easy to guess (for example, “123”, “abc”, “qwerty”) (1) Route: Online → Security → Add Online User (2) The first time you run the project, you have to log in. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 75: 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 :crevis / Password : crevis) (4) Search the file to download using a search button.
  • Page 76 FnIO G-Series MODBUS Programmable I/O GN-9371/2/3 (6) If it finish, you can see a below message (File Upload Done!) And click a ‘Reset Adapter’ button. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 77: Trouble Shooting

    RUN LED flashed -PLC program stop Check the toggle switch is up. Green Check the module hardware and RUN LED flashed red -Failure of Module Configuration software configurations are the same. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 78: How To Diagnose When Device Couldn't Communicate Network

    Configuration of communication baud rate I/O size Configuration of each node Ground and environment - Check ground is contacted - Check environment factor (temperature, humidity, etc.) is in less than regular limit Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 79: Appendix A - Modbus Interface

    Each message must be transmitted in a continuous stream of characters. Start Address Function Data CRC Check ≥ 3.5 chars ≥ 3.5 chars 1 char 1 char Up to 252 chars 2 chars Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 80: Ascii Transmission Mode

    0x01 Starting Address Hi 0x10 0x10 Starting Address Lo 0x00 0x00 Quantity of Outputs Hi 0x00 0x00 Quantity of Outputs Lo 0x0A 0x0A Error Check (CRC/LRC) 0xB8, 0xAB End of Frame t1-t2-t3 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 81: (0X02) Read Discrete Inputs

    0x02 0x02 Byte Count 0x02 0x02 Input Status 0x80 0x80 Input Status 0x00 0x00 Error Check (CRC/LRC) 0x50, 0x78 End of Frame t1-t2-t3 In case of address 0x0015~0x0000 output bit value: 00000000_10000000. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 82: (0X03) Read Holding Registers

    Output Register #1 Hi 0x33 0x33 Output Register #1 Lo 0x44 0x44 Error Check (CRC/LRC) 0x2D, 0xC6 End of Frame t1-t2-t3 In case of address 0x0800, 0x0801 output register value: 0x1122, 0x3344. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 83: (0X04) Read Input Registers

    Input Register #1 Hi 0x00 0x00 Input Register #1 Lo 0x00 0x00 Error Check (CRC/LRC) 0x9C, 0x6C End of Frame t1-t2-t3 In case of address 0x0000, 0x0001 input register value: 0x0080, 0x0000. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 84: (0X05) Write Single Coil

    0x10 Output Address Lo 0x01 0x01 Output Value Hi 0xFF 0xFF Output Value Lo 0x00 0x00 Error Check (CRC/LRC) 0xD9, 0x5C End of Frame t1-t2-t3 Output bit of address 0x1001 turns ON. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 85: (0X06) Write Single Register

    0x00 Output Value Hi 0x11 0x11 Output Value Lo 0x22 0x22 Error Check (CRC/LRC) 0x07, 0x85 End of Frame t1-t2-t3 In case of address 0x0800 outputs register value: 0x0000 changes to 0x1122. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 86: (0X08) Diagnostics

    The data passed in the request data field is to be returned (looped back) in the response. The entire response message should be identical to the request. Sub-function Data Field (Request) Data Field (Response) Description 0x0000(0) Echo Request Data Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 87 (neither a normal response nor an exception response), since its last restart, clear counters operation, or power–up. Sub-function Data Field (Request) Data Field (Response) Description Slave No Response 0x000F(15) 0x0000 Count Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 88: 15 (0X0F) Write Multiple Coils

    Quantity of Outputs Hi 0x00 0x00 Quantity of Outputs Lo 0x0A 0x0A Error Check (CRC/LRC) 0xD1, 0x6A End of Frame t1-t2-t3 In case of address 0x1015~0x1000 output bit value: 00000000_00000000 changes to 00000001_01010101. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 89: 16 (0X10) Write Multiple Registers

    0x00 0x00 Quantity of Outputs Lo 0x02 0x02 Error Check (CRC/LRC) 0x43, 0xCE End of Frame t1-t2-t3 In case of address 0x0800, 0x0801 output register value: 0x0000, 0x0000 changes to 0x1122, 0x3344. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 90: 23 (0X17) Read/Write Multiple Registers

    0x33 Write Reg. Value #1 Lo 0x44 0x44 Error Check (CRC/LRC) 0x2E, 0xD2 End of Frame t1-t2-t3 In case of address 0x0800, 0x0801 output register value: 0x0000, 0x0000 changes to 0x1122, 0x3344. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 91: Modbus Special Register Map

    Composite Id of following address 0xA8C0(Lo_IP Addr),0x3264(Hi_IP Addr),0xFFFF(Lo_NetMask), 0x00FF(Hi_NetMask),0xA8C0(GateWay),0xFE64(GateWay), 0x101E(4126) Read 15words 0x1400(MacAddr),0x00F7(MacAddr),0xBA83(MacAddr), 0x02E5(VendorCode),0x000C(DeviceType), 0x9120(ProductCode), 0x0200(FW_Rev), 0x0420(FW_ReleasData), 0x2018(FW_ReleasYear) * String Type consists of valid string length (first 1word) and array of characters. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 92: Adapter Information Special Register (0X1100, 4352)

    Reserved. Adapter IO identification vendor code. * After the system is reset, the new “Set Value” action is applied. * If the slot location is changed, set default value automatically (all expansion slots are live). Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 93: Adapter Setting Special Register (0X1600, 5632)

    - 3 word : mmdd (mm : month, dd : day) - 4 word : yyyy (yyyy : year) (ex : 0010 0F28 0317 07E0 = 2016 - 03.23 - 15:40 - 16) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 94: Expansion Slot Information Special Register (0X2000, 8192)

    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) Slot#58 0x2720(10016)~0x273F(10047) Slot#59 0x2740(10048)~0x275F(10079) Slot#60 0x2760(10080)~0x277F(10111) Slot#61 0x2780(10112)~0x279F(10143) Slot#62 0x27A0(10144)~0x27BF(10175) Slot#63 0x27C0(10176)~0x27DF(10207) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 95 0x27BC(9148) 0x27DC(9180) ……. + 0x1C(+28) 0x201C(8220) 0x203C(8252) 0x205C(8284) 0x27BD(9149) 0x27DD(9181) ……. + 0x1D(+29) 0x201D(8221) 0x203D(8253) 0x205D(8285) 0x27BE(9150) 0x27DE(9182) ……. + 0x1E(+30) 0x201E(8222) 0x203E(8254) 0x205E(8286) ……. + 0x1F(+31) 0x201F(8223) 0x203F(8255) 0x205F(8287) 0x23BF(9151) 0x27DF(9183) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 96 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 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 97: Example

    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. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 98 Analog Input Ch2 low byte (Slot#8) Analog Input Ch1 high byte (Slot#8) 0x0010 Analog Input Ch3 low byte (Slot#8) Analog Input Ch2 high byte (Slot#8) 0x0011 Analog Input Ch3 high byte (Slot#8) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 99 * Size of input image bit is size of input image register *16.  Input Assembly Priority : Analog Input Data (Word type) 8 or 16 points Discrete Input Data (Byte type) 4 points Input Data (Bit type) 2 points Input Data (Bit type) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 100: Example Of Output Process Image(Output Register) Map

    Analog out Ch2 high byte Analog out Ch2 low byte (Slot#7) (Slot#7) 0x0810 Analog out Ch3 high byte Analog out Ch3 low byte (Slot#7) (Slot#7) Discrete out 4pts Empty, Don’t care Empty, Don’t care 0x0811 (Slot#8) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 101: Modbus Reference

    8 or 16 points Discrete Output Data (Byte type) 4 points Output Data (Bit type) 2 points Output Data (Bit type) MODBUS Reference MODBUS Reference Documents http://www.Modbus.org MODBUS Tools http://www.Modbustools.com, MODBUS poll http://www.win-tech.com, MODSCAN32 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 102: Appendix B - Product List

    16 Channels, 0~20, 4~20mA, 16bits, 18RTB 319F GT-3424 4 Channels, 0~10, 0~5, 1~5Vdc, 12bits, 10RTB 3424 GT-3464 4 Channels, 0~10, 0~5, 1~5Vdc, 16bits, 10RTB 3464 GT-3428 8 Channels, 0~10, 0~5, 1~5Vdc, 12bits, 10RTB 3428 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 103 16CH, 0~10Vdc, 16Bits, 18RTB 449F Special Module GT-5102 2CH, Encoder, Input, 5Vdc, 10RTB 5102 GT-5211 1CH, RS 232, RTS/CTS, Full Duplex Type, 10RTB 5211 GT-5212 2CH, RS 232, Full Duplex Type, 10RTB 5212 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 104 GT-7508 Common for 0Vdc 7508 GT-7511 Power Expansion, In 24Vdc, Out 1A/5Vdc 7511 GT-7518 Common for 24Vdc 7518 GT-7588 Common for 0Vdc, 24Vdc 7588 GT-7641 Field Power, 5/24/48 Vdc, 110/220 Vac 7641 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 105: Appendix C - Hmi Connection Example

    8192 words Internal memory (Area is write-enabled) Set the HMI for the Modbus Master system. It could be different for depends on the HMI system. In this example, it is set by Modcon Modbus Master for HMI Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 106 Set the Hexadecimal address system and address. Set the station IP address for PIO(Slave). Read the 30000 address for the PIO slave input address. Read/Write the 40800 for the PIO slave output address. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 107: Beijer Hmi Master- Plc Slave(Rtu)

    Special Function Register (PIO Information) 0x2000~0x2FFF Special Function Register (Slot Information) 0x4000~0x5FFF %MW0~%MW8191 8192 words Internal memory (Area is write-enabled) Set the HMI for the Modbus Master system. Set the Hexadecimal address system and address. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.kr...
  • Page 108 Read the 30000 address for the PIO slave input address. Read/Write the 40800 for the PIO slave output address. It is same as other CREVIS Modbus slave system address. These example are for using Beijer TXA series. In other HMI systems, it could be another way to use.
  • Page 109 29-4, Gigok-ro, Giheung-gu, Yongin-si, Gyeonggi-do (17099) 대한민국 South Korea 대표 번호 : 031-899-4599 TEL : +82-31-899-4599 영업/마케팅 : 031-899-4501 / 502 / 503 Sales : +82-31-899-4508 / 515 / 516 팩스 번호 : 031-899-4509 FAX : +82-31-899-4509 전자 메일 : crevis@crevis.co.kr E-mail : crevis@crevis.co.kr...

Table of Contents

Save PDF