BeiJer GN-9371 User Manual

BeiJer GN-9371 User Manual

Programmable io
Table of Contents

Advertisement

Programmable IO
GN-9371
GN-9372
GN-9273
User manual
Page 1 of (110)
G-series GN-9371_2_3 PIO Rev. 1.02.docx

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for BeiJer GN-9371

  • Page 1 Programmable IO GN-9371 GN-9372 GN-9273 User manual Page 1 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 2 GN-9371_2_3 User Manual DOCUMENT CHANGE SUMMARY REV. PAGES REMARKS DATE Editor 1.01 First release 2019/05/13 NJL/CSM 8.1 Source download and upload 2019/06/07 1.02 (GN-9372 / GN-9373 only) Page 2 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 3: Table Of Contents

    Electrical Interface ............................7 I/O Process Image Map ............................. 8 Specification ................................9 General Specification ............................9 Interface Specification ............................10 GN-9371/9372/9373 Ethernet Connection Specification .................. 11 Module Description ..............................12 GN-9371/72/73 (MODBUS Programmable I/O) ....................12 LED Indicator ..............................13 4.2.1 Module Status LED (MOD) ...........................
  • Page 4 MODBUS Reference ............................102 APPENDIX B - Product List............................103 APPENDIX C – HMI connection example ........................106 C.1 Beijer HMI Master- PLC Slave(TCP) ........................106 C.2 Beijer HMI Master- PLC Slave(RTU) ........................108 Page 4 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 5: Important Notes

    GN-9371_2_3 User Manual 1 Important Notes Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.
  • Page 6: Safety Instruction

    GN-9371_2_3 User Manual 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 7: Series System

    GN-9371_2_3 User Manual 2 G-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 8: I/O Process Image Map

    GN-9371_2_3 User Manual 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 9: Specification

    GN-9371_2_3 User Manual 3 Specification 3.1 General Specification General Specification Supply Voltage : 24Vdc nominal System Power Supply Voltage range : 15~32Vdc Protection : Output current limit (Min. 1.5A) Reverse polarity protection Power Dissipation 110mA typical @ 24Vdc Current for I/O Module 1.5A @5Vdc Isolation System Power to internal logic : Non-Isolation...
  • Page 10: Interface Specification

    GN-9371_2_3 User Manual 3.2 Interface Specification Programmable Specification Module list GN-9371 GN-9372 GN-9373 Programming CODESYS V3.5.11.3 Run-Time System Multiple PLC Tasks Program Languages IEC 61131-3 (LD, IL, ST, FBD, SFC) Program Memory 512 Kbytes 16 Mbytes 96 Kbytes 16 Mbytes...
  • Page 11: Gn-9371/9372/9373 Ethernet Connection Specification

    16 clients can be connected. * While using these functions, 16 socket are available at the same time. * 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.
  • Page 12: Module Description

    GN-9371_2_3 User Manual 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. Page 12 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 13: Led Indicator

    GN-9371_2_3 User Manual 4.2 LED Indicator 4.2.1 Module Status LED (MOD) LED is State To indicate No Power No power is supplied to the unit. Device Green The unit is operating in normal condition. Operational Blinking Green The EEPROM parameter is not initialized yet. Device in Standby Serial Number is zero value (0x00000000) Toggle...
  • Page 14: Extension Module Status Led (I/O)

    GN-9371_2_3 User Manual 4.2.4 Extension Module Status LED (I/O) State LED is To indicate Not Powered Device has no expansion module or may not be powered No Expansion Module On-line, Blinking Green I/O Communication is normal but does not exchange I/O data. Do not Exchanging (Passed the expansion module configuration).
  • Page 15: Socket, Rs232/485 Port

    GN-9371_2_3 User Manual 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 Toggle Switch Module is Description...
  • Page 16: Rtb Terminal Block

    GN-9371_2_3 User Manual 4.5 RTB Terminal Block 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, Ground Field Power, 24V Field Power, 24V - System Power: The power for starting up CPU. - Field Power: The power for input and output line.
  • Page 17: Dimension (Mm)

    GN-9371_2_3 User Manual 4.7 Dimension (mm) Page 17 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 18: Mechanical Setup

    GN-9371_2_3 User Manual 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 FnIO module from jamming, it should be fixed onto the DIN rail with locking level. To do so, fold on the upper of the locking lever. To pull out the FnIO module, unfold the locking lever as above figure.
  • Page 19: Removable Terminal Block (Rtb)

    GN-9371_2_3 User Manual 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. Page 19 of (110) G-series GN-9371_2_3 PIO Rev.
  • Page 20: Series Pio (Programmable I/O) Functions

    GN-9371_2_3 User Manual 6 G Series PIO (Programmable I/O) Functions CREVIS IO Guide Pro is compatible with the PIO(GN-9371/2/3). The basic parameter set-up and configuration for the PIO is available via the IO Guide Pro. And user can set up the IP Address, RTC from the Webserver page.
  • Page 21 GN-9371_2_3 User Manual (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’. Page 21 of (110) G-series GN-9371_2_3 PIO Rev.
  • Page 22 GN-9371_2_3 User Manual (7) Now ready to use the IO Guide Pro with RTU. Page 22 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 23: Connection To Io Guide Pro By Modbus Tcp

    GN-9371_2_3 User Manual 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). (2) Write the ‘Project Name’, Select the ‘Bus Type’ & the ‘Location’ and Click the ‘OK’. Page 23 of (110) G-series GN-9371_2_3 PIO Rev.
  • Page 24 GN-9371_2_3 User Manual (3) After creating a project and click the ‘Automatic Scan’ Icon. (2) Click the ‘Scan’ button. (4) After the end to scan the network, Click the ‘OK’ button. Page 24 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 25 GN-9371_2_3 User Manual (5) Now ready to use the IO Guide Pro with Modbus TCP. Page 25 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 26: Confirmation Of Network Information

    6.3 Confirmation of Network Information Network Condition about the IP Address, Subnet Mask, Gate Way, Mac Address of GN-9371/2/3 can be checked, or set up from the following process below by using the IO Guide Pro Tool under Modbus RTU, and Modbus TCP protocol types.
  • Page 27 GN-9371_2_3 User Manual (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) :::1604 (Gate way Register) :::1610 (Mac Address Register) *Function(Dec) : 03, Read Holding Registers (3) After clicking the ‘send’...
  • Page 28: Bootp / Dhcp

    GN-9371_2_3 User Manual 6.4 BOOTP / DHCP ‘IP Address’ setting is available for BOOTP / DHCP. * BOOTP: short for Bootstrap Protocol, is a UDP network protocol used by a network client to obtain its IP address automatically. This is usually done in the bootstrap process of computers or operating systems running on them.
  • Page 29 GN-9371_2_3 User Manual (1) Write the value of each. *Protocol : ModbusTCP, Modbus RTU *ComPort : User Port / Baudrate : 115200(default) *Address(Hex) : 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 Page 29 of (110) G-series GN-9371_2_3 PIO Rev.
  • Page 30: Setup Ip Address

    Default IP Address is 192.168.1.50 (1) Run ‘[Crevis]  [IOGuidePro]  [Bootp Server]’ GN-9371/2/3 can support DHCP or Bootp. If DHCP server is working on the same network, Bootp is not available. In this case, IP set-up is only available from the DHCP server.
  • Page 31 (3) Double Click ‘MAC address of GN-9371/2/3’. 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.
  • Page 32 GN-9371_2_3 User Manual (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 32 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 33: Serial Communication Settings

    GN-9371_2_3 User Manual 6.6 Serial Communication Settings Setting according to the each communication state is possible Because GN-9371/2/3 is available the RS232 and RS485 Serial Communications. • Station Setting The following illustration is an area of Register 0x160A address that can be used to set the code of Serial communication.
  • Page 34 GN-9371_2_3 User Manual (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) : 1607 (RS232 Use bit Setting Register) : 1608 (RS485 Baud rate Register) : 1609 (RS485 Use bit Setting Register) *Function(Dec) : When the value is write - 16, Write Multiple registers...
  • Page 35: Memory Reset

    GN-9371_2_3 User Manual 6.7 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 *ComPort : User Port / Baudrate : 115200(default) *Address(Hex)
  • Page 36: Rtc (Real Time Clock) Function

    A real-time clock (RTC) is a computer clock (most often in the form of an integrated circuit) that keeps track of the current time. RTC information of GN-9371/72/73 is stored in address 0x1620 in the Register, also can be read.
  • Page 37: Gn-9371/2/3 Webserver

    GN-9371_2_3 User Manual 6.9 GN-9371/2/3 Webserver (1) Main page is showing various information for PIO status. (2) To access the webserver, Address/setup.htm (is required) (3) When you click the expansion menu, user can check the extension module status. Page 37 of (110)
  • Page 38 GN-9371_2_3 User Manual (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 Page 38 of (110) G-series GN-9371_2_3 PIO Rev.
  • Page 39: Ip Default Setting

    GN-9371_2_3 User Manual 6.10 IP Default Setting When user forget the IP address, After power on the PIO and push the Reset switch in front of PIO. 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.
  • Page 40: Programming The Pio (Codesys)

    GN-9371_2_3 User Manual 7 Programming the PIO (CODESYS) 7.1 Download and Install CODESYS Please use the version of ‘CODESYS V3.5.11.3 (V3.5 SP11 Patch3)’. Except for the above version, any versions including the latest version will not be compatible with PIO. The library of V3.5.11.3 need to be used to the latest version if user want to use the latest CODESYS version.
  • Page 41 GN-9371_2_3 User Manual *Please check whether they are installed correctly or not. Page 41 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 42: 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. Page 42 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 43: Codesys User Interface

    GN-9371_2_3 User Manual 7.2.3 CODESYS User Interface Variable Window Slot Information Program Editor Message Window 7.2.4 Setup I/O (1) Additional Device 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.
  • Page 44 GN-9371_2_3 User Manual (2) Setting Device Parameter and IO Mapping Click IO  Right click  Click ‘Edit object’. • Parameter setting Click ‘Digital IOs Configuration’ * The setting unit of the parameter is bytes. • IO Mapping Click ‘Digital IOs I/O Mapping’ If there are no set values in the red square, you can program the variable area set by the address.
  • Page 45: Modbus Tcp Setting

    7.3 MODBUS TCP Setting 7.3.1 TCP Master Setting (1) Add Device Click Device(GN-9371/2/3)  right click  Click ‘Add Device…’. (2) Add Ethernet Adapter Click ‘Fieldbus’  ‘Ethernet Adapter’  ‘Ethernet’ and ‘Add Device’ Click. (3) Add Device after Selecting Ethernet and Add MODBUS TCP Master Click Ethernet (Ethernet) ...
  • Page 46 GN-9371_2_3 User Manual To use the continuously without disconnection, it should be checked the “auto-reconnect” (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. Page 46 of (110) G-series GN-9371_2_3 PIO Rev.
  • Page 47 (5) Configuration of 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. Page 47 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 48: Tcp Slave Setting

    GN-9371_2_3 User Manual 7.3.2 TCP Slave Setting (1) Add Device Click Device(GN-9371/2/3)  right click  Click ‘Add Device…’. (2) Add Ethernet Adapter Click ‘Fieldbus’  ‘Ethernet Adapter’  ‘Ethernet’ and ‘Add Device’ Click. (3) Add Device Modbus TCP Slave Click Ethernet ...
  • Page 49 (4) Set the ModbusTCP Slave address Click ‘Config-Page’(Modbus TCP Slave) Set the address for the GN-9371/2/3 slave * Regarding the time out check box. When the time out box checked, the Modbus slave mapped data from master will be retained for set time(ms).
  • Page 50: Network Variable

    GN-9371_2_3 User Manual 7.4 Network Variable (1) Click ‘Application’  Right click and click ‘Add Object’  Click ‘Network Variable List (Sender)’. * You have to add one more devices in the devices tree. (2) Define the network properties of the sender GVL * You have to select UDP as network type.
  • Page 51 GN-9371_2_3 User Manual (4) Created by Global Variables. (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. Page 51 of (110) G-series GN-9371_2_3 PIO Rev.
  • Page 52: Download And Monitoring

    GN-9371_2_3 User Manual Download and Monitoring (1) Communication Settings • Scan network(UDP) [Device]  [Communication Settings], click ‘Scan network’. After completing the search, double click the Gateway icon to make it activated. • Add device(TCP) [Device]  [Communication Settings], click ‘Add device’. After write the IP address and click ‘OK’...
  • Page 53: Opc Server (Gn-9372/Gn-9373 Only)

    GN-9371_2_3 User Manual 7.6 OPC Server (GN-9372/GN-9373 only) (1) Add Object for the Symbolic Configuration to Application Project (2) Define the Symbolic variable to configure the OPC variable. Page 53 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 54 GN-9371_2_3 User Manual (3) At the Symbol configuration screen, after click the “build” button, the defined variable will appear in order to activate the OPC server. User can set this variable to be exposed to outside as OPC variable in use click the radio button on it. (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.
  • Page 55 GN-9371_2_3 User Manual (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”...
  • Page 56 GN-9371_2_3 User Manual (7) At the Connection tap, click the Edit button. Input the PLC name. (*Refer the (4) section.) Gateway IP address should be same as the PC IP address(gateway), the Port number should be 1217. (8) TCP mode OPC configuration setting If it is operated with TCP/IP mode, check the “Use TCP/IP blockdriver”...
  • Page 57: Modbus Rtu Master (Gn-9372/Gn-9373 Only)

    GN-9371_2_3 User Manual 7.7 Modbus RTU Master (GN-9372/GN-9373 only) (1) In order to use the Modbus RTU master function, user should set the Modbus Register 1614. Address Access Type, Size Description 0x1614(5652)* Read/Write 1word Serial connection Method - 0x0000 : CREVIS Modbus/RTU(Default) - 0x8000 : RS232 Enable for CODESYS Function block - 0x8001 : RS485 Enable for CODESYS Function block - 0x8002 : RS232/RS485 Enable at the same time...
  • Page 58 GN-9371_2_3 User Manual (3) Set the Master port number, Baud rate, parity, Data Bits, Stop Bit and so on in Modbus Com configuration tap. 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.
  • Page 59 GN-9371_2_3 User Manual (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. Page 59 of (110) G-series GN-9371_2_3 PIO Rev.
  • Page 60 GN-9371_2_3 User Manual (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. Page 60 of (110) G-series GN-9371_2_3 PIO Rev.
  • Page 61: Web Visualization (Gn-9373 Only)

    GN-9371_2_3 User Manual 7.8 Web Visualization (GN-9373 only) (1) Add Web Visualization manager to Application project (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.
  • Page 62 GN-9371_2_3 User Manual (4) Set the Visualization Manager should be 3.5.9.0. (5) Make the Web visualization page Page 62 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 63 GN-9371_2_3 User Manual (6) Web visualization page on the Web Browser. On the web browser, type the “IP address:8080/webvisu.htm” as like below. It is recommended to use at Chrome and FireFox browser. (7) The visualization editor opens after a double-click on a visualization object. No.1 Graphical editor: this is where you create a visualization from the visualization elements that are provided in the view Tools.
  • Page 64: File System

    GN-9371_2_3 User Manual 8 File System 8.1 Source download and upload (GN-9372 / GN-9373 only) In this tab of the generic device editor, you can transfer files between CODESYS (host) and the PLC. If the communication settings are correct and the PLC is online, then CODESYS establishes the connection automatically to the PLC for the duration of the file transfer.
  • Page 65: Sntp

    GN-9371_2_3 User Manual 9 SNTP (1) Route: Device -> Parameters (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 Page 65 of (110)
  • Page 66 GN-9371_2_3 User Manual (5) CODESYS Program Page 66 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 67: Event Log

    GN-9371_2_3 User Manual 10 Event Log User can view the PLC log in this tab of the generic device editor. It lists the events that were recorded on the target system. This concerns: - 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...
  • Page 68: File Transfer (Gn-9372/Gn-9373 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 Memor (GN-9371: 512Kbytes / GN-9372 and GN-9373: 16Mbytes) Page 68 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 69: Recipe Manger

    GN-9371_2_3 User Manual 12 Recipe Manger Use recipes to change or read recipes values for a specific set of variables (recipe definition) on the controller at the same time. Users define the basic settings for recipes, such as save location and format, in the object Recipe Manager. Insert one or more recipe definitions below this object.
  • Page 70 GN-9371_2_3 User Manual Page 70 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 71 GN-9371_2_3 User Manual 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).
  • Page 72 GN-9371_2_3 User Manual User can save the Recipe about their valued variables. Page 72 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 73: Trace Manager

    GN-9371_2_3 User Manual 13 Trace Manager A Trace makes it possible to record the value history of variables on the PLC — just like a digital sampling oscilloscope. When the application is in runtime mode with trace, all statements are executed first within the task cycle. Then, data recording starts with value storage including time stamps.
  • Page 74 GN-9371_2_3 User Manual Page 74 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 75: Breakpoints (Gn-9372/Gn-9373 Only)

    GN-9371_2_3 User Manual 14 Breakpoints (GN-9372/GN-9373 only) Breakpoints are commonly used for debugging programs. You can set breakpoints at specific positions in the program to force an execution stop and to monitor variable values. You can also set data breakpoints to halt program execution when the value of a specific variable changes.
  • Page 76: User Db (Id / Pw, Gn-9372/Gn-9373 Only)

    GN-9371_2_3 User Manual 15 User DB (ID / PW, GN-9372/GN-9373 only) This command configures a new online user and adds this user to the administrator group. The application is in online mode, and the target system supports online user management. This command opens the Add Online User dialog box where you define the login data of the new user.
  • Page 77: Upgrade Firmware

    (1) Apply a power with pushing a reset button(Mod LED will blink Green/Red). (2) Execute Firefox.(It is recommended to using Firefox) (3) Connect to 192.168.1.51 and login (User ID: Beijer Electronics / Password: Beijer Electronics) (4) Search the file to download using a search button.
  • Page 78 GN-9371_2_3 User Manual (6) If it finish, you can see a below message (Update Firmware Done!) And click a ‘Reset Adapter’ button. Page 78 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 79: Trouble Shooting

    GN-9371_2_3 User Manual 17 Trouble Shooting 17.1 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 80: How To Diagnose When Device Couldn't Communicate Network

    GN-9371_2_3 User Manual 17.2 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. Terminator resistor - If terminator resistor is not installed, install terminator resistor - Check location of terminator resistor...
  • Page 81: Appendix A - Modbus Interface

    GN-9371_2_3 User Manual APPENDIX A - MODBUS INTERFACE A.1 MODBUS Interface Register / Bit Map • Register Map Start Address Read/Write Description Func. Code 0x0000 ~ Read Process input image registers (Real Input Register) 4, 23 0x0800 ~ Read/Write Process output image registers (Real Output Register) 3, 16, 23 0x1000 ~ Read...
  • Page 82: Ascii Transmission Mode

    GN-9371_2_3 User Manual 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 83: 0X02) Read Discrete Inputs

    GN-9371_2_3 User Manual • 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 84: 0X03) Read Holding Registers

    GN-9371_2_3 User Manual A.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. The register data in the response message are packed as two bytes per register, with the binary contents right justified within each byte.
  • Page 85: 0X04) Read Input Registers

    GN-9371_2_3 User Manual A.3.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 86: 0X05) Write Single Coil

    GN-9371_2_3 User Manual A.3.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 87: 0X06) Write Single Register

    GN-9371_2_3 User Manual A.3.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 88: 0X08) Diagnostics

    GN-9371_2_3 User Manual A.3.7 (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. The server echoes both the function code and sub-function code in a normal response.
  • Page 89 GN-9371_2_3 User Manual 4) Refer the A.4.2 sumcheck(0x1006)  Sub-function 0x000A(10) Clear Counters and Diagnostic Register The goal is to clear all counters and the diagnostic register. Counters are also cleared upon power–up. Sub-function Data Field (Request) Data Field (Response) Description 0x000A(10) 0x0000...
  • Page 90: 0X0F) Write Multiple Coils

    GN-9371_2_3 User Manual A.3.8 (0x0F) Write Multiple Coils This function code is used to force each coil in a sequence of coils to either ON or OFF in a remote device. The Request PDU specifies the coil references to be forced. Coils are addressed starting at zero. A logical '1' in a bit position of the field requests the corresponding output to be ON.
  • Page 91: 0X10) Write Multiple Registers

    GN-9371_2_3 User Manual A.3.9 (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. The normal response returns the function code, starting address, and quantity of registers written.
  • Page 92: 0X17) Read/Write Multiple Registers

    GN-9371_2_3 User Manual A.3.10 (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 93: Modbus Special Register Map

    Vendor ID = 0x02E5(741), Crevis. Co., Ltd. 0x1000(4096) Read 1 word Device type = 0x000C, Network Adapter 0x1001(4097) Read 1 word Product Code = 0x1004(GN-9371) / 0x1006(GN- 0x1002(4098) Read 1 word 9372)/0x1008(GN-9373) Firmware revision, if 0x0101, revision 1.001 0x1003(4099) Read...
  • Page 94: Adapter Information Special Register (0X1100, 4352)

    GN-9371_2_3 User Manual A.4.3 Adapter Information Special Register (0x1100, 4352) Address Access Type, Size Description 0x1100(4352) Reserved. 0x1101(4353) Reserved. 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...
  • Page 95: Adapter Setting Special Register (0X1600, 5632)

    - 4 word : yyyy (yyyy : year) (ex : 07D8 0514 0F19 0006 = 2008. 05.20. 15.25. 06) *0x1614(5652) is not supported for GN-9371. *RS-232C/485 Setting : This description for 0x1607/0x1609 register with bit. **Modbus Station : This description for 0x160A register with bit.
  • Page 96: Expansion Slot Information Special Register (0X2000, 8192)

    GN-9371_2_3 User Manual A.4.5 Expansion Slot Information Special Register (0x2000, 8192) Each expansion slot has 0x20(32) address offset and same information structure. Slot#1 0x2000(8192)~0x201F(8223) Slot#2 0x2020(8224)~0x203F(8255) Slot#3 0x2040(8256)~0x205F(8287) Slot#4 0x2060(8288)~0x207F(8319) Slot#5 0x2080(8320)~0x209F(8351) Slot#6 0x20A0(8352)~0x20BF(8383) Slot#7 0x20C0(8384)~0x20DF(8415) Slot#8 0x20E0(8416)~0x20FF(8447) Slot#9 0x2100(8448)~0x211F(8479) Slot#10 0x2120(8480)~0x213F(8511) Slot#11...
  • Page 97 GN-9371_2_3 User Manual Address Expansion Expansion Expansion …….. Expansion Expansion Offset Slot#1 Slot#2 Slot#3 Slot#62 Slot#63 + 0x00(+0) 0x2000(8192) 0x2020(8224) 0x2040(8256) ……. 0x27A0(9120) 0x27C0(9152) + 0x01(+1) 0x2001(8193) 0x2021(8225) 0x2041(8257) ……. 0x27A1(9121) 0x27C1(9153) + 0x02(+2) 0x2002(8194) 0x2022(8226) 0x2042(8258) ……. 0x27A2(9122) 0x27C2(9154) + 0x03(+3) 0x2003(8195) 0x2023(8227)
  • Page 98 GN-9371_2_3 User Manual Address Access Type, Description Offset Size + 0x00(+0) Read 1word Slot module id. Refer to Appendix A.1 Product List. + 0x01(+1) Read 1word Expansion Slot IO code. Refer to Table IO Data Code Format. + 0x02(+2) ** Read 1word Input start register address of input image word this slot.
  • Page 99: Example

    GN-9371_2_3 User Manual 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 100 GN-9371_2_3 User Manual • 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) Analog Input Ch1 low byte (Slot#3) 0x0003 Analog Input Ch2 high byte (Slot#3)
  • Page 101: Example Of Output Process Image(Output Register) Map

    GN-9371_2_3 User Manual • 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) 0x0002 Analog Input Ch2 high byte (Slot#3) Analog Input Ch2 low byte (Slot#3)
  • Page 102: Modbus Reference

    GN-9371_2_3 User Manual • Output Process Image Mode#0 (Uncompressed Output Processing Data), default output image Addr. Discrete out 4pts 0x0800 Discrete out 8pts Empty, Don’t care (Slot#2) (Slot#1) 0x0801 Analog out Ch0 high byte Analog out Ch0 low byte (Slot#3) (Slot#3) 0x0802 Analog out Ch1 high byte...
  • Page 103: Appendix B - Product List

    GN-9371_2_3 User Manual APPENDIX B - Product List No. GT-Number Description ID(hex) Digital Input Module GT-1238 8 Points, Universal, 24Vdc, 10RTB 1238 GT-123F 16 Points, Universal, 24Vdc, 20P connector 123F GT-12DF 16 Points, Universal, 24Vdc, 18RTB 12DF GT-12FA 32 Points, Universal, 24Vdc, 40P connector 12FA GT-1804 4 Points, 120Vac, 10RTB...
  • Page 104 GN-9371_2_3 User Manual GT-3468 8 Channels, 0~10, 0~5, 1~5Vdc, 16bits, 10RTB 3468 GT-342F 16 Channels, 0~10, 0~5, 1~5Vdc, 12bits, 20P connector 342F GT-346F 16 Channels, 0~10, 0~5, 1~5Vdc, 16bits, 20P connector 346F GT-347F 16 Channels, 0~10, 0~5, 1~5Vdc, 12bits, 18RTB 347F GT-349F 16 Channels, 0~10, 0~5, 1~5Vdc, 16bits, 18RTB...
  • Page 105 GN-9371_2_3 User Manual GT-5232 2CH, RS 485, Half Full Duplex Type, 10RTB 5232 GT-5352 2CH, Synchronous Serial Interface Input, 10RTB 5352 GT-5521 1CH, Stepper Module (TBD) 5521 Power Module GT-7408 Shield Module 7408 GT-7508 Common for 0Vdc 7508 GT-7511 Power Expansion, In 24Vdc, Out 1A/5Vdc 7511 GT-7518 Common for 24Vdc...
  • Page 106: Appendix C - Hmi Connection Example

    GN-9371_2_3 User Manual APPENDIX C – HMI connection example C.1 Beijer HMI Master- PLC Slave(TCP) Set the HMI connect and PIO with same network system by LAN. PIO can support the Modbus TCP slave communication, separately CODESYS Modbus TCP master/slave function.
  • Page 107 GN-9371_2_3 User Manual 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. Page 107 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...
  • Page 108: Beijer Hmi Master- Plc Slave(Rtu)

    GN-9371_2_3 User Manual C.2 Beijer HMI Master- PLC Slave(RTU) Connect the PIO with HMI using the serial cable. PIO can support the RS232 and RS485 port simultaneously. HMI should support RS232 or RS485 for Modbus RTU master. PIO can support the Modbus RTU slave only. Not supported the master mode.
  • Page 109 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 of (110)
  • Page 110 GN-9371_2_3 User Manual Head office Beijer Electronics AB Box 426 20124 Malmö, Sweden Phone +46 40 358600 www.beijerelectronics.com Page 110 of (110) G-series GN-9371_2_3 PIO Rev. 1.02.docx...

This manual is also suitable for:

Gn-9372Gn-9273

Table of Contents