FnIO S-Series MODBUS Programmable I/O NA-9379 MODBUS Programmable I/O NA-9379 User Manual Version 1.03 2014 CREVIS Co.,Ltd Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 FnIO S-Series DOCUMENT CHANGE SUMMARY REV PAGE REMARKS DATE EDITOR 1.0 New Document Draft 2013/04/05 JE Kang 1.01 Reorganize Draft 2014/03/25 YMKIM Modify the Pin Description 2014/05/08 YMKIM Draft 2014/05/29 YMKIM 1.02 1.03 Reorganize2 Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 FnIO S-Series CONTENTS 1. 2. 3. 4. Important Notes ......................................................................................................................................................... 7 1.1. Safety Instruction ...................................................................................................................................... 8 1.1.1. Symbols .....................................................................................
4. 5. 6. MODBUS Programmable I/O NA-9379 FnIO S-Series 3.5. RTB Terminal Block ................................................................................................................................ 18 3.6. Pin Description ......................................................................................................................................... 18 3.7. Dimension ...............................................................................................................
7. MODBUS Programmable I/O NA-9379 6.4. Network Variable .................................................................................................................................... 50 6.5. Download and Monitoring ................................................................................................................. 53 Upgrade Firmware ...................................................................................................................................................
MODBUS Programmable I/O NA-9379 FnIO S-Series A.4 MODBUS Special Register Map........................................................................................................ 72 A.4.1. Adapter Register Mapping................................................................................................................. 72 A.4.2. Adapter Identification Special Register (0x1000, 4096) ........................................................ 72 A.4.3.
MODBUS Programmable I/O NA-9379 FnIO S-Series 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.
MODBUS Programmable I/O NA-9379 1.1. FnIO S-Series 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. Identifies information about practices or circumstances that can lead to personal injury, property damage, or economic loss.
MODBUS Programmable I/O NA-9379 FnIO S-Series 2. S-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. for SyncNet, PROFIBUS, CANopen, DeviceNet, Ethernet/IP, CC-Link, MODBUS/Serial, MODBUS/TCP etc.
2.2. MODBUS Programmable I/O NA-9379 FnIO S-Series 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. 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.
MODBUS Programmable I/O NA-9379 3. Specification 3.1. General Specification General Specification System Power Power Dissipation Current for I/O Module Isolation Field Power Max. Current Field Power Contact Weight Module Size Supply voltage : 24Vdc nominal Supply voltage range : 11~28.8Vdc Protection : Output current limit (Min. 1.5A) Reverse polarity protection 110mA typical @ 24Vdc 1.
3.2. MODBUS Programmable I/O NA-9379 FnIO S-Series Interface Specification Programmable Specification Programming Program Memory CoDeSys V3.
MODBUS Programmable I/O NA-9379 FnIO S-Series 4. Module Description 4.1. NA-9379 (MODBUS Programmable I/O) The modules are not hot swappable and should be not removed in power on condition. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 4.2. FnIO S-Series LED Indicator LED No. MOD NET RUN I/O Field Power 3.2.1.
MODBUS Programmable I/O NA-9379 3.2.2. Module Status LED (MOD) State LED is : To indicate : No Power Off No power is supplied to the unit. Device Operational Green The unit is operating in normal condition. Device in Standby Blinking Green IAP Mode Flashing Green Minor Fault Blinking Red Unrecoverable Fault Red 3.2.3. FnIO S-Series The EEPROM parameter is not initialized yet. Serial Number is zero value (0x00000000) IAP Mode : Available for firmware download using FireFox.
MODBUS Programmable I/O NA-9379 3.2.5. Extension Module Status LED (I/O) State Not Powered No Expansion Module On-line, Do not Exchanging I/O Connection, Run Exchanging IO LED is : To indicate : Off Device has no expansion module or may not be powered Flashing Green Extension module is normal but does not exchanging I/O data (Passed the expansion module configuration). Green Exchanging I/O data Connection fault during exchanging IO Red Expansion Configuration Failed Flashing Red 3.2.6.
FnIO S-Series MODBUS Programmable I/O NA-9379 3.3. RJ-45 Socket , RS232/485 Port RJ-45 1 2 3 4 5 6 7 8 Case Signal Name TD+ TDRD+ RDShield RS 232/485 1 2 3 4 5 6 7 8 9 Signal Name RXD TXD GND D+ D- Description Transmit + Transmit Receive + Receive - Description RS232 RXD RS232 TXD RS232 GND RS 485 D+ RS485 D- 3.4. Toggle Switch , Push Button Copyright(C) CREVIS Co.,Ltd Toggle Switch Status UP Module is RUN DOWN STOP Push Button Press and release. Hold down and reset the power.
FnIO S-Series MODBUS Programmable I/O NA-9379 3.5. RTB Terminal Block Pin Signal Description Signal Description Pin 0 System Power 24V System Power 0V 1 2 F.G F.G 3 4 Field Power 0V Field Power 0V 5 6 Field Power 24V Field Power 24V 7 - System Power: The power for starting up CPU. - Field Power: The power for input and output line. Do not use an incorrect voltage/frequency! The use of an incorrect supply voltage or frequency can cause severe damage to the component. 3.6.
MODBUS Programmable I/O NA-9379 FnIO S-Series 3.7. Dimension (mm) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 FnIO S-Series 4. Mechanical Setup 4.3. Inserting and Removing the Module. 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 below figure. Before work is done on the components, the voltage supply must be turned off. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.
MODBUS Programmable I/O NA-9379 4.4. Removable Terminal Block (RTB) 4.5. Method of Wiring. FnIO S-Series 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.
MODBUS Programmable I/O NA-9379 5. Various Functions of PIO FnIO S-Series (With IO Guide Pro) Crevis IO Guide Pro is compatible with the PIO(NA-9379). The basic parameter set-up and configuration for the PIO is available via the IO Guide Pro. 5.1. Connect IO Guide Pro (MODBUS Serial) (1) Installation program-IO Guide Pro that provides CREVIS(www.crevis.co.kr). (2) Open the IO Guide and Click on the ‘New project’ Icon.
MODBUS Programmable I/O NA-9379 (1) After creating a project and click the ‘Automatic scan’ Icon. (4) Write the value(Port, node, Baudrate) click the ‘Automatic scan’ button. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 (1) After the scan completes, click the ‘OK’ button. (1) It is ready to use the IO Guide Pro. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
5.2. MODBUS Programmable I/O NA-9379 FnIO S-Series Confirmation of Network Information. You can see by checking the IP Address , Subnet Mask, Gate Way, Mac Address of NA-9379 . * IP Address : Also known as an "IP number" or simply an "IP," this is a code made up of numbers separated by three dots that identifies a particular computer on the Internet. Every computer, whether it be a Web server or the computer you're using right now, requires an IP address to connect to the Internet.
MODBUS Programmable I/O NA-9379 (2) Write the value of each. *Protocol : Modbus RTU *ComPort : User Port / Baudrate : 38400(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’ button and confirm the necessary information. If you choose to 'ByteDec', More easy to see. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
5.3. MODBUS Programmable I/O NA-9379 FnIO S-Series BootP/DHCP Setting You can selected to ‘IP Setting method’. * 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. The BOOTP servers assign the IP address from a pool of addresses to each client.
MODBUS Programmable I/O NA-9379 (2) Write the value of each. *Protocol : Modbus RTU *ComPort : User Port / Baudrate : 38400(default) *Address(Hex) : 160B (IP Setting Method Register) *Function(Dec) : 16, Write Multiple registers (3) 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.
5.4. MODBUS Programmable I/O NA-9379 Setup IP Address You can assign the IP Address manually via the setting of Bootp server. Default IP Address is 192.168.100.100 (1) Run ‘[Crevis] [IOGuidePro] [Bootp Server]’ NA9379 is a model that supports DHCP and Bootp. If you have a DHCP server on the same communications, IP settings from Bootp is impossible. In this case, set the IP from the DHCP server. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 (2) Power on the NA9379, and Click the ‘Start Bootp’ button. (3) Double Click ‘MAC address of NA9379’ Turn on the power of NA-9379, and Retry 2imes for 4 seconds. IP settings will be within that time. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 (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.
FnIO S-Series MODBUS Programmable I/O NA-9379 5.5. Serial Communication Settings Setting according to the each communication state is possible Because NA-9379 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. High 1byte is the area of rs232, and Low 1byte is the area of rs485. It is possible to set a maximum of 247 for each area.
MODBUS Programmable I/O NA-9379 FnIO S-Series (1) Run ‘[Crevis] -> [IOGuidePro] -> [Protocol Messenger] -> [Modbus]’ (2) Write the value of each.
5.6. MODBUS Programmable I/O NA-9379 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.
5.7. MODBUS Programmable I/O NA-9379 FnIO S-Series 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 NA-9379 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.
MODBUS Programmable I/O NA-9379 6. Programing the PIO 6.1. (CoDeSys) Download and Install the CoDeSys Please use the CoDeSys version V3.5.3.1 (V3.5 SP3 Patch 1) Except for the above version, any versions including the latest version will not be allowed for PIO(NA-9379). Unzip the downloaded file, and Installation ‘Setup_CoDeSysV35SP3Patch1.exe’ Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 6.2. The Basic Configuration CoDeSys 6.2.1. Installation of XML (1) Run the CoDeSys program (2) [Tools] [Options], Click ‘Predefined feature sets…’ (3) Standard Professional, Click ‘OK’ Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 FnIO S-Series (4) Click ‘OK’ (5) [Tools] [Device Repository], Click ‘PLCs’ and select PIO Description (download to CREVIS website), Install… (ProgrammableIO_NA9379.devdesc.xml) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 *Please check whether they are installed correctly or not. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 FnIO S-Series (6) [Tools] [Device Repository], Click ‘Miscellaneous’ and install the slot description and I/O Description (download to CREVIS website). (ST-xxxx.devdesc.xml) *Please check whether they are installed correctly or not. (CVSRACK.devdesc.xml) Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 FnIO S-Series 6.2.2. Created Project (1) Run the CoDeSys program. (2) [File] [New Project], select ‘Standard project’. Write the Project Name and Location. Click ‘OK’ (3) Select Device : NA9379, select the Programming Language. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 6.2.3. CoDeSys User Interface Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 FnIO S-Series 6.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. Auto Scan is not supported. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 (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. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
• MODBUS Programmable I/O NA-9379 FnIO S-Series 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. 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.
6.3. MODBUS Programmable I/O NA-9379 MODBUS TCP Setting (1) Add Device Click Device(NA9379) right click Click ‘Add Device…’. (2) Add Ethernet Adapter Click ‘Fieldbus’ ‘Ethernet Adapter’ ‘Ethernet’ and ‘Add Device’ Click. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 FnIO S-Series (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.
MODBUS Programmable I/O NA-9379 FnIO S-Series (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.
MODBUS Programmable I/O NA-9379 (5) Configuration the ModbusTCP Slave Click ‘Modbus_TCP_Slave’(Modbus TCP Slave) Write Slave IP Address (NA-9379) Click ‘Modbus Slave Channel’ Add a channel of NA-9379 and Modify Cycle Time * Default Cycle Time(ms) : 100ms. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
6.4. MODBUS Programmable I/O NA-9379 FnIO S-Series 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. * List identifier and Node ID is the same concept. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 FnIO S-Series (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.
MODBUS Programmable I/O NA-9379 (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. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
6.5. MODBUS Programmable I/O NA-9379 FnIO S-Series Download and Monitoring (1) Scan network [Device] [Communication Settings], click ‘Scan network’. After completing the search, 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.
MODBUS Programmable I/O NA-9379 7. Upgrade Firmware 7.1. Using IAP over Ethernet Using Firefox, can download the firmware. (1) Apply a power with pushing a reset button. (2) Execute Firefox (3) Connect to 192.168.100.10 and login (User ID :1 / Password : 1) (4) Search the file to download using a search button. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
MODBUS Programmable I/O NA-9379 (5) Click a Upload Button. (6) If it finish, you can see a below message (File Upload Done!) And click a ‘reset mcu’ button. Copyright(C) CREVIS Co.,Ltd Support +82-31-899-4599 URL : www.crevis.co.
FnIO S-Series MODBUS Programmable I/O NA-9379 8. Trouble Shooting 8.1. How to diagnose by LED indicator LED Status All LED turns off MOD LED flashes green MOD LED flashes red MOD LED is red I/O LED turns off Cause - No power - System power is not supplied. - Failure of initialization EEPROM parameter.
MODBUS Programmable I/O NA-9379 8.2. FnIO S-Series How to diagnose when device couldn’t communicate network Inspection of wrong or omission cable connection. - Check status of cable connection for each node. - Check that all color matches between connector and cable. - Check wire omission. Terminator resistor - If terminator resistor is not installed, install terminator resistor - Check location of terminator resistor Configuration of Node address - Check duplication node address.
MODBUS Programmable I/O NA-9379 FnIO S-Series APPENDIX A - MODBUS INTERFACE A.1 • MODBUS Interface Register / Bit Map Register Map Start Address 0x0000 ~ 0x0800 ~ Read/Write Read Read/Write Description Process input image registers (Real Input Register) Process output image registers (Real Output Register) Func. Code 4, 23 3, 16, 23 0x1000 ~ 0x1020 ~ Read Read/Write Adapter Identification special registers. Adapter Watchdog, other time special register.
FnIO S-Series MODBUS Programmable I/O NA-9379 A.2 MODBUS Transmission Mode Two different serial transmission modes are defined: The RTU mode and the ASCII mode. It defines the bit contents of message fields transmitted serially on the line. It determines how information is packed into the message fields and decoded. A.2.1.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.1. 1 (0x01) Read Coils This function code is used to read from 1 to 2000 contiguous status of coils in a remote device. The Request PDU specifies the starting address, i.e. the address of the first coil specified, and the number of coils. In the PDU Coils are addressed starting at zero. Therefore coils numbered 1-16 are addressed as 0-15. The coils in the response message are packed as one coil per bit of the data field.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.2. 2 (0x02) Read Discrete Inputs This function code is used to read from 1 to 2000 contiguous status of discrete inputs in a remote device. The Request PDU specifies the starting address, i.e. the address of the first input specified, and the number of inputs. In the PDU Discrete Inputs are addressed starting at zero. Therefore Discrete inputs numbered 1-16 are addressed as 0-15.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.3. 3 (0x03) Read Holding Registers This function code is used to read the contents of a contiguous block of holding registers in a remote device. The Request PDU specifies the starting register address and the number of registers. The register data in the response message are packed as two bytes per register, with the binary contents right justified within each byte.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.4. 4 (0x04) Read Input Registers This function code is used to read from 1 to approx. 125 contiguous input registers in a remote device. The Request PDU specifies the starting register address and the number of registers. The register data in the response message are packed as two bytes per register, with the binary contents right justified within each byte.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.5. 5 (0x05) Write Single Coil This function code is used to write a single output to either ON or OFF in a remote device. The requested ON/OFF state is specified by a constant in the request data field. A value of FF 00 hex requests the output to be ON. A value of 00 00 requests it to be OFF. All other values are illegal and will not affect the output.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.6. 6 (0x06) Write Single Register This function code is used to write a single holding register in a remote device. Therefore register numbered 1 is addressed as 0. The normal response is an echo of the request, returned after the register contents have been written.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.7. 8 (0x08) Diagnostics MODBUS function code 08 provides a series of tests for checking the communication system between a client (Master) device and a server (Slave), or for checking various internal error conditions within a server. The function uses a two–byte sub-function code field in the query to define the type of test to be performed. The server echoes both the function code and sub-function code in a normal response.
MODBUS Programmable I/O NA-9379 FnIO S-Series Sub-function 0x0000(0) Return Query Data 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.
MODBUS Programmable I/O NA-9379 FnIO S-Series Sub-function 0x000F(15) Return Slave No Response Count The response data field returns the quantity of messages addressed to the remote device for which it has returned no response (neither a normal response nor an exception response), since its last restart, clear counters operation, or power–up.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.8. 15 (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. A logical '0' requests it to be OFF.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.9. 16 (0x10) Write Multiple Registers This function code is used to write a block of contiguous registers (1 to approx. 120 registers) in a remote device. The requested written values are specified in the request data field. Data is packed as two bytes per register. The normal response returns the function code, starting address, and quantity of registers written.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.3.10. 23 (0x17) Read/Write Multiple Registers This function code performs a combination of one read operation and one write operation in a single MODBUS transaction. The write operation is performed before the read. The request specifies the starting address and number of holding registers to be read as well as the starting address, number of holding registers, and the data to be written.
A.4 MODBUS Programmable I/O NA-9379 FnIO S-Series MODBUS Special Register Map The special register map can be accessed by function code 3, 4, 6 and 16. Also the special register map must be accessed by read/write of every each address (one address). A.4.1.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.4.3. Adapter Watchdog Time, other Time Special Register (0x1020, 4128) A watchdog timer can be configured for timeout periods up to 65535(1unit=100msec). The Watchdog timer will timeout (timer decreased, reached 0) if MODBUS operation to the slave node does not occur over the configured watchdog value, then the slave adapter forces that slot output value is automatically set to user-configured fault actions and values.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.4.4. Adapter Information Special Register (0x1100, 4352) Address Access Type, Size Description 0x1100(4352) Read/Write 1 word Reserved. 0x1101(4353) Read 1 word Reserved. 0x1102(4354) Read 1 word Start address of input image word register. =0x0000 0x1103(4355) Read 1 word Start address of output image word register. =0x0800 0x1104(4356) Read 1 word Size of input image word register.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.4.5. Adapter Setting Special Register (0x1600, 5632) Address 0x1600(5632) 0x1602(5634) 0x1604(5636) 0x1606(5638) Access Read Read Read Read/Write Type, Size 2word 2word 2word 1word 0x1607(5639) Read/Write 1word 0x1608(5640) Read/Write 1word 0x1609(5641) Read/Write 1word 0x160A(5642) Read/Write 1word 0x160B(5643) Read/Write 1word 0x1610(5648) 0x1620(5664) Read Read/Write 3word 4word Copyright(C) CREVIS Co.,Ltd Description IP Address.
MODBUS Programmable I/O NA-9379 FnIO S-Series A.4.6. Expansion Slot Information Special Register (0x2000, 8192) Each expansion slot has 0x20(32) address offset and same information structure.
FnIO S-Series MODBUS Programmable I/O NA-9379 Address Offset Access + 0x00(+0) + 0x01(+1) + 0x02(+2) ** + 0x03(+3) ** + 0x04(+4) ** + 0x05(+5) ** + 0x06(+6) ** + 0x07(+7) ** + 0x08(+8) ** + 0x09(+9) ** + 0x0A(+10)** + 0x0B(+11)** + 0x0C(+12) * + 0x0E(+14) + 0x0F(+15) Read Read Read Read Read Read Read Read Read Read Read Read/Write Read/Write Read Read Type, Size 1word 1word 1word 1word 1word 1word 1word 1word 1word 1word n word n word 1word 1word String Up to 74byte + 0x10(+16) + 0x11(+17)** + 0
FnIO S-Series MODBUS Programmable I/O NA-9379 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.
• Status (1word) Addr.
MODBUS Programmable I/O NA-9379 FnIO S-Series Input Assembly Priority : 1) 2) 3) 4) 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) 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).
MODBUS Programmable I/O NA-9379 • Output Process Image Mode#1 (Compressed Output Processing Data) Addr.
MODBUS Programmable I/O NA-9379 A.6 FnIO S-Series Error Response In an exception response, the server sets the MSB of the function code to 1. This makes the function code value in an exception response exactly 80 hexadecimal higher than the value would be for a normal response.
A.7 MODBUS Programmable I/O NA-9379 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.
FnIO S-Series MODBUS Programmable I/O NA-9379 APPENDIX B - Product List No.
FnIO S-Series MODBUS Programmable I/O NA-9379 ST-3118 ST-3134 ST-3214 ST-3218 ST-3234 ST-3424 ST-3428 ST-3444 ST-3524 ST-3544 ST-3624 ST-3644 ST-3702 ST-3704 ST-3708 ST-3802 ST-3804 ST-3808 8 Channels, Current, 0~20mA, 12bit 4 Channels, Current, 0~20mA, 14bit 4 Channels, Current, 4~20mA, 12bit 8 Channels, Current, 4~20mA, 12bit 4 Channels, Current, 4~20mA, 14bit 4 Channels, Voltage, 0~10Vdc, 12bit 8 Channels, Voltage, 0~10Vdc, 12bit 4 Channels, Voltage, 0~10Vdc, 14bit 4 Channels, Voltage, -10Vdc~10Vd
FnIO S-Series MODBUS Programmable I/O NA-9379 ST-5444 ST-5641 ST-5642 ST-5651 Power Module ST-7408 ST-7508 ST-7511 ST-7518 ST-7588 ST-7641 4 CH PWM output, 0.5A/24Vdc, source 1 CH Pulse output, 0.5A/24Vdc, source 2 CH Pulse output, 0.5A/24Vdc, source 1 CH Pulse output, RS422 C1 C1 C1 C1 0B 03 54 05 03 92 09 07 90 05 03 98 Active Active Active Active 8 Channels, Shield, ID Type 8 Channels, Common, 0Vdc, ID Type 1 Channel, Expansion Power, Input 24Vdc, Output 1.