Home

NA-9171 / 9173 - Beijer Electronics

image

Contents

1. 44 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 6 3 3 Adapter Information Special Register 0x1100 4352 Address Access Type Size Description Hi byte is two rotary switch values low byte is current slave node address MODBUS slave node address 0110004952 If two rotary switches value are 0 the slave node address is assigned with last valid address and can be changed by software 1 247 0x1101 4353 Read word Hi byte is a current dip switch value low byte is used current setup value 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 0x1105 4357 Read 1 word Size of output image word register 0x1106 4358 Read 1 word Start address of input image bit 0x0000 0x1107 4359 Read 1 word Start address of output image bit 0x1000 0x1108 4360 Read 1 word Size of input image bit 0 1109 4361 Read 1 word Size of output image bit upto Expansion slot s ST number including NA 110E 4 Read 33 word First 1word is adapter s number if NA 9173 then 0 9173 0x1110 4368 Read 1 word Number of expansion slot 0x1111 4369 Read 1 word Number of active slot 0x1112 4370 Read 1 word Number of inactive slot 0x1113 4371 Read Expansion B Module Id Refer to Appendix A 1 Product
2. Input Process Image Mode 2 Uncompressed Input Processing Data without Status default input image Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0x0000 Discrete In 8pts Slot 2 Empty Always 0 Discrete In 4pts Slot 1 0x0001 Analog Input Ch0 high byte Slot 3 Analog Input Ch0 low byte Slot 3 0x0002 Analog Input Chl high byte Slot 3 Analog Input Chl low byte Slot 3 0x0003 Discrete In high 8pts Slot 4 Discrete In low 8pts Slot 4 0x0004 Discrete In 8pts Slot 6 Empty Always 0 Discrete In 4pts Slot 5 0x0005 Analog Input low byte Slot 8 Empty Always 0 Discrete In 4pts Slot 7 0x0006 Analog Input Chl low byte Slot 8 Analog Input ChO high byte Slot 8 0x0007 Discrete In low 8pts Slot 9 Analog Input Chl high byte Slot 8 0x0008 Empty Always 0 Discrete In 4pts Slot 10 Discrete In high 8pts Slot 9 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 26 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series Input Process Image Mode 3 Compressed Input Processing Data without Status Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0x0000 Analog Input Ch0 high byte Slot 3 Analog Input Ch0 low byte Slot 3 0x0001 Analog Input Chl high byte Slot 3 Analog Input Chl low byte Slot 3 0x0002 Analog Input ChO high byte Slot 8 Analog Input low byte Slot 8
3. After the system is reset the new Process Image Mode action is applied 4 discrete input Input Process Image Mode 0 Status 1 word Uncompressed Input Processing Data Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0000 EW EC 0 0 0 0 0 ES FP FnBus Status 0x0001 Discrete In 8pts Slot 2 Empty Always 0 Discrete In 4pts Slot 1 0x0002 Analog Input Ch0 high byte Slot 3 Analog Input low byte Slot 3 0x0003 Analog Input Chl high byte Slot 3 Analog Input Chl low byte Slot 3 0x0004 Discrete In high 8pts Slotit4 Discrete In low 8pts Slot 4 0x0005 Discrete In 8pts Slot 6 Empty Always 0 Discrete In 4pts 5105 0x0006 Analog Input low byte Slot 8 Empty Always 0 Discrete In 4pts Slot 7 0x0007 Analog Input Chl low byte Slot 8 Analog Input ChO high byte Slot 8 0x0008 Discrete In low 8pts Slot 9 Analog Input Chl high byte Slot 8 0x0009 Empty Always 0 Discrete In 4pts Slot 10 Discrete In high 8pts Slot 9 Y FnBusStatus 0 Normal Operation 2 FnBus Communication Fault 1 FnBus Standby 3 Slot Configuration Failed 4 No Expansion Slot Y Field Power 0 24Vdc Field Power On 1 24Vdc Field Power Off yv ES MODBUS Error Setup 0 No Error Setup 1 Error Setup Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS Status
4. Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr About 20msec flashing CREVIS 13 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 2 3 4 Expansion Module Status LED I O State LED is indicate Not P d 2 Module Off Device has no expansion module or may not be powered FnBus On line FnBus is normal but does not exchanging I O data Flashing Green Do not Exchanging I O Passed the expansion module configuration FnBus Connection G Exchanging I O dat Run Exchanging IO ix ata One or more expansion module occurred in fault state FnBus connection fault 1 Red Changed expansion module configuration during exchanging IO M FnBus communication failure Failed to initialize expansion module Detected invalid expansion module ID Expansion Overflowed Input Output Size Configuration Failed Flashing Red 2 3 5 Field Power Status LED Too many expansion module Initial protocol failure Mismatch vendor code between adapter and expansion module State LED 15 To indicate Not Supplied Field Off Not supplied 24 de field power 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 CREVIS 14 FnIO MODBUS Adapter NA 9171 NA 9173 3 Dimension 3 1 9171 70 60
5. of output modules and special modules have the slot configuration parameter data Refer to Document FnIO_Configuration_Parameter_Memory_Register_Rev1 01 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 47 MODBUS Adapter 9171 NA 9173 IO Data Code Format 1 word S Series Item 15 14 13 12 11 10 9 48 7 6 5 4 3 2 1 0 Word Field Output IO code Input IO code Field Date Type Data Length Date Type Data Length Example ST 3214 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0x0084 ST 1224 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 00 4 ST 1228 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0041 ST 4123 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0x8200 ST 221F 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0x4200 ST 2324 1 1 0 0 0 1 0 0 1 1 0 0 0 1 0 0 0 4 4 Input output Data Type 00 No I O Data 0 1 Byte Data 1 0 Word Data 1 1 Bit Data Input output Data Length 000000 0 0 Bit Byte Word 000000 1 1 Bit Byte Word 00000 1 0 2 Bit Byte Word 00000 1 1 3 Bit Byte Word 111111 1 63 Bit Byte Word 6 4 MODBUS Reference Documents http www modbus org MODBUS Tools http www modbustools com MODBUS poll http www win tech com MODSCAN32 Copyright C MODBUS Reference CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 48
6. 01 0x30 0x31 Starting Address Hi 0x10 0x10 10 0x31 0x30 Starting Address Lo 0x00 0x00 00 0x30 0x30 Quantity of Outputs Hi 0x00 0x00 00 0x30 0x30 Quantity of Outputs Lo Ox0A Ox0A OA 0x30 0 41 Error Check CRC LRC OxB8 DE 0x44 0x45 End of Frame t1 t2 t3 CR LF OxA Response Field name Example RTU ASCII ASCII bus line Start of Frame 1 12 13 223 Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x01 0x01 01 0 30 0 31 Byte Count 0x02 0x02 02 0x30 0x32 Output Status 0x55 0x55 55 0x35 0x35 Output Status 0x02 0x02 02 0x30 0x32 Error Check CRC LRC Ox8F 0x6D OF 0x39 0x46 End of Frame t1 t2 t3 CR LF OxA In case of address 0x1015 0x1000 output bit value 00000010 01010101 CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 31 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 6 2 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 Copyright C 0 15 The discrete inputs in the response message are packed as one input per bit of the data field Status i
7. 6 24 4 0x04 Read Input Registers n aasan 33 6 2 5 5 0x05 Write Single Coil u asnan 34 6 2 6 6 0x06 Write Single 35 6 2 7 8 0X08 36 6 2 8 15 0x0F Write Multiple Coils 38 6 2 9 16 0x10 Write Multiple Registers aa 39 6 2 10 23 0x17 Read Write Multiple Registers L 40 Error IRS INS EE 41 6 3 MODBUS Special Register 42 6 3 1 Adapter Identification Special Register 0x1000 4096 42 6 3 2 Adapter Watchdog Time other Time Special Register 0x1020 4128 43 6 3 3 Adapter Information Special Register 0x1100 4352 44 6 3 4 Expansion Slot Information Special Register 0x2000 8192 45 6 4 MODBUS Reference a sasa ud dv dta idv 47 0000 td 48 7 1 How to diagnose by LED indicator aec a 48 APPENDIX m 50 NV Tm 50 CUES Ree en 52 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 6 FnI
8. MODBUS Adapter 9171 NA 9173 7 Trouble Shooting S Series 7 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 module System power is not supplied for repair MOD LED flashes green Failure of initialization EEPROM parameter Contact Sales team and send module for repair MOD LED flashes red Excess of expansion slot Excess of IO size Wrong IO composition Occurrence of EEPROM checksum error Use expansion slot up to 32 Compose that IO total size is not excess Check composition I O Module MOD LED is red Wrong address ID Occurrence critical error in firmware Contact Sales team and send module for repair T O LED turns off Failure of realization expansion Module None expansion Module Check connector status both NA series and expansion module LED flashes red Failure of configuration baud rate Check communication cable with Master Check power for master Failure of initialization I O Use expansion slot up to 32 Compose that IO total size is not excess NA series notice unidentified expansion module ID Check status of expansion module LED is red Failure of exchanging I O data Check status of expansion IO connection NET LED turns off Failure of communication with Master Check ma
9. Start of Frame t1 t2 t3 ud Ox3A Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x05 0x05 05 0x30 0x35 Output Address Hi 0x10 0x10 10 0x31 0x30 Output Address Lo 0x01 0x01 01 0x30 0x31 Output Value Hi OxFF OxFF 0 46 0 46 Output Value Lo 0x00 0x00 00 0 30 0 30 Error Check 0 9 0 5 E4 0x45 0x34 End of Frame tl t2 t3 CR LF Output bit of address 0x1001 turns ON Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 35 Copyright C 6 2 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 15 addressed as 0 The normal response is an echo of the request returned after the register contents have been FnIO MODBUS Adapter NA 9171 NA 9173 S Series written Request Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x06 0x06 06 0x30 0x36 Starting Address Hi 0x08 0x08 08 0 30 0 38 Starting Address Lo 0x00 0x00 00 0x30 0x30 Quantity of Outputs Hi 0 11 0 11 11 0x31 0x31 Quantity of Outputs Lo 0x22 0x22 22 0 32 0 32 Error Check 0 07 0 85 0 42 0 38 End of Frame t1 t2 t
10. Um 24 x 3 2 9173 24 IE 11 N E Jl Om D 70 60 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr S Series 090000000101 15 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 4 Mechanical Set Up 4 1 Total Expansion The number of the module assembly that can be connected is 32 So the maximum length is 426mm Exception ST 2748 is excepted to calculate maximum length because that is double width module 4 2 Plugging and Removal of the Components DANGER Before work is done on the components the voltage supply must be turned off Unlock 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 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 16 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series Unlock 4 3 I
11. 0x204D 8269 0x23CD 9165 0x23ED 9197 0 0 14 0 200 8206 0 202 8238 0 204 8270 0 23 9166 0 23 9198 OxOF 15 0 200 8207 0x202F 8239 Ox204F 8271 Ox23CF 9167 Ox23EF 9199 0 10 16 0 2010 8208 0 2030 8240 0x2050 8272 a 0 2300 9168 0 23 9200 0 11 17 0 2011 8209 0 2031 8241 0x2051 8273 0 2301 9169 0 23 1 9201 0 12 18 0 2012 8210 0 2032 8242 0x2052 8274 0x23D2 9170 0 23 2 9202 0 13 19 0x2013 8211 0x2033 8243 0x2053 8275 0x23D3 9171 0x23F3 9203 0 14 20 0x2014 8212 0x2034 8244 0x2054 8276 0 2304 9172 0 23 4 9204 0 15 21 0 2015 8213 0 2035 8245 0 2055 8277 0 2305 9173 0 23 5 9205 0 16 22 0 2016 8214 0 2036 8246 0x2056 8278 0 2306 9174 0 23 6 9206 0 17 23 0 2017 8215 0 2037 8247 0x2057 8279 0x23D7 9175 0x23F7 9207 0 18 24 0 2018 8216 0 2038 8248 0 2058 8280 0x23D8 9176 0x23F8 9208 0 19 25 0 2019 8217 0 2039 8249 0x2059 8281 0 2309 9177 0x23F9 9209 0 1 26 0 201 8218 0 203 8250 0x205A 8282 0x23DA 9178 0x23FA 9210 0x1 B 27 0x201B 8219 0x203B 8251 0 2058 8283 0x23DB 9179 0x23FB 9211 0 1 28 0x201C 8220 0x203C 8252 0x205C 8284 _ 0x23DC 9180 0x23FC 9212 Copyright C CREVIS Co L
12. 1word 25 FnIO MODBUS Adapter NA 9171 NA 9173 EC MODBUS Error Check 0 No Error CRC LRC 1 Error CRC LRC three times more sequentially since its last restart clear counters operation or power up EW MODBUS Error Watchdog 0 No Error Watchdog 1 Error Watchdog once more since its last restart clear counters operation or power up S Series Input Process Image Mode 1 Status 1 word Compressed Input Processing Data Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0000 EW EC 0 0 0 0 0 ES FP FnBus Status 0x0001 Analog Input Ch0 high byte Slot 3 Analog Input Ch0 low byte Slot 3 0x0002 Analog Input Chl high byte Slot 3 Analog Input Chl low byte Slot 3 0x0003 Analog Input ChO high byte Slot 8 Analog Input Ch0 low byte Slot 8 0x0004 Analog Input Chl high byte Slot 8 Analog Input Chl low byte Slot 8 0x0005 Discrete In low 8pts Slot 4 Discrete In 8pts Slot 2 0x0006 Discrete In 8pts Slot 6 Discrete In high 8pts Slot 4 0x0007 Discrete In high 8pts Slot 9 Discrete In low 8pts Slot 9 0 0008 Discrete In 4pts Slot 10 Discrete In 4pts Slot 7 Discrete In 4 Slot 5 Discrete In 4 Slot 1 Y 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
13. 41 43 Active ST 3118 8 Channels Current 0 20mA 12bit 4A 47 82 Active ST 3134 4 Channels Current 0 20mA 14bit 41 43 IE Active ST 3214 4 Channels Current 4 20mA 12bit 41 43 ID Active ST 3218 8 Channels Current 4 20mA 12bit 41 47 83 ST 3234 4 Channels Current 4 20mA 14bit 41 43 IF Active ST 3274 4 Channels Current 4 20mA 12bit Sensor Connector 41 43 A3 Active ST 3424 4 Channels Voltage 0 10Vdc 12bit 41 43 20 Active ST 3428 8 Channels Voltage 0 10Vdc 12bit 4 47 22 Active ST 3444 4 Channels Voltage 0 10Vdc 14bit 41 43 22 Active ST 3474 4 Channels Voltage 0 10Vdc 12bit Sensor Connector 41 43 AO Active ST 3524 4 Channels Voltage 10Vdc 10Vdc 12bit 41 43 21 Active ST 3544 4 Channels Voltage 10Vdc 10Vdc 14bit 4 43 23 Active ST 3624 4 Channels Voltage 0 5Vdc 12bit 41 43 24 Active ST 3644 4 Channels Voltage 0 5Vdc 14bit 41 43 25 5 3702 2 Channels RTD Status 41 41 28 Active ST 3704 4 Channels RTD Status 41 43 64 5 3708 8 Channels RTD Status 41 47 65 Active ST 3802 2 Channels TC 41 41 2A Active ST 3804 4 Channels TC 41 43 66 Active ST 3808 8 Channels TC 41 47 67 Active Analog Output Module ST 4112 2 Channels Current 0 20mA 12bit 81 41 2C Active ST 4114 4 Channels Current 0 20mA 12bit 81 43 6D Active ST 4212 2 Channels Current 4 20mA 12bit 81 41 2D Active ST 4214 4 Channels Current 4 20mA 12bit 81 43 6E Active ST 4274 4 Channels Current 4 20mA 12
14. Female Contacts 3986 90102 Molex or 1862506 Phoenix Compatible with DeviceNet 5 pin Open Connector ATTENTION 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 CREVIS 20 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 5 2 3 Terminator Resistor Terminator Resisto Master SMPS Terminator Resisto 3 DATA reflection in a transmission line is the result of an impedance discontinuity that a traveling 120 150ohm wave sees as it propagates down the line To minimize the reflections from the end of the 8 DATA RS485 cable it is required to place a Line Termination near each of the 2 Ends of the Bus Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 21 5 2 4 MODBUS DIP Switch Setup FnIO MODBUS Adapter NA 9171 NA 9173 Baud rate S Series MODBUS Adapter interface configuration can be set by a DIP 8pole switch This setup read once at power up sequence i e changes to DIP switch during Watchdog Byte Format operation does not affect MODBUS interface configuration RTU ASCII Item Item setup 1 2 3 4 5 6 7 8 Baud rate 1200 bps OFF OFF OFF 2400 bps ON OFF OFF 4800 bps OFF ON OFF 9600 bps ON ON OFF 19200 bps OFF OF
15. Supply voltage 24Vdc nominal Supply voltage range 11 28 8Vdc Max Current Field Power Contact DC 10A Max Weight 150g Module Size 45mm x 99mm x 70mm Environment Condition Environmental Specifications Refer to Environment Specification Operating Temperature 20 to 55 C Non Operating Temperature 40T 1085 C Relative Humidity 5 90 non condensing Operating Altitude 2000m Mounting DIN rail Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 11 FnIO MODBUS Adapter NA 9171 NA 9173 S Series 2 2 2 Interface Specification Interface Specification NA 9171 RS 232 NA 9173 RS 485 Adapter Type Slave node MODBUS Serial RTU ASCII Server Max Expansion Module 32 slots Max Input Size 126words 252bytes Max Output Size 126words 252bytes 1200 NA 9173 RS 485 depend baud rate Max Length Bus Line 15 NA 9171 88 232 64 nodes NA 9173 RS 485 Max Nod pum 1 node NA 9171 RS 232 Baud rate 1200 2400 4800 9600 19200 38400 57600 115200bps Protocol RTU and ASCII Interface Connector 5 Pin Open Connector NA 9173 RS 485 Dsub 9pin Female NA 9171 RS 232 Settable Node Address 1 99 with two rotary switches 5 LEDs 1 Green Red Module Status MOD 1 Indicator 1 Green Transmit Da
16. rena o od Ruben re eurer etn de 20 5 24 MODBUS DIP Switch 21 5 25 MODBUS Address tucked acilicet 22 5 2 6 JO Process Image Map naa 23 5 2 7 MODBUS Interface Register Bit 23 5 3 EETA D dees ee alec materiai asesinar 24 5 3 1 Example of Input Process Image Input Register 24 5 3 2 Example of Output Process Image Output Register 27 MODBUS INTERFACE 29 6 1 MODBUS Transmission Mode 29 6 1 1 RTU Transmission Mode usted 29 6 1 2 ASCII Transmission Mode aasan 29 6 2 Supported MODBUS Function COGES cccscsusessonesssssersnsecerssessonesarsssesnsessnavessonessenssssouessraveeconssenss 29 621 41200108 Read Ne 30 6 22 2 0x02 Read Discrete Inputs u kisses adc 31 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 5 FnIO MODBUS Adapter 9171 9173 FnlO S Series 6 2 3 3 0x03 Read Holding 32
17. 07 0x07 07 0 30 0 37 Function Code OxOF OxOF QF 0x30 0x46 Starting Address Hi 0x08 0x08 08 0x30 0x38 Starting Address Lo 0x00 0x00 00 0x30 0x30 Quantity of Outputs Hi 0x00 0x00 00 0x30 0x30 Quantity of Outputs Lo 0x02 0x02 02 0x30 0x32 Error Check CRC LRC 0x43 OxCE DF 0x44 0x46 End of Frame t1 t2 t3 CR LF Incase of address 0x0800 0x0801 output register value 0x0000 0x0000 changes to 0x1122 0 3344 CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 40 FnIO MODBUS Adapter NA 9171 NA 9173 S Series 6 2 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 The byte count specifies the number of bytes to follow in the write data field The normal response contains the data from the group of registers that were read The byte count field specifies the quantity of bytes to follow in the read data field Request Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 ie Slave Ad
18. 0x0003 Analog Input Chl high byte Slot 8 Analog Input Chl low byte Slot 8 0x0004 Discrete In low 8pts Slot 4 Discrete In Slot 2 0x0005 Discrete In 8pts Slot 6 Discrete In high 8pts Slot 4 0x0006 Discrete In high 8pts Slot 9 Discrete In low 8pts Slot 9 0x0007 Discrete In 4pts Slot 10 Discrete In 4pts Slot 7 Discrete In 510885 Discrete 4pts Slot 1 FnBus uses the byte oriented register mapping Size of input image bit is size of input image register 16 v Input Assembly Priority 1 Analog Input Data Word type 2 8or 16 points Discrete Input Data Byte type 3 4 points Input Data Bit type 4 2 points Input Data Bit type Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 27 MODBUS Adapter NA 9171 NA 9173 FnlO S Series 5 3 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 un compressed mode 0 But when output image mode is compressed mode 1 output process image data is ordered by expansion slot position and slot data type Output process image mode can be set by special register 0 1115 4373 Refer to 6 3 3 For example slot configuration 2001200320632003 f 91663 005 9 11
19. 1 FnIO MODBUS Adapter NA 9171 NA 9173 S Series MODBUS Adapter NA 9171 9173 RS 232 RS 485 User Manual Version 1 05 2013 CREVIS Co Ltd Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 2 FnIO MODBUS Adapter 9171 NA 9173 FnlO S Series DOCUMENT CHANGE SUMMARY REV PAGE REMARKS DATE EDITOR 1 0 Ais 2011 10 07 JE Kang Document 1 01 13 IO LED Status Flashing Red Red 2011 10 21 JE Kang 1 02 6 Add your experience 2012 1 13 JE Kang 1 03 Modify the wrong letters 2012 2 13 JE Kang 1 04 Changed Crevis TEL 2013 4 4 JE KANG 1 05 Environment Spec 50 C 55 C UL Temp 2013 7 3 JE Kang Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 3 FnIO MODBUS Adapter NA 9171 NA 9173 CONTENTS Important ISIE SS cies ceca ui Aa ndo di 1 1 uu u RT TEL SVMS ls pd UP EDI EMEN I Ed DG 111 2 Safety 188 eter MEME ee Um 2 1 2 1 1 NA 9171 MODBUS RS 232 as enisi ndis es 21 2 NA 9173 MODBUS RS 485 a 2 2 SD8CIfICatlIOnm 2 2 1 General Specification dii pain D DK ERR UI REDIT 222 Interface Specification ioi deci er ada Oii nda di den 2 3 LED Indi
20. 23DF 9183 Slot 16 0 21 0 8672 0 21 8703 Slot 32 0 23 9184 2 9215 Address Expansion Expansion Expansion Expansion Expansion Offset Slot 1 Slot 2 Slot 3 UY Slot 31 Slot 32 0x00 0 0x2000 8192 0x2020 8224 0x2040 8256 0 23 0 9152 0 23 0 9184 0 01 1 0 2001 8193 0 2021 8225 0x2041 8257 0x23C1 9153 0 23 1 9185 0 02 2 0 2002 8194 0 2022 8226 0x2042 8258 0 23 2 9154 0 23 2 9186 0 03 3 0 2003 8195 0x2023 8227 0x2043 8259 _ 0x23C3 9155 0x23E3 9187 0 04 4 0x2004 8196 0x2024 8228 0x2044 8260 0x23C4 9156 0 23 4 9188 0 05 5 0 2005 8197 0 2025 8229 0x2045 8261 0x23C5 9157 0 23 5 9189 0 06 6 0 2006 8198 0x2026 8230 0x2046 8262 0x23C6 9158 0x23E6 9190 0x07 7 0x2007 8199 0x2027 8231 0x2047 8263 0 23 7 9159 0 23 7 9191 0x08 8 0 2008 8200 0 2028 8232 0x2048 8264 0 23 8 9160 0 23 8 9192 0 09 9 0 2009 8201 0 2029 8233 0x2049 8265 _ 0 23 9 9161 0 23 9 9193 10 0 200 8202 0x202A 8234 0 204 8266 0 23 9162 0 23 9194 11 0x200B 8203 0x202B 8235 0x204B 8267 0 23 9163 0 23 9195 0 0 12 0x200C 8204 0x202C 8236 0 204 8268 0 23 9164 0x23EC 9196 0 00 13 0x200D 8205 0x202D 8237
21. 3 CR LF OxA Response Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 0 3 Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x06 0x06 06 0x30 0x36 Output Address Hi 0x08 0x08 08 0x31 0x38 Output Address Lo 0x00 0x00 00 0 30 0 30 Output Value Hi 0 11 0 11 11 0 31 0 31 0 22 0 22 22 0 32 0 32 Error Check 0 07 0 85 0 42 0 38 End of Frame t1 t2 t3 CR LF OxA Incase of address 0x0800 outputs register value 0 0000 changes to 0x1122 CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 36 Copyright C 6 2 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 Some of the diagnostics cause data to be returned from the remote device in the data field of a normal response FnIO MODBUS Adapter NA 9171 NA 9173 S Series Request Field name Example RTU ASCII ASCII bus line Start of
22. 3344 CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 33 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 6 2 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 For each register the first byte contains the high order bits and the second contains the low order bits Request Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 nd Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x04 0x04 04 0x30 0x34 Starting Address Hi 0x00 0x00 00 0 30 0 30 Starting Address Lo 0x00 0x00 00 0x30 0x30 Quantity of Register Hi 0x00 0x00 00 0x30 0x30 Quantity of Register Lo 0x02 0x02 02 0x30 0x32 Error Check CRC LRC 0x71 OxAD F3 0x46 0x33 End of Frame tl t2 t3 CR LF Response Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 aed Ox3A Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x04 0x04 04 0x30 0x34 Byte Count 0x04 0x04 04 0x30 0x34 Input Register 0 Hi 0x00 0x00 00 0x30 0x30
23. 5442 2 CH PWM output 0 5A 24Vdc source 05 01 56 Active ST 5444 4 PWM output 0 5A 24Vdc source Cl OB 03 54 Active ST 5641 1 CH Pulse output 0 5A 24Vdc source 05 03 92 Active ST 5642 2 CH Pulse output 0 5A 24V dc source C1 09 07 90 Active ST 5651 1 CH Pulse output RS422 C1 05 03 98 Active Power Module ST 7408 8 Channels Shield ID Type 02 00 4 Active ST 7508 8 Channels Common 1 Type 02 00 5 Active ST 7511 1 Channel Expansion Power Input 24V dc Output 1 0A 5Vdc ID Type 02 00 EO Active ST 7518 8 Channels Common 24Vdc ID Type 02 00 E Active ST 7588 8 Channels Common and 24Vdc ID Type 02 00 Active ST 7641 1 Channel Field Distributor 5Vdc 48 Vdc 02 00 E2 Active 110Vac 220Vac ID Type A 2 Glossary System Power The power for starting up CPU Field Power The power for input and output line Terminator Resistor Resistor for prevention reflected wave EDS Electronic Data Sheet sinking The method of input and output what device does not have power source sourcing The method of input and output what device have power source Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS
24. 9171 NA 9173 S Series The register data in the response message are packed as two bytes per register with the binary contents right justified within each byte For each register the first byte contains the high order bits and the second contains the low order bits Request Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 Ox3A Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x03 0x03 03 0x30 0x33 Starting Address Hi 0x08 0x08 08 0 30 0 38 Starting Address Lo 0x00 0x00 00 0x30 0x30 Quantity of Register Hi 0x00 0x00 00 0x30 0x30 Quantity of Register Lo 0x02 0x02 02 0x30 0x32 Error Check CRC LRC 0 6 0 0 EC 0x45 0x43 End of Frame t1 t2 t3 CR LF Response Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 Ox3A Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x03 0x03 03 0x30 0x33 Byte Count 0x04 0x04 04 0 30 0 34 Output Register 0 Hi 0 11 0 11 11 0x31 0x31 Output Register 0 Lo 0x22 0x22 22 0x32 0x32 Output Register 1 Hi 0x33 0x33 33 0 33 0 33 Output Register 1 Lo 0x44 0x44 44 0 34 0 34 Error Check 0x2D 0xC6 38 0 33 0 38 End of Frame t1 t2 t3 CR LF OxA Incase of address 0x0800 0x0801 output register value 0x1122 0x
25. A 9173 S Series Output Process Image Mode 1 Compressed Output Processing Data Addr 15 14 13 12 11 10 9 7 6 5 4 3 2 1 0 0x0800 Analog out Ch0 high byte Slot 3 Analog out Ch0 low byte Slot 3 0 0801 Analog out Chl high byte Slot 3 Analog out Chl low byte Slot 3 0x0802 Analog out ChO high byte Slot 9 Analog out low byte Slot 9 0x0803 Analog out Chl high byte Slot 9 Analog out Chl low byte Slot 9 0x0804 Discrete out low 8pts Slot 4 Discrete out 8pts Slot 2 0 0805 Discrete out 8pts Slot 6 Discrete out high 8pts Slot 4 0 0806 Discrete out high 8pts Slot 10 Discrete out low 8pts Slot 10 Discrete Di 0x0807 Out 2pts 2 p Discrete 4pts Slot 5 Discrete 4pts Slot 1 Slot 8 Slot 7 FnBus uses the byte oriented register mapping Size of input image bit is size of input image register 16 Y Output Assembly Priority 1 Analog Output Data Word type 2 8 16 points Discrete Output Data Byte type 3 4 points Output Data Bit type 4 2 points Output Data Bit type Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr 5 29 MODBUS Adapter 9171 NA 9173 6 MODBUS INTERFACE 6 1 MODBUS Transmission Mode S Series Two different serial transmission modes are defined The RTU mode and the ASCII mode It defines the bit contents of message fiel
26. F ON 38400 bps ON OFF ON 57600 bps OFF ON ON 115200 bps ON ON ON Watchdog Disable Watchdog OFF Enable Watchdog ON Byte Format 8 bit No Party 1 Stop OFF OFF OFF 8 bit Even Party 1 Stop ON OFF OFF 8 bit Odd Party 1 Stop OFF ON OFF 8 bit No Party 2 Stop ON ON OFF 7 bit No Party 2 Stop OFF OFF ON 7 bit Even Party Stop ON OFF ON 7 bit Odd Party 1 Stop OFF ON ON 7 bit No Party 1 Stop ON ON ON RTU ASCII RTU Mode OFF Mode ASCII Mode ON ASCII Mode is not available Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr 5 22 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 5 2 5 MODBUS Address Setup Each MODBUS Adapter could have a unique address from 1 to 99 so that it can be addressed independently from other nodes The address 0 is reserved to identify a broadcast exchange No response is returned to broadcast requests sent by the master L X X10 MSD X 1 LSD The above figure shows MAC ID 27 2 10 7 1 of a slave node ATTENTION MAC ID addresses have to be unique throughout the entire Interconnected networks Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS Copyright C 5 2 6 I O Process Image Map FnIO MODBUS Adapter NA 9171 NA 9173 S Series An expansion module may have 3 types of data as I O data configuration parameter and memory register The data exchange between networ
27. Frame 11 12 13 Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0 08 0 08 08 0 30 0 38 Sub Function Hi 0x00 0x00 00 0 30 0 30 Sub Function Lo 0x00 0x00 00 0x30 0x30 Data Hi 0 11 0 11 11 0 31 0 31 Data Lo 0x22 0x22 227 0 32 0 32 Error Check 0x24 0 42 0 45 End of Frame t1 t2 t3 CR LF OxA Response Field name Example RTU ASCII ASCII bus line Start of Frame 11 12 13 2 Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x08 0x08 08 0 30 0 38 Sub Function Hi 0x00 0x00 00 0 30 0 30 Sub Function Lo 0x00 0x00 00 0x30 0x30 Data Hi 0 11 0 11 11 0 31 0 31 Data Lo 0x22 0x22 225 0 32 0 32 Error Check 0x24 0 42 0 45 End of Frame 01 02 13 CR LF OxA 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 Sub function Data Field Request Data Field Response Description 0 0000 0 Echo Request Data Sub function 0x0001 1 Restart Communications Option The remote device could be initialized and restarted and all of its communications event counters are cleared Especially data field OxSSAA makes the remote device to restart with factory default setup of EEPROM Sub
28. Input Register 0 Lo 0x80 0x80 80 0x38 0x30 Input Register 1 Hi 0x00 0x00 00 0x30 0x30 Input Register 1 Lo 0x00 0x00 00 0x30 0x30 Error Check CRC LRC 0 9 0x6C 71 0x37 0x31 End of Frame t1 t2 t3 CR LF OxA Incase of address 0 0000 0x0001 input register value 0x0080 0 0000 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 34 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 6 2 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 other values are illegal and will not affect the output Request Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 k Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x05 0x05 05 0x30 0x35 Starting Address Hi 0x10 0x10 10 0x31 0x30 Starting Address Lo 0x01 0x01 01 0x30 0x31 Quantity of Outputs Hi OxFF OxFF 0 46 0 46 Quantity of Outputs Lo 0x00 0x00 00 0x30 0x30 Error Check CRC LRC OxD9 0 5 0 45 0 34 End of Frame t1 t2 t3 CR LF Response Field name Example RTU ASCII ASCII bus line
29. List word First is adapter s module id 1 word Input process image mode The default value is 2 1114 4372 Read Writ ve 1372 Valid value range is from 0 to 3 Refer to 5 3 1 1 word Output process image mode The default value is 0 1115 4373 Read Writ 0811150373 cad Write Valid value range is from 0 to 1 Refer to 5 3 2 2 words Inactive slot list The corresponding bit represents slot position 0x1116 4374 Read Write 0 Active slot 1 Inactive slot Ex if value is 0x0001 0x8000 then slot 1 32 are inactive slots 0x1117 4375 Read 2 words ENS slot list The corresponding bit represents slot position 1 live slot 0 not live slot 0x1118 4376 Read 2 words Alarm slot list The corresponding bit represents slot position 1 Alarm slot 0 Normal slot 0x1119 4377 Read 1 word Hi byte is MODBUS status low byte is FnBus status Refer to 5 3 1 0x111A 4378 Write 1 word Reserved Adapter Scan command 0x111B 4379 Read Write 1 word Reserved IO State machine 0 111 4380 Read 2 words Reserved Runtime fault code 0x111D 4381 Read word Adapter FnBus Revision If 0x013C FnBus Revision is 1 60 0 111 4382 Read 1 word Reserved Adapter IO identification vendor code After the system is reset the new Set Value action is applied Tf 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 crev
30. O MODBUS Adapter NA 9171 NA 9173 FnlO 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 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 In no event will CREVIS be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are included solely for illustrative purposes Because of the many variables and requirements associated with any particular installation CREVIS cannot assume responsibility or liability for actual use based on the examples and diagrams Y Ifyou don t follow the directions it could cause a personal injury damage to the equipment or explosion Do not assemble the products and wire with power applied to the system Else it may cause an electric arc which can result into unexpected and potentially dangerous action by field devices Arching is explosion risk in hazardous locations Be sure that the area is non hazardous or remove system power appropriately bef
31. Slot Address Module Description 0 MODBUS Adapter 1 4 discrete output 2 8 discrete output 3 2 analog output 4 16 discrete output 5 4 discrete output 6 8 discrete output 7 2 relay output 8 2 relay output 9 2 analog output 10 16 discrete output 11 4 discrete output After the system is reset the new Process Image Mode action is applied Output Process Image Mode 0 Uncompressed Output Processing Data default output image Addr 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0x0800 Discrete out 8pts Slot 2 Empty Don t care Discrete out 4pts Slot 1 0 0801 Analog out Ch0 high byte Slot 3 Analog out Ch0 low byte Slot 3 0x0802 Analog out Chl high byte Slot 3 Analog out Chl low byte Slot 3 0x0803 Discrete out high 8pts Slot 4 Discrete out low 8pts Slot 4 0x0804 Discrete out 8pts Slot 6 Empty Don t care Discrete out 4pts Slot 5 Discrete Discrete 0 0805 Empty Don t care out 2pts Empty Don t care out 2pts Slot 8 Slot 7 0x0806 Analog out Ch0 high byte Slot 9 Analog out Ch0 low byte Slot 9 0x0807 Analog out Chl high byte Slot 9 Analog out Chl low byte Slot 9 0x0808 Discrete out high 8pts Slot 10 Discrete out low 8pts Slot 10 0x0809 Empty Don t care Empty Don t care Do ne Slot 11 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 28 FnIO MODBUS Adapter NA 9171 N
32. bit Sensor Connector 81 43 B3 Active ST 4422 2 Channels Voltage 0 10Vdc 12bit 81 41 2E Active ST 4424 4 Channels Voltage 0 10Vdc 12bit 81 43 6A Active ST 4474 4 Channels Voltage 0 10Vdc 12bit Sensor Connector 81 43 BO Active ST 4491 1 Channel Voltage 0 10 4 12bit Manual C1 40 41 BF Active ST 4522 2 Channels Voltage 10 10Vdc 12bit 81 41 2F Active ST 4622 2 Channels Voltage 0 5Vdc 12bit 81 41 30 Active ST 4911 1 Channel Current 0 1 12bit 81 40 31 Active Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 52 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series Special Module ST 5101 1 Channel High Speed Counter 5V Input 01 05 34 Active 5 5111 1 Channel High Speed Counter 24V Input 01 05 39 Active ST 5112 2 Channel High Speed Counter 24V Sink Input 01 07 4D Active ST 5114 4 Channel High Speed Counter 24V Sink Input Cl 03 OF 4C Active ST 5211 RS232 Communication RTS CTS Flow Control 05 05 42 Active ST 5212 RS232 Communication 2Channel Cl OB OB 43 Active ST 5221 RS422 Communication 1 Channel 05 05 44 Active ST 5231 RS485 Communication Channel C1 05 05 45 Active ST 5232 RS485 Communication 2Channel Cl OB OB 46 Active ST 5351 SSI Interface 1CH 01 09 9E Active ST 5422 2 CH PWM output 1 5A 24Vdc source 05 01 57 Active ST
33. c ab OE 2 3 1 Module Status LED 2 32 Received Data LED 2 3 8 Transmit Data 2 34 Expansion Module Status LED 23 5 Field Power Status LED a av qua d Vd RR DIMENSION MNT 3 1 S E EEEE 3 2 NA 917 E ETE 4 Mechanical Edi c 4 1 Total Expansion crate irat uet Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr FnlO S Series 4 FnIO MODBUS Adapter NA 9171 9173 FnlO S Series 4 2 Plugging and Removal of the Components 15 4 3 Internal FnBus Field Power Contacts ananassa 16 55 MODBUS Electrical 17 5 1 h a On n Q aQ 17 FnB s Pin Description Ge ae ct Ace MS deii idt k s CS Shu a ae ee 18 5 2 MODBUS Electrical Interface n dc 19 WPT c ror Ro cU 19 5 22 NA 9173 RSS nie ieribedeskc inea nci taken 19 5 2 3 Terminator RESIS UI iine iere enki
34. conomic loss Identifies information that is critical for successful application and understanding of the IMPORTAN product ATTENTION 1 Identifies information about practices or circumstances that can lead to personal injury property damage or economic loss Attentions help you to identity a hazard avoid a hazard and recognize the consequences 1 1 2 Safety Notes DANGER A 1 1 3 Certification c UL us UL Listed Industrial Control Equipment certified for U S and Canada See UL File E235505 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 e g FnBUS Pin DNV CERTIFICATE No A 10666 NA 9173 LR FCC CE Certificate EN 61000 6 2 Industrial Immunity EN 61000 6 4 Industrial Emissions Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 8 FnIO MODBUS Adapter NA 9171 NA 9173 S Series 2 Specification 2 1 Interface 2 1 1 NA 9171 MODBUS MODBUS Electrical Interface 5 GND 3 RXD 2 TXD Dsub 9 SignalName Description Female 1 2 TXD Output Transmitted Data 3 RXD Input Received Data 4 5 GND Signal Common 6 7 8 9 RS 232 MODBUS S232 System Power 5 9171 System Power GND FnB
35. dapter Product code 0 0300 NA 9171 MODBUS RS 232 0x1002 4098 Read 1 i wor 0x0301 NA 9173 MODBUS RS 485 0x1003 4099 Read 1 word Firmware revision if 0x0101 revision 1 01 0x1004 4100 Read 2 words Product unique serial number Product name string First 1 word is length of valid character string Example response as following String upto 8 0 1005 4101 34bytes 00 15 4E 41 39 31 37 33 5F 4D 4F 44 42 55 53 5F 41 64 61 70 74 65 y 72 00 00 00 Valid character size 0x0015 21 characters NA9173_MODBUS_ Adapter 0x1006 4102 Read 1 word Sum check of EEPROM 0x1010 4112 Read 2 words Firmware release date 0 1011 4113 Read 2 words Product manufacturing inspection date String upto Vendor name string 1012 4114 Read SEI 34bytes First 1 word is length of valid character string 7 words Composite Id of following address 1 word 0x1100 4352 Rotary switch value Slave Node Id word 0x1000 4096 Vendor ID 0 101 4126 1 word 0x1001 4097 Device type word 0x1002 4098 Product code word 0x1003 4099 Firmware revision 2 words 0x1004 4100 Product serial number String Type consists of valid string length first 1 word and array of characters CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr 5 MODBUS Adapter 9171 NA 9173 S Series 6 3 2 Adapter Watchdog Time other Time Special Register 0x1020 4128 A watchdog tim
36. dress 0x07 0x07 07 0 30 0 37 Function Code 0 17 0 17 17 0 31 0 37 Read Starting Address Hi 0x08 0x08 08 0x30 0x38 Read Starting Address 0x00 0x00 00 0x30 0x30 Quantity of Read Hi 0x00 0x00 00 0 30 0 30 Quantity of Read Lo 0x02 0x02 02 0x30 0x32 Write Starting Address Hi 0x08 0x08 08 0 30 0 38 Write Starting Address 0x00 0x00 00 0 30 0 30 Quantity of Write Hi 0x00 0x00 00 0x30 0x30 Quantity of Write Lo 0x02 0x02 02 0 30 0 32 Byte Count 0x04 0x04 04 0x30 0x34 Write Reg Value 0 Hi 0 11 0 11 11 0 31 0 31 Write Reg Value 0 0x22 0x22 22 0 32 0 32 Write Reg Value 1 Hi 0x33 0x33 33 0 33 0 33 Write Reg Value 1 Lo 0x44 0x44 44 0 34 0 34 Error Check 0x88 Ox3F 20 0x32 0x30 End of Frame t1 t2 t3 CR LF OxOD Response Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 SH Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0 17 0 17 17 0 31 0 37 Byte Count 0x04 0x04 04 0 30 0 34 Write Reg Value 0 Hi 0 11 0 11 11 0x31 0x31 Write Reg Value 0 Lo 0x22 0x22 22 0 32 0 32 Write Reg Value 1 Hi 0x33 0x33 33 0x33 0x33 Write Reg Value 1 Lo 0x44 0x44 44 0 34 0 34 Error Check 0 2 OxD2 34 0x33 0x34 End of Frame t1 t2 t3 CR LF Incase of ad
37. dress 0x0800 0x0801 output register value 0x0000 0x0000 changes to 0x1122 0 3344 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 41 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 6 2 11 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 Exception Response Example Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 n Ox3A Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0 81 0 81 81 0x38 0x31 Exception Code 0x02 0x02 02 0 30 0 32 Error Check 0 22 76 0 37 0 36 End of Frame t1 t2 t3 CR LF OxA Exception Codes pn Name Description 01 Illegal Function The function code received in the query is not an allowable action for the server or slave 02 Illegal Data Address The data address received in the query is not an allowable address for the server or slave 03 Illegal Data Value A value contained in the query data field is not an allowable value for server or slave 04 Slave Device Failure An unrecoverable error occurred while the server or slave was attempting to perform the requested action 05 Acknowledge The server or slave has accepted the request and is p
38. ds transmitted serially on the line It determines how information is packed into the message fields and decoded 6 1 1 RTU Transmission Mode When devices communicate on MODBUS serial line using the RTU Remote Terminal Unit mode each 8 bit byte in a message contains two 4 hexadecimal characters The main advantage of this mode is that its greater character density allows better data throughput than ASCII mode for the same baud rate Each message must be transmitted in a continuous stream of characters Start Address Function Data CRC Check End 3 5 chars 1 char 1 char 6 1 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 Up to 252 chars 2 chars 3 5 chars Start Address Function Data CRC Check End 1 char 2 chars 2 chars Up to 252 chars 2 chars 2 chars CR LF 6 2 Supported MODBUS Function Codes Function Code Function Description Unicast Broadcast 1 0 01 Read Coils Read output bit Unicast 2 0x02 Read Discrete Inputs Read input bit Unicast 3 0x03 Read Holding Registers Read output word Unicast 4 0x04 Read Input Re
39. er can be configured for timeout periods up to 65535 1unitz100msec 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 Address Access Type Size Description Watchdog time value 16bit unsigned The time value is represented by multiples of 100msec S The default value is 50 50 100msec 5sec A changing of watchdog time value resets watchdog error tchdog time remain val 0 1021 4129 Read 1 word 122244 This value decreases every 100msec 0x1022 4130 Read Te Watchdog error counter it is cleared by writing address 0 1020 Enable disable auto recovery Watchdog error when receiving new frame n ME 0 Disable 1 Enable default Its value is stored in EEPROM Transmission response delay time The value can be set 16bit 0x1024 4132 Read Write 1 word unsigned 1msec unit The default value is 0 no delay Valid byte byte time gap in ASCII mode 1msec unit 0x1025 4133 Read Write 1 word In ASCII mode byte byte time gap is over setting value during receiving frame this frame will be cancelled dropped 0x1028 4136 Read 2 words IO update time main loop time 100usec unit Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS
40. ess output image bits 1 5 15 All output registers area is addressable by bit address Size of output image bit is size of output image register 16 CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS Status 1word 24 FnIO MODBUS Adapter NA 9171 NA 9173 5 3 Example S Series 5 3 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 Input process image mode can be set by special register 0x1114 4372 Refer to 6 3 For example slot configuration 3 Module Description MODBUS Adapter 4 discrete input 8 discrete input 2 analog input 16 discrete input 4 discrete input 8 discrete input 4 discrete input 2 analog input 16 discrete input 555 Slot Address m a nam Lic rm mm pm 0 5 52 2 3 4 85 1693 2203 2 3 e el 6 1025 1605 imt 1625 1605 i 7 72 peer Lee 8 e Pe 9 9 n i i 10
41. function Data Field Request Data Field Response Description 0x0001 1 0x0000 OxFFOO Echo Request Data Reset 0x0001 1 Ox55AA Echo Request Data Reset with Factory Default expansion slot configuration parameters are cleared Y Sub function 0x000A 10 Clear Counters and Diagnostic Register CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr 5 37 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 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 0 000 10 0 0000 Echo Request Data v Sub function 0x000B 11 Return Bus Message Count The response data field returns the quantity of messages that the remote device has detected on the communications system since its last restart clear counters operation or power up Sub function Data Field Request Data Field Response Description 0x000B 11 0 0000 Total Message Count Y Sub function 0x000C 12 Return Bus Communication Error Count The response data field returns the quantity of CRC errors encountered by the remote device since its last restart clear counters operation or power up Sub function Data Field Request Data Field Response Description 0 000 12 0 0000 CRC Error Count v Sub function 0x000D 13 Return Bus Exception Error Count The response data field returns the quantity of MODBUS excepti
42. gisters Read input word Unicast 5 0x05 Write Single Coil Write one bit output Unicast Broadcast 6 0x06 Write Single Register Write one word output Unicast Broadcast 8 0x08 Diagnostics Serial Line only Read diagnostic register Unicast 15 OxOF Write Multiple Coils Write a number of output bits Unicast Broadcast 16 0x10 Write Multiple registers Write a number of output words Unicast Broadcast 23 05177 Read Write Multiple register 228 number of words Unicast Write a number of output words Refer to MODBUS APPLICATION PROTOCOL SPECIFICATION 1 1 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 30 Copyright C FnIO MODBUS Adapter NA 9171 NA 9173 6 2 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 Status is indicated as 12 ON and 0 OFF S Series Request Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 id 0 3 Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0 01 0 01
43. he function code starting address and quantity of coils forced Request Field name Example RTU ASCII ASCII bus line Start of Frame 11 12 13 Slave Address 0x07 0x07 07 0 30 0 37 Function Code OxOF OxOF 0 30 0 46 Starting Address Hi 0x10 0x10 10 0x31 0x30 Starting Address Lo 0x00 0x00 00 0x30 0x30 Quantity of Outputs Hi 0x00 0x00 00 0x30 0x30 Quantity of Outputs Lo 0x30 0 41 Byte Count 0x02 0x02 02 0 30 0 32 0 0 55 0 55 55 0x35 0x35 Output Value 1 0 01 0 01 01 0 30 0 31 Error Check 0 21 9 78 0 37 0 38 End of Frame t1 t2 t3 CR LF Response Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 Ox3A Slave Address 0x07 0x07 07 0 30 0 37 Function Code OxOF OxOF 0 30 0 46 Starting Address Hi 0x10 0x10 10 0x31 0x30 Starting Address Lo 0x00 0x00 00 0 30 0 30 Quantity of Outputs Hi 0x00 0x00 00 0x30 0x30 Quantity of Outputs Lo 0x30 0 41 Error Check OxD1 0 44 0 30 End of Frame t1 t2 t3 CR LF OxA Incase of address 0x1015 0x1000 output bit value 00000000 00000000 changes to 00000001_01010101 CREVIS Co Ltd Sup
44. ic 24Vdc 0 5A 81 00 11 Active ST 2324 4 Points Source Positive Logic 24Vdc 0 5A 81 00 10 Active ST 2328 8 Points Source Positive Logic 24Vdc 0 5A 81 00 12 Active ST 2414 4 Points Sink Negative Logic 24Vdc 0 5A Diagnostics 81 00 08 Active ST 2424 4 Points Source Positive Logic 24Vdc 0 5A Diagnostics 00 00 38 ST 2514 4 Points Sink Negative Logic 24Vdc 2A Diagnostics 00 00 35 Active ST 2524 4 Points Source Positive Logic 24Vdc 2A Diagnostics Cl 00 00 36 Active ST 2614 4 Points Sink Negative Logic 24Vdc 2A 81 00 3B Active ST 2624 4 Points Source Positive Logic 24Vdc 2A 81 00 3C Active ST 2742 2 Points 230Vac 2A 24Vdc 2A Relay 81 00 OB Active ST 2744 4 Points 230Vac 2A 24Vdc 2A Relay 81 00 51 Active ST 2748 8 Points 230Vac 2A 24Vdc 2A Relay 81 00 50 Active Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 51 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series ST 2792 2 Points 230Vac 2A 24Vdc 2A Relay Manual Auto Cl 00 01 BE Active ST 2852 2 Points 12 125Vac 0 5A Triac 81 00 Active ST 2924 4 Points 24Vac 2A 24 4 2 4 Points 4COM 81 00 CO NEW ST 2944 4 Points 24Vac 2A 24Vdc 2A 1 Points 1 COM 81 00 CI NEW ST 2734 4 Points 24 220Vac dc 0 5A 1 Points 1COM 81 00 C2 NEW Analog Input Module ST 3114 4 Channels Current 0 20mA 12bit
45. in power for master and communication cable NET LED flashed green Failure of exchanging data with master Check status in software for Master configuration NET LED is red Copyright C Communication connecting lost CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr Check BUS line cable for connection with master Check duplication address CREVIS 49 FnIO MODBUS Adapter NA 9171 NA 9173 S Series 7 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 Configuration of Node address Check duplication node address Configuration of Master Check configuration of master Check whether to do download or don t Check composition is right Configuration of communication baud rate 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 CREVIS 50 F
46. is co kr CREVIS 45 MODBUS Adapter 9171 NA 9173 6 3 4 Expansion Slot Information Special Register 0x2000 8192 Each expansion slot has 0x20 32 address offset and same information structure S Series Slot 1 0 2000 8192 0x201F 8223 Slot 17 0x2200 8704 0x221F 8735 Slot 2 0 2020 8224 0 203 8255 Slot 18 0x2220 8736 0x223F 8767 Slot 3 0 2040 8256 0 205 8287 Slot 19 0x2240 8768 0x225F 8799 Slot 4 0 2060 8288 0x207E 8319 Slot 20 0 2260 8800 0x227F 8831 Slot 5 0x2080 8320 0 209 8351 Slot 21 0x2280 8832 0x229F 8863 Slot 6 0 20 0 8352 0 20 8383 Slot 22 0 22 0 8864 0 22 8895 Slot 7 0 20 0 8384 0 20 8415 Slot 23 0 22 0 8896 0 220 8927 Slot 8 0 20 0 8416 0 20 8447 Slot 24 0 22 8928 0x22FF 8959 Slot 9 0 2100 8448 0 211 8479 Slot 25 0x2300 8960 0 231 8991 Slot 10 0 2120 8480 0x213F 8511 510826 0 2320 8992 0x233F 9023 Slot 11 0 2140 8512 0 215 8543 Slot 27 0x2340 9024 0x235F 9055 Slot 12 0 2160 8544 0 217 8575 Slot 29 0x2360 9056 0x237F 9087 Slot 13 0x2180 8576 0x219F 8607 Slot 20 0 2380 9088 0 239 9119 Slot 14 0x21A0 8608 0x21BF 8639 Slot 30 0x23A0 9120 0x23BF 9151 Slot 15 0 21 0 8640 0x21DF 8671 Slot 31 0 23 0 9152 0x
47. k adapter and expansion modules is done via an I O process image data by FnBus protocol The following figure shows the data flow of process image between network adapter and expansion modules Network Adapter Read Data Expansion Modules Slot 1 Input Data Slot 2 Input Data Network READ Slot 32 Input Data ert stot 1 Slot 2 Slot 32 Write Data Write Network WRITE Slot 1 Output Data Slot 2 Output Data Slot 32 Qupa Data 5 2 7 MODBUS Interface Register Bit Map Register Start Address Read Write Description Func Code 0 0000 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 Adapter Identification special registers 3 4 23 0x1020 Read Write Adapter Watchdog other time special register 3 4 6 16 23 0 1100 Read Write Adapter Information special registers 3 4 6 16 23 0x2000 Read Write Expansion Slot Information special registers 3 4 6 16 23 The special register map must be accessed by read write of every each address one address Bit Map Start Address Read Write Description Func Code 0x0000 Read Process input image bits 2 All input registers area is addressable by bit address Size of input image bit is size of input image register 16 0x0800 Read Write Proc
48. nIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series APPENDIX A A 1 Product List ST Number Description ID hex Production Status Digital Input Module ST 1114 4 Points Sink Positive 5Vdc 41 00 Ol Active ST 111F 16 Points Sink Positive 5Vdc 41 01 19 Active ST 1124 4 Points Source Negative 5Vdc 41 00 02 Active ST 112F 16 Points Source Negative 5 Vdc 41 01 Active ST 1214 4 Points Sink Positive 12V 24Vdc 41 00 03 Active ST 1218 8 Points Sink Positive 12V 24Vdc 41 00 07 Active ST 121F 16 Points Sink Positive 12V 24Vdc 41 01 13 Active ST 1224 4 Points Source Negative 12V 24Vdc 41 00 04 Active ST 1228 8 Points Source Negative 12V 24Vdc 41 00 08 Active ST 122F 16 Points Source Negative 12V 24Vdc 41 01 14 Active ST 1314 4 Points Sink Positive 48 Vdc 41 00 05 Active ST 131F 16 Points Sink Positive 48 Vdc 41 01 17 Active ST 1324 4 Points Source Negative 48Vdc 41 00 06 Active ST 132F 16 Points Source Negative 48Vdc 41 01 18 Active ST 1804 4 Points 110Vac 41 00 09 Active ST 1904 4 Points 220Vac 41 00 OA Active Digital Output Module ST 2114 4 Points TTL Inverting 5Vdc 20mA 81 00 OD Active ST 2124 4 Points TTL Non Inverting 5Vdc 20mA 81 00 OF Active ST 221F 16 Points Sink Negative Logic 24Vdc 0 5A 81 01 15 Active ST 222F 16 Points Source Positive Logic 24Vdc 0 5A 81 01 16 Active ST 2314 4 Points Sink Negative Logic 24Vdc 0 5A 81 00 OE Active ST 2318 8 Points Sink Negative Log
49. nternal FnBus Field Power Contacts Communication between the NA series and the expansion module as well as system field power supply of the bus modules is carried out via the internal bus It is comprised of 6 data pin and 2 field power pin a Field Power Pins Data Pins DANGER Do not touch data and field power pins in order to avoid soiling and damage by ESD noise Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 17 FnIO MODBUS Adapter NA 9171 NA 9173 S Series 5 MODBUS Electrical Interface 5 1 FnBus System User Interface Fn Bus Interface Processor Expansion Module Module 4 Network Serial Service Messaging Communication Protocol Configuration Tool Soft PLC Master Net Vcc 5V eviceNe Token Output Serial Output Serial Input Network Reserved Adapter Module Slot 1 gt Network Expansion Adapter Module Module Field GND 0Vdc Field Vcc 24Vdc ModBus LILT e 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 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis c
50. o kr CREVIS 18 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series Expansion Module 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 FnBus Message Service Messaging Messaging FnBus Pin Description No Name Description 1 System supply voltage 5 dc 2 GND System Ground 3 Token Output Token output port of Processor module 4 Serial Output Transmitter output port of Processor module 5 Serial Input Receiver input port of Processor module 6 Reserved Reserved for bypass Token 7 Field GND Field Ground 8 Field Field supply voltage 24Vdc Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 19 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 5 2 MODBUS Electrical Interface 5 2 1 NA 9171 RS 232 Signal Description Female Name H 1 2 TXD Output Transmitted Data 5 GND 1 3 Input Received Data 3 RXD ii a 5 GND Signal Common 2 TXD 6 7 8 9 E 5 2 2 NA 9173 RS 485 Male Signal Name Description Open Connector Pin 5 DATA 5 DATA In Out Transceiver Data High 4 In Out Transceiver GND Data Low 3 GND Signal Common 2 SHIELD 1 FG Internally Shorted Network Connector
51. on responses returned by the remote device since its last restart clear counters operation or power up Exception responses are described and listed in section 6 2 11 Sub function Data Field Request Data Field Response Description 0x000D 13 0x0000 Exception Error Count Y Sub function 0x000E 14 Return Slave Message Count The response data field returns the quantity of messages addressed to the remote device or broadcast that the remote device has processed since its last restart clear counters operation or power up Sub function Data Field Request Data Field Response Description 0 000 14 0 0000 Slave Message Count Y 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 Sub function Data Field Request Data Field Response Description 0 000 15 0 0000 Slave No Response Count Y Sub function 0x0064 100 Return Slave MODBUS FnBus Status The response data field returns the status of MODBUS and FnBus addressed to the remote device This status values are identical with status 1 word of input process image Refer to 5 3 1 Sub function Data Field Request Data Field Response Description 0x0064 100 0x0000 MODBUS FnBus Status Same as status word Y S
52. ore assembling or wiring the modules Do not touch any terminal blocks IO modules when system is running Else it may cause the unit to an electric shock or malfunction Keepaway from the strange metallic materials not related to the unit and wiring works should be controlled by the electric expert engineer Else it may cause the unit to a fire electric shock or malfunction Y If you disobey the instructions there may be possibility of personal injury damage to equipment or explosion Please follow below Instructions Check rated voltage and terminal array before wiring Avoid the circumstances over 55 of temperature Avoid placing it directly in the sunlight Avoid the place under circumstances over 8596 of humidity Do not place Modules near by the inflammable material Else it may cause a fire Do not permit any vibration approaching it directly Go through module specification carefully ensure inputs output connections are made with the specifications Use standard cables for wiring Use Product under pollution degree 2 environment Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 7 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 1 1 Safety Instruction 1 1 1 Symbols DANGER 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 e
53. port 82 31 899 4599 URL www crevis co kr CREVIS 39 Copyright C 6 2 9 16 0x10 Write Multiple Registers FnIO MODBUS Adapter NA 9171 NA 9173 S Series 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 Request Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0 0 0 0 0 30 0 46 Starting Address Hi 0x08 0x08 08 0x30 0x38 Starting Address Lo 0x00 0x00 00 0x30 0x30 Quantity of Registers Hi 0x00 0x00 00 0x30 0x30 Quantity of Registers Lo 0x02 0x02 02 0x30 0x32 Byte Count 0x04 0x04 04 0x30 0x34 Register Value 0 Hi 0 11 0 11 11 0 31 0 31 Register Value 0 0 22 0 22 22 0 32 0 32 Register Value 1 Hi 0x33 0x33 33 0 33 0 33 Register Value 1 Lo 0x44 0x44 44 0 34 0 34 Error Check Ox3B 0 12 31 0x33 0x31 End of Frame t1 t2 t3 CR LF OxA Response Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 Slave Address 0x
54. rocessing it but a long duration of time will be required to do so 06 Slave Device Busy Specialized use in conjunction with programming commands The server or slave is engaged in processing a long duration program command The client or master should retransmit the message later when the server or slave is free 08 Memory Parity Error The server or slave attempted to read record file but detected a parity error in the memory The client or master can retry the request but service may be required on the server or slave device 0A Gateway Path Unavailable Specialized use in conjunction with gateways indicates that the gateway was unable to allocate an internal communication path from the input port to the output port for processing the request NA 9171 NA 9173 response exception code 01 02 03 04 and 06 Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS MODBUS Adapter 9171 NA 9173 S Series 6 3 MODBUS Special Register 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 6 3 1 Adapter Identification Special Register 0x1000 4096 Copyright C Address Access Type Size Description 0x1000 4096 Read 1 word Vendor ID 0x02E5 741 Crevis Co Ltd 0x1001 4097 Read 1 word Device type 0x000C Network A
55. s indicated as 12 ON 02 OFF Request Field name Example RTU ASCH ASCII bus line Start of Frame t1 t2 t3 Ox3A Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x02 0x02 02 0x30 0x32 Starting Address Hi 0x00 0x00 00 0x30 0x30 Starting Address Lo 0x00 0x00 00 0x30 0x30 Quantity of Inputs Hi 0x00 0x00 00 0x30 0x30 Quantity of Inputs Lo Ox0A 0x30 0 41 Error Check OxF8 0x6B ED 0x45 0x44 End of Frame t1 t2 t3 CR LF OxA Response Field name Example RTU ASCII ASCII bus line Start of Frame t1 t2 t3 d Slave Address 0x07 0x07 07 0 30 0 37 Function Code 0x02 0x02 02 0 30 0 32 Byte Count 0x02 0x02 02 0 30 0 32 Input Status 0x80 0x80 80 0x38 0x30 Input Status 0x00 0x00 00 0 30 0 30 Error Check 0 50 0 78 75 0 37 0 35 End of Frame t1 t2 t3 CR LF Incase of address 0x0015 0x0000 output bit value 00000000 10000000 CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 32 Copyright C 6 2 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 FnIO MODBUS Adapter NA
56. ta TXD 1 Green Red Expansion Module Status I O 1 Green Field Power Status Module Location Starter module left side of FnIO system Field Power Detection Copyright C About 11 Vdc CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 12 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 2 3 LED Indicator 2 3 1 Module Status LED MOD State LED is indicate No Power Off No power is supplied to the unit Device Operational Green The unit is operating in normal condition Devisen Samdby Fiene es ane device meee commissioning due to configuration missing incomplete or incorrect MODBUS Error Toggle MODBUS error such as watchdog error CRC LRC error Setup dip switch error etc Recoverable Fault Minor Fault Flashing Red EEPROM sum check error Unrecoverable Fault Red The device has an unrecoverable fault 2 3 2 Received Data LED RXD Memory error or CPU watchdog error State LED is To indicate Not Powered Off Device is not on line or may not be powered Adapter Slave received correct frame which address to the slave Adapter received Flashing Green or broadcast correct message frame 2 3 3 Transmit Data LED TXD About 20msec flashing State LED is To indicate Not Powered Off Device is not on line or may not be powered Adapter 51 tr it frame Adapter transmit frame Flashing Green
57. td Support 82 31 899 4599 URL www crevis co kr CREVIS 46 FnIO MODBUS Adapter NA 9171 NA 9173 FnlO S Series 0 10 29 0x201D 8221 0x203D 8253 0x205D 8285 0 2300 9181 0x23FD 9213 Ox1E 30 0 201 8222 0 203 8254 0 205 8286 0 230 9182 0 23 9214 Ox1F 31 0 201 8223 0 203 8255 Ox205F 8287 0 230 9183 0 23 9215 Address Access Type Size Description 0x00 0 Read 1 word Slot module id Refer to Appendix A 1 Product List 0 01 1 Read 1 word Expansion Slot IO code Refer to Table IO Data Code Format 0x02 2 Read 1 word Input start register address of input image word this slot 0 03 3 Read 1 word Input word s bit offset of input image word this slot 0x04 4 Read 1 word Output start register address of output image word this slot 0 05 5 Read 1 word Output word s bit offset of output image word this slot 0 06 6 Read 1 word Input bit start address of input image bit this slot 0x07 7 Read 1 word Output bit start address of output image bit this slot 0x08 8 Read 1 word Size of input bit this slot 0x09 9 Read 1 word Size of output bit this slot 0 10 55 Read n words Read input data this slot 11 55 Read Write n words Read write output data this slot 0 0 12 Read Write 1
58. ub function 0x0065 101 Return Slave MODBUS Error Count The response data field returns the quantity of watchdog error addressed to the remote device since its last restart clear counters operation or power up Sub function Data Field Request Data Field Response Description 0x0065 101 0 0000 Watchdog Error Count v Sub function 0x0066 102 Change Slave IO Output Status Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 38 MODBUS Adapter 9171 NA 9173 S Series The sub function with data fields is to clear watchdog counter and change IO output status This may be used to simulate clear output and fault output Sub function Data Field Request Data Field Response Description 0x0066 102 0x0000 Echo Request Data Ready output Automatically turns Normal output 0x0066 102 0x0001 0x0002 0x0003 Echo Request Data Clear output 0x0066 102 0x0004 Echo Request Data Normal output 0x0066 102 0x0005 0x0006 0x0007 Echo Request Data Fault output Copyright C 6 2 8 15 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 The normal response returns t
59. us Signal S ___ Field Power Se er nce Field Power 24Vdc OV Field Power 24V OV System Power Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 9 FnIO MODBUS Adapter NA 9171 NA 9173 S Series 2 1 2 NA 9173 MODBUS 5 485 RS485 Connector MODBUSRSABSE System Power 5Vdc NA 9173 eo System Power GND RS485 RS485 ove CREVIS FnBus Signal FG Dsub 5 Pin z i Female SignalName Description 1 RS485 In Out Transceiver Data High 2 RS485 In Out Transceiver Data Low 3 GND Signal Common WEE 9 4 Shield Shield 5 FG Frame Ground Internally shorted with Shield Q lt u m Field Power 0Vdc pecie ss Field Power 24Vdc OV 24V Field Power 24V System Power Copyright C CREVIS Co Ltd Support 82 31 899 4599 URL www crevis co kr CREVIS 10 2 2 Specification MODBUS Adapter 9171 NA 9173 2 2 1 General Specification General Specification S Series System Power Supply voltage 24Vdc nominal Supply voltage range 11 28 8Vdc Protection Output current limit Min 1 5A Reverse polarity protection Power Dissipation 70mA typical 24Vdc Current for I O Module 1 5A 5Vdc System power to internal logic Non isolation Isolation System power to I O driver Isolation Field Power
60. word Inactive slot 0x0000 active 0x0001 inactive 0 14 Read 1 word ST number if ST 1324 returns 0x1324 First 1 word is length of valid character string If ST 1324 returns nena S 021595420 1 2242020 46 4F 20242959675 Valid character size 0x0021 33 characters ST 1324 FnIO 4 Sourcing In 48Vdc 0 10 16 Read 1 word Size of configuration parameter byte Read write Configuration parameter data up to 8byte Refer to 0 11 17 Read Write n words document FnIO_Configuration_Parameter_Memory_Register_Rev1 01 0x12 18 Read 1 word Size of memory byte 0 13 19 Read Write n words Read write Memory data Offset of memory is fixed with 0 0 14 20 Read Write n words Read write Memory data First 2byte of write data is memory offset 0 15 21 Read 2 words Product code Refer to Appendix A 1 Product List 0x16 22 Read 2 words Catalog number Refer to Appendix A 1 Product List 0 17 23 Read 1 word Firmware Revision 0x18 24 Read 1 word FnBus Revision 0 1 26 Read Write n words Reserved Read write expansion class access 0 18 27 Read Write n words Reserved Read write maintenance data access After the system is reset the new Set Value action is applied Nothing of output input and memory or configuration parameter corresponding slot returns Exception 02 Slot Configuration parameter saved by internal EEPROM during power cycle until slot position changed

Download Pdf Manuals

image

Related Search

Related Contents

Manual - Cross Technologies, Inc.  Impo DGP 24 F  1 - ソニー製品情報  pdf - Glottopol - Université de Rouen  www.silverlinetools.com PDF Compressor Pro  Valais, terre promise! - La Vie à Crans  Operating Instructions Geberit AquaClean 8000  

Copyright © All rights reserved.
Failed to retrieve file