Home
ZB-2018 Series User Manual
Contents
1. Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte Ox82 02 Egceptioncode l Byte 03 the starting channel number of input channels is out of range or an incorrect number of bytes were received ZB 2018 Series User Manual V1 2 Aug 2011 ZB 2018 T 3 2 04 0x04 Read Input Channels This function code is used to read from contiguous analog input channels Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x04 02 03 Starting channel 2 Bytes 0 to 7 04 05 Number of input 2 Bytes 1 to 8 channels N Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x04 02 Byte count 1 Byte 2xN 03 Data of input 2xN Data in 2 s complement hex channels Bytes format or engineering format Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x84 02 Egception code l Byte 03 the starting channel number of input channels is out of range or an incorrect number of bytes were received ZB 2018 Series User Manual V1 2 Aug 2011 91 ZB 2018 T 3 3 70 0x46 Read Write Module Settings This function code is used to read the settings of the module or change the settings of the module The following sub function codes are supported Sub function Code Description Sec
2. 2B 2018 Series User Manual V1 2 Aug 2011 18 270 400 C 2 s comp HEX 7FFF DCA2 Type E Engineering unit 1000 0 0270 0 11 Thermocouple of FSR 100 00 027 00 270 1000 C 2 s comp HEX 7FFF DD71 Type R Engineering unit 1768 0 0000 0 12 Thermocouple of FSR 100 00 000 00 0 1768 C 2 s comp HEX 7FFF 0000 Type S Engineering unit 1768 0 0000 0 13 Thermocouple of FSR 100 00 000 00 0 1768 C 2 s comp HEX 7FFF 0000 Type B Engineering unit 1820 0 0000 0 14 Thermocouple of FSR 100 00 000 00 0 1820 C 2 s comp HEX 7FFF 0000 Type N Engineering unit 1300 0 0270 0 15 Thermocouple of FSR 100 00 020 77 270 1300 C 2 s comp HEX TFFF E56B Type C Engineering unit 2320 0 0000 0 16 Thermocouple of FSR 100 00 000 00 0 2320 C 2 s comp HEX TFFF 0000 Type L Engineering unit 800 00 200 00 17 Thermocouple of FSR 100 00 025 00 200 800 C 2 s comp HEX TFFF E000 Type M Engineering unit 100 00 200 00 18 Thermocouple of FSR 050 00 100 00 200 100 C 2 s comp HEX 4000 8000 Type Lomas710 Engineering unit 900 00 200 00 19 Thermocouple of FSR 100 00 022 22 200 800 C 2 s comp HEX TFFF E38E 4 to 20 Engineering unit 20 000 04 000 1A aN of FSR 100 00 000 00 2 s comp HEX FFFF 0000 ZB 201
3. AARL CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF RL Command to read the low latches Response Valid command A A data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF data Low latches of all channels see Section 1 8 for the data format There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RL Response 101 02 000 00 000 00 000 00 000 00 000 0 0 000 00 000 00 000 Reads the low latches of module 01 and receives the data in engineering format Related Commands Section 2 34 AACL Section 2 35 AACLi Section 2 47 AARLi ZB 2018 Series User Manual V1 2 Aug 2011 86 ZB 2018 T 2 46 AARLCi Description This command is used to read the low alarm of a channel Syntax AARLCi CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF RL Command to read the low alarm Ci The channel to be clear zero based Response Valid command A A data S CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF data Low latch of a channel see Section 1 8 for the data format S Alarm type 0
4. Syntax AAO Name CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF O Command to set the module name Name New name of the module max 6 characters Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 010Z2018 Response 01 Sets the name of module 01 to be Z2018 and returns a valid response Command 01M Response 01Z2018 Reads the name of module 01 and returns the name Z2018 Related Commands Section 2 20 AAM ZB 2018 Series User Manual V1 2 Aug 2011 68 ZB 2018 T 2 31 AACH Description This command is used to clear the high latches Syntax AACH CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF CH Command to clear the high latches Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Comman
5. Section 2 17 AAA Section 2 18 AAAi Section 2 27 AAC ZB 2018 Series User Manual V1 2 Aug 2011 65 ZB 2018 T 2 29 AAEV Description Enable Disable the module calibration Syntax AAEV CHKSUM CR Delimiter character AA Address of the module to be enabled disabled 00 to FF E Command to enable disable calibration V 1 enable calibration 0 disable calibration Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 66 ZB 2018 T Examples Command 010 Response 01 Sends a command to perform a span calibration on module 01 An invalid response is returned because the enable calibration command has not yet been sent Command 01E1 Response 01 Enables calibration on module 01 and returns a valid response Command 010 Response 01 Sends the command to perform a span calibration on module 01 and returns a valid response Related Commands Section 2 4 AAO Section 2 5 AA1 Related Topics Section 1 9 Calibration ZB 2018 Series User Manual V1 2 Aug 2011 67 ZB 2018 T 2 30 AAO Name Description This command is used to set the name of a module
6. Section 2 9 AA5VV ZB 2018 Series User Manual V1 2 Aug 2011 41 ZB 2018 T 2 11 AA7CiRrr Description This command is used to set the type code of a channel Syntax A A7CiRrr CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF 7 Command to set the channel range code Ci i specifies the input channel to be set 0 7 Rrr rr represents the type code of the channel to be set Refer to the Temperature Sensor Type Setting table in Section 1 8 Response Valid command 1AA CHKSUM CR Invalid command AAL CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command or invalid type code AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 42 ZB 2018 T Examples Command 017COR20 Response 01 Sets the type code for channel 0 of module 01 to be 20 PT100 100 100 C and the module returns a valid response Command 027C5R28 Response 02 Sets the type code for channel 5 of module 02 to 28 Ni120 80 100 C and the module returns a valid response Command 037C1R30 Response 03 Sets the type code for channel 1 of module 03 to 30 The module returns an invalid response because the type code is invalid Related Commands Section 2 12 AA8Ci Related To
7. 0x07 Read type code oo eee eecesecseeeecneeeeceseeecsseceeesecnevsecsaeeeesaecatesesnesseenaeeess 94 3 3 3 Sub function 08 0x08 Set type COd eee eeseeecesecseesecseeeecsseeecaecseesecsevsecsaeeeesaecateseenesseseaeeees 95 3 3 4 Sub function 32 0x20 Read firmware Version ccccccccccsssecesscessseceseeessceceeeeeseecseeesseeceeeeeaees 96 3 3 5 Sub function 37 0x25 Read channel enabled disabled status cccccscccsssceescecsseceseeeeseeeenes 97 3 3 6 Sub function 38 0x26 Set channel enable disable 2 0 0 ccccceccccssecessceececeseeesseecseeeesseecsseeeeaees 98 3 3 7 Sub function 41 0x29 Read miscellaneous settings cesccesecseesseesceeeceeeeeeseeeeeseceaeeeaeenaeenes 99 3 3 8 Sub function 42 Ox2A Write miscellaneous settings ccceeceseeesecececeeeeseeeeeeeeeeeeeeereesreneees 100 3 3 9 Sub function 43 Ox2B Read the CJC offset ccc cccecssccsscecssecssececsseceeeeeeseecseeeeesseceeeeeesaeenes 101 3 3 10 Sub function 44 Ox2C Write the CJC offset cccccccccccsscesssecssscesceecssecssseecsseseseeecsseeesees 102 3 3 11 Sub function 45 0x2D Read the CJC enabled disabled status cccccccssccesseeeseceseeeenees 103 3 3 12 Sub function 46 Ox2E Enable disable CJC ccccccccccssccessceseecssesesscecseceeseecesesseeeecsaeensees 104 3 3 13 Sub function 47 Ox2F Read the CJC update setting 0 eee eeeseeeceeeeceseceeeseceeeeneeeneees 105 3 3 14 Sub function 48 0x30 Write the
8. 2 Aug 2011 80 ZB 2018 T 2 41 AALO data CiT Description This command is used to set the low alarm of a channel Syntax AALO data CiT CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF LO Command to set the low alarm data High alarm limit which consists with the data format Refer to Section 1 8 for details Ci The channel to be clear zero based T Alarm type M momentary alarm L latched alarm Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 81 ZB 2018 T Examples Command 01LO 03 000C1L Response 01 Sets the high alarm of channel 1 The low alarm limit is 03 000 and the type is latched and returns a valid response Command 01DI Response 010002 Reads the alarm status and returns the high alarm of channel 1 is enabled and others are disabled Related Commands Section 2 38 AADI ZB 2018 Series User Manual V1 2 Aug 2011 82 ZB 2018 T 2 42 AARH Description This command is used to read the high latches Syntax AARH CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF RH Command
9. Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF SS Two hexadecimal digits that represent the host watchdog status where Bit 7 O indicates that the host watchdog is disabled and 1 indicates that the host watchdog is enabled Bit 2 1 indicates that a host watchdog timeout has occurred and 0 indicates that no host watchdog timeout has occurred The host watchdog status is stored in EEPROM and can only be reset using the AA1 command There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 56 ZB 2018 T Examples Command 010 Response 0100 Reads the host watchdog status of module 01 and returns 00 meaning that the host watchdog is disabled and no host watchdog timeout has occurred Command 020 Response 0204 Reads the host watchdog status of module 02 and returns 04 meaning that a host watchdog timeout has occurred Related Commands Section 2 22 Section 2 24 AA1 Section 2 25 AA2 Section 2 26 AA3ETT Related Topics Section 5 1 Dual Watchdog Operation ZB 2018 Series User Manual V1 2 Aug 2011 57 ZB 2018 T 2 24 AA1 Description This command is used to reset the host watchdog timeout status of a module Syntax AA1 CHKSUM CR Delimiter character AA Address of the m
10. Ox2D 03 CJC 1 Byte J0 CJC disabled enabled disabled 1 CJC enabled status Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 the reserved bits should be filled with zero or an incorrect number of bytes were received 2ZB 2018 Series User Manual V1 2 Aug 2011 103 ZB 2018 3 3 12 Sub function 46 0x2E Enable disable CJC This sub function code is used to enable disable the CJC of a module T Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte Ox2E 03 Reserved 1 Byte 0x00 04 Enable disable 1 Byte 0 disable CJC CJC 1 enable CJC Note The reserved fields are filled with zeros Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte Ox2E 03 Result 1 Byte 0 OK others error Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 the reserved bits should be filled with zero or an incorrect number of bytes were received 2B 2018 Series User Manual V1 2 Aug 2011 104 ZB 2018 T 3 3 13 Sub function 47 Ox2F Read the CJC update setting This sub function code is used to read the CJC update setting of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1
11. l Byte 03 the reserved bits should be filled with zero or an incorrect number of bytes were received 2B 2018 Series User Manual V1 2 Aug 2011 106 ZB 2018 T 3 4 Address Mappings The address mappings are as follows Address Description Attribute 00259 Filter settings 0 60Hz rejection 1 50Hz rejection R W 00260 Modbus host watchdog mode 0 same as I 7000 1 the AO and DO commands can be used to clear the host watchdog timeout status R W 00261 Enable disable the host watchdog 0 disable 1 enable R W 00268 Enable disable CJC 0 disable 1 enable 00269 Modbus data format 0 hex 1 engineering 00270 Host watch dog timeout status write 1 to clear the host watch dog timeout status W 00272 Write 1 to load the factory calibration parameters W 00273 Reset status 0 not the first read after being powered on 1 first read after being powered on 00279 CJC Status 0 good 1 bad 00280 High latch of channel 0 to 7 write 1 to clear 00281 Low latch of channel 0 to 7 write 1 to clear ZB 2018 Series User Manual V1 2 Aug 2011 107 ZB 2018 T 00513 High latch of channel 0 to 7 write 1 to W 00520 clear 00545 Low latch of channel 0 to 7 write 1 to W 00552 clear 00577 Enable disable the hug
12. offset value that is set by the AA9SNNNN command Section 2 14 Syntax AA9 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 9 Command to read the CJC offset value Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF Data CJC offset value consisting of a sign byte or followed by 4 hexadecimal digits Each count is equal to 0 01 C There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 019 Response 01 0010 Reads the CJC offset of module 01 and returns with 10 which means 0 16 C Related Commands Section 2 7 AA3 Section 2 14 AA9SNNNN Section 2 17 AAA Section 2 18 AAAi Section 2 28 AACN ZB 2018 Series User Manual V1 2 Aug 2011 46 ZB 2018 T 2 14 SAASSNNNN Description This command is used to set the CJC cold junction compensation offset value to adjust the error produced by the CJC sensor Syntax S AA9NSNNNN CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 9 Command to set the CJC offset value S Sign by or of the offset value NNNN The absolute value of the offset in four hexadecimal digits which must be less than or equa
13. 00 Address 1 Byte 1 to 247 0l Function code l Byte OxC6 02 Egception code l Byte 03 an incorrect number of bytes were received ZB 2018 Series User Manual V1 2 Aug 2011 93 ZB 2018 T 3 3 2 Sub function 07 0x07 Read type code This sub function code is used to read the type code information of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x07 03 Reserved 1 Bytes 0x00 04 Channel 1 Byte Ox00 0x07 Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x07 03 Type code 1 Byte Type code see Section 1 8 for details Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 the reserved bytes should be filled with zero the channel is out of range for ZB 2018 series or an incorrect number of bytes were received ZB 2018 Series User Manual V1 2 Aug 2011 94 ZB 2018 T 3 3 3 Sub function 08 0x08 Set type code This sub function code is used to set the type code of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x08 03 Reserved 1 Byte 0x00 04 Channel 1 Byte Ox00 0x07 05 Type code 1 Byte Type co
14. 1 Byte Data format see Section 1 8 for settings details Note The reserved fields are filled with zeros Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte Ox2A 03 Miscellaneous 1 Byte 0 OK settings others error Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 the reserved bits should be filled with zero or an incorrect number of bytes were received 2ZB 2018 Series User Manual V1 2 Aug 2011 100 ZB 2018 3 3 9 Sub function 43 0x2B Read the CJC offset T This sub function code is used to read the CJC offset of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x2B 03 Reserved 1 Byte 0x00 Note The reserved fields are filled with zeros Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x2B 03 CJC offset 1 Byte This is a 2 s complement hex CJC offset value in 0 01 C increments Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 the reserved bits should be filled with zero or an incorrect number of bytes were received 2ZB 2018 Series User Manual V1 2 Aug 2011 101 ZB 2018 T 3 3
15. 10 Sub function 44 0x2C Write the CJC offset This sub function code is used to set the CJC offset of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte Ox2C 03 Reserved 1 Byte 0x00 04 CJC offset 2 Bytes This is a 2 s complement hex CJC offset value in 0 01 C increments the absolute value should be less than or equal to 0x 1000 Note The reserved fields are filled with zeros Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte Ox2C 03 Result 1 Byte 0 OK others error Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 the reserved bits should be filled with zero or an incorrect number of bytes were received 2B 2018 Series User Manual V1 2 Aug 2011 102 ZB 2018 T 3 3 11 Sub function 45 0x2D Read the CJC enabled disabled status This sub function code is used to read the CJC enabled disabled status of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x2D 03 Reserved 1 Byte 0x00 Note The reserved fields are filled with zeros Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte
16. 15 4 Standard 2 4 GHz 3 dBi Omni Directional antenna Supports DCON and Modbus RTU Protocols By Rotary and DIP switch 1 LED red 1 LED green Flammability Fire Retardant Materials UL94 V0 Level Dimensions W x L x H 33 mm x 87 mm x 107 mm Installation DIN Rail Operating Temperature 25 C 75 C Storage Temperature 30 C 80 C Humidity 10 90 RH non condensing Certification EN 301 489 1 V1 8 1 2008 04 EN 301 489 17 V2 1 1 2009 05 EN 55022 2006 A1 2007 EN 55024 1998 A1 2001 A2 2003 FCC Part 15 Subpart B Class A ZB 2018 Series User Manual V1 2 Aug 2011 8 1 3 Wire Connection Or lel 125 Q Requires Optional External 125 Q Resistor ZB 2018 Series User Manual V1 2 Aug 2011 1 4 Quick Start This Quick Start document describes the methods used to quickly set up and test ZB 2000 series modules using the ICP DAS DCON Utility First you must set the ZB 2570 P T ZB 2550 P T before using any ZB 2000 modules because the ZB 2570 P T ZB 2550 P T is a ZigBee Net Server For more information about the ZB 2570 P T ZB 2550 P T please refer to the ZigBee converter quick start at the following link http ftp 1cpdas com pub cd usbcd napdos zigbee zigbee_converter If you have already installed ZB 257x ZB 255x Utility you only need to set the PAN ID and the ZB RF Channel for the ZB 2570 P T ZB 2550 P T to be same as the ZB AIO setting The ZB
17. 2000 series Please refer to ZigBee converter quick start at the following link http ftp icpdas com pub cd usbcd napdos zigbee zigbee_converter for more information ZB 2018 Series User Manual V1 2 Aug 2011 1 1 Pin Assignments ZB 2018 Series CN1824 LED Indicators E a Ae a Pin Assignment Type Code Data Format HW Config Channel PID CheckSum Protocol Address MSB F G GND Power Supply Vs coooo0o0o0o0 000000 eoooo0oo0000 0000 ZB 2018 Series User Manual V1 2 Aug 2011 6 1 2 Specifications Analog Input Input Channel 8 Differential Input Type 15 mV 50 mV 100 mV 500 mV 1V 2 5V 20 mA 0 20 mA 4 20 mA Requires Optional External 125 Q Resistor Thermocouple J K T E R S B N C L M LDIN43710 16 bit Resolution Sampling Rate Accuracy 10 Samples Sec Total 0 1 of FSR 15 7 Hz 3dB Bandwidth Zero Drift Span Drift Common Mode Rejection Normal Mode Rejection Input Impedance Open Thermocouple Detection Overvoltage Protection Intra module Isolated Field to Logic ESD Protection Communication Interface Wireless Antenna Protocols Hot Swap LED Indicators Power ZigBee Communication Power Consumption ZB 2018 Series User Manual V1 2 Aug 2011 10 uV C 25 ppm C 86 dB min 100 dB gt 400 kQ Yes 240 Vrms 3000 Voc 4 kV Contact for each channel ZigBee IEEE 802
18. 4 AA0 Description Performs a span calibration Syntax A A0 CHKSUM CR Delimiter character AA Address of the module to be calibrated 00 to FF 0 Command for the span calibration Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is returned if the specified channel is incorrect AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 010 Response 01 Performs a span calibration of module 01 and returns a valid response Command 030 Response 03 Performs a span calibration of module 03 An invalid command is returned because the enable calibration command was not sent in advance ZB 2018 Series User Manual V1 2 Aug 2011 31 ZB 2018 T Related Commands Section 2 5 AA1 Section 2 29 AAEV Related Topics Section 1 9 Calibration Notes 1 The enable calibration command AAEV and the zero calibration command AA1 must be sent before this command is used see Sections 1 9 and 2 5 for details ZB 2018 Series User Manual V1 2 Aug 2011 32 ZB 2018 T 2 5 AA1 Description Performs a zero calibration Syntax AA1 CHKSUM CR Delimiter character AA Address of the module to be ca
19. AIO will then operate correctly Module Type ZB 2550 P Version 01 00 Pan ID 0x0000 0xF FFF Node ID 0x0000 0xF FFF RF Channel Address 02 ZB 2551 Node ID 0x0002 Data Format 115200 n 8 1 Address 03 25 2551 Node ID 0x001F ZB 2018 Series User Manual V1 2 Aug 2011 10 1 5 Switch Descriptions Address Channel Type Code Protocol Checks Hardware Lara Configuration PAN ID Data Format A descriptions of each dip switch is as follows 1 Address The module address is defined using two parts The first part is dip switch 1 and the second is a 16 position rotary switch The address is a hexadecimal value that allows you set from 0x01 to 0x1F 0x00 is for initial mode Dip switch 1 defines the high 4 bits of the address value and the 16 position rotary switch defines the low 4 bits of the address The address value is equal to the ZigBee PAN ID value A unique node ID should be set for all ZigBee slave devices such as ZigBee IO modules ZigBee converters and ZigBee repeaters The ZB 2018 series will change to INIT mode when the address value is 0 Refer to Section 1 7 INIT mode for more information Protocol Dip switch 2 defines the protocol The ON position is the Modbus RTU protocol and OFF position is the DCON protocol Checksum Dip switch 3 defines the checksum status The ON positon enables the checksum and the OFF position disables the checksum Th
20. E E E E 66 HAA O NGME E P E E E E 68 DAA CH EE E E E E E E E E ete 69 AA CHL EEE T E E E E E 70 AACH KO EE E E E E E E E den E E EE 71 Q AA K O E EEEE N E ieee E T E S 72 CN Va KO E EE E E De es E ek edad E bikes edited 73 AA CO E O EEE E E E E E E sede ngseeneabeany 74 Q AADAG 1 E E E E E E hahaa 75 AAD I EEEE E E E E ahetaeinesly 76 AA DE E O PAE E E E E E E E sede 78 AA A AGA CiT seinieni nirien ear eaan NT ai akee eskeinia eriseeria aoaia taerien 79 AA L Ol GIG CLT issii an neiaie dia cecsudevieedadendesokgensauevecadiade coh devinada lov S AEE EENE 8l aV Ud a EE E gee de catia 83 QAARA GL EE E E E E E E EE 84 ZB 2018 Series User Manual V1 2 Aug 2011 3 2 44 AAR n Seas a AA E EE O E E A O a E E a 85 2 45 AAR E E E E E A E A E EE E E 86 2 46 OFV Ud E O E E E E E E E E E S 87 2 47 AAR icin a E vias bandas A vedas Goes ocak bbe SEES SEE EEEo SEEE EE R E 88 Modbus RTU Protocol sssssccosscssssscsscsssssssssssscsssscescssssssessncssesescsssssnssessnesssssescessssnssessnesssssesseses 89 3 1 02 0x02 Read Input Statusi nonen n n a a e ook a a a eE ra Se esete 90 3 2 04 Ox04 Read Input Channels sis ideerne edee e erae ie esai e pi 9 3 3 70 0x46 Read Write Module Settings ccccscccsssccesnseessecesnceessecesseceeacecsceeeacecsceeeaaeceeeeeaeecseeeeeaaees 92 3 3 1 Sub function 00 0x00 Read module name cccecccccesscescecesecesscecssecesceecssecseeeecsseseeseecseeeees 93 3 3 2 Sub function 07
21. OF BA 69 The supported Al O commands are as follows Function code Description 0x01 Read coils 0x02 Read discrete inputs 0x03 Read multiple registers 0x04 Read multiple input registers 0x05 Write single coils OxOF Write multiple coils ZB 2018 Series User Manual V1 2 Aug 2011 15 Eg To read the current Al value of channels 0 to 7 the following command should be sent 01 03 00 00 00 07 04 08 Eg To set the filter to 50Hz the following command should be sent 01 05 01 02 FF 00 2C 06 To install the ZigBee AIO module follow the steps below 1 2 3 Connect the analog input Connect the ZigBee AIO module to the power supply using the Vs and GND terminals In order to read data from the input channels when using the DCON protocol send either a AA or AAN command to the module See Sections 2 2 and 2 3 for details When using the Modbus RTU protocol use the Function 04h to read the data from the input channels See Section 3 2 for details ZB 2018 Series User Manual V1 2 Aug 2011 16 1 7 INIT Mode Each ZigBee module has an internal EEPROM that is used to store its configuration such as module address ZigBee PAN ID ZigBee channel etc If you forget the module s configuration information you can use INIT mode to reset the ZB 2018 series to the default settings then you can re configure the module To change to INIT mode you only need to adjust the address value to 0 The default settings for ZB AlO
22. Response 01 00 000 Reads the low latch of channel 0 and returns 00 000 Related Commands Section 2 34 AACL Section 2 45 AARL Section 2 47 AARLi ZB 2018 Series User Manual V1 2 Aug 2011 73 ZB 2018 T 2 36 AACLCi Description This command is used to clear the low alarm of a channel Syntax AACLCi CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF CL Command to clear the low alarm Ci The channel to be clear zero based Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01DI Response 010080 Reads the alarm status and returns low alarm of channel 7 has occurred Command 01CHC7 Response 01 Clears the low alarm of channel 7 Command 01DI Response 010000 Reads the alarm status and returns high alarms and low alarms do not occurre Related Commands Section 2 34 AACL Section 2 45 AARL Section 2 47 AARLi ZB 2018 Series User Manual V1 2 Aug 2011 74 ZB 2018 T 2 37 AADHCi Description This command is used to disable high alarm of a channel Syntax AADHCi CHKSUM CR Delimiter character AA Address of the module to be set 0
23. ZB 2018 T 3 Modbus RTU Protocol The Modbus protocol was developed by Modicon Inc and was Originally developed for Modicon controllers Detailed information can be found at http www modicon com techpubs toc7 html also visit http www modbus org to find more valuable information Function code Description Section 02 0x02 Read input status 04 0x04 Read input channels 70 0x46 Read write module settings Error Response You can 00 Address 1 Byte 1 to 247 01 Function code 1 Byte Function code 0x80 02 Egception code 1 Byte 01 If a CRC mismatch occurs the module will not respond ZB 2018 Series User Manual V1 2 Aug 2011 89 ZB 2018 T 3 1 02 0x02 Read Input Status This function code is used to read the wire opening status of a module Support type 0x7 and Ox1A only Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x02 02 03 Starting channel 2 Bytes 0x80 to 0x87 where 0x80 corresponds to channel 0 0x81 corresponds to channel 1 etc 04 05 Number of input 2 Bytes N 1 to 8 Starting channel N channels Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte Ox02 02 Byte count 1 Byte l 03 Data of input 1 Byte A bit corresponds to a channel channels When the bit is 1 denotes that the channel is either over range or under range If the bit is 0 it denotes that the channel is normal
24. ZB 2018 T 4 2 Reading Data If the data read from the input channel is not correct first check the following O Ensure that the type code and data format settings are correct The type code is set by using the AA7CiRrr command see Section 2 11 for details The data format is set by using the 7AANNTTCCFEF command For the Modbus RTU protocol the type code is set by using sub function 08h of the function 46h If the voltage read by the module is incorrect then it may be because the calibration parameters stores in the non voltage memory are corrupted You can calibrate the module by yourself Be sure to read Section 1 9 for details before doing any calibration Use the AAS1 command to reload the factory calibration parameters see Section 2 21 for details 2ZB 2018 Series User Manual V1 2 Aug 2011 113 ZB 2018 T 5 Appendix 5 1 Dual Watchdog Operation Dual Watchdog Module Watchdog Host Watchdog The Module Watchdog is a hardware reset circuit that monitors the operating status of the module While working in harsh or noisy environments the module may be shut down by external signals The circuit allows the module to work continuously without disruption The Host Watchdog is a software function that monitors the operating status of the host Its purpose is to prevent problems due to network communication errors or host malfunctions When a host watchdog timeout occurs the module will reset all outputs to a safe stat
25. command Delimiter character for an invalid command AA Address of the responding module 00 to FF E 1 the host watchdog is enabled 0 the host watchdog is disabled VV Two hexadecimal digits to represent the timeout value in tenths of a second for example 01 denotes 0 1 seconds and FF denotes 25 5 seconds There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 60 ZB 2018 T Examples Command 012 Response 011FF Reads the host watchdog timeout value of module 01 and returns FF which denotes that the host watchdog is enabled and the host watchdog timeout value is 25 5 seconds Related Commands Section 2 22 Section 2 23 AAO Section 2 24 AA1 Section 2 26 AA3ETT Related Topics Section 5 1 Dual Watchdog Operation ZB 2018 Series User Manual V1 2 Aug 2011 61 ZB 2018 T 2 26 AA3SETT Description Enable disable the host watchdog and sets the host watchdog timeout value of a module Syntax AA3EVV CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF 3 Command to set the host watchdog E 1 enables the host watchdog 0 disables the host watchdog TT Two hexadecimal digits to represent the timeout value in tenths of a second for example 01 denotes 0 1 seconds and FF denotes 25 5 seconds Response Valid command AA CHKSUM CR Inval
26. modules are Protocol DCON Module Address 0 ZB 2018 Series User Manual V1 2 Aug 2011 17 1 8 Analog Input Type and Data Format Table Type Code Input Type Data Format F S F S 45 to 15 Engineering unit 15 000 15 000 00 sain of FSR 100 00 100 00 2 s comp HEX FFFF 8000 Engineering unit 50 000 50 000 01 aii ofFSR_ 100 00 100 00 2 s comp HEX 7FFF 8000 Engineering unit 100 00 100 00 02 ald ofFSR 100 00 100 00 2 s comp HEX 7FFF 8000 Engineering unit 500 00 500 00 03 9N n of FSR 100 00 100 00 2 s comp HEX 7FFF 8000 AOH Engineering unit 1 0000 1 0000 04 V of FSR 100 00 100 00 2 s comp HEX 7FFF 8000 2510425 Engineering unit 2 5000 2 5000 05 V of FSR 100 00 100 00 2 s comp HEX 7FFF 8000 20 to 20 Engineering unit 20 000 20 000 06 aA of FSR 100 00 100 00 2 s comp HEX 7FFF 8000 0 to 20 Engineering unit 20 000 00 000 07 aN of FSR 100 00 000 00 2 s comp HEX FFFF 0000 Type J Engineering unit 760 00 210 00 0E Thermocouple of FSR 100 00 027 63 210 760 C 2 s comp HEX FFFF DCA2 Type K Engineering unit 1372 0 0270 0 OF Thermocouple of FSR 100 00 019 68 270 1372 C 2 s comp HEX 7FFF E6D0 10 Type T Engineering unit 400 00 270 00 Thermocouple of FSR 100 00 067 50
27. to read the high latches Response Valid command A A data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF data High latches of all channels see Section 1 8 for the data format There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RH Response 101 08 000 00 000 00 000 00 000 00 000 00 000 00 000 00 000 Reads the high latches of module 01 and receives the data in engineering format Related Commands Section 2 31 AACH Section 2 32 AACHi Section 2 44 AARHi ZB 2018 Series User Manual V1 2 Aug 2011 83 ZB 2018 T 2 43 AARHCi Description This command is used to read the high alarm of a channel Syntax AARHCi CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF RH Command to read the high alarm Ci The channel to be clear zero based Response Valid command A A data S CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF data High latch of a channel see Section 1 8 for the data format S Alarm type 0 alarm disable 1 momentary alarm 2 latched alarm There will be no response if the command
28. update setting 0 stop the CJC temperature update 1 start the CJC temperature update default value 2 update CJC temperature once only after the command is received Response Valid command 1AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command 2 Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01A1 Response 01 Sets to start the CJC temperature update of module O01 and returns a valid response Related Commands Section 2 7 AA3 Section 2 13 AA9 Section 2 14 AA9SNNNN Section 2 17 AAA Section 2 28 AACN ZB 2018 Series User Manual V1 2 Aug 2011 51 ZB 2018 T 2 19 SAAF Description This command is used to read the firmware version of a module Syntax AAF CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF F Command to read the firmware version Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF Data Firmware version of the module in string format There will be no response if the command syntax is incorrect there is a communication error or there is no mod
29. 0 to FF DH Command to disable the high alarm Ci The channel to be clear zero based Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01DHCO0 Response 01 Disables the high alarm of channel 0 Command 01DI Response O1FEFF Reads the alarm status and returns the high alarm of channel 0 is disabled and others are enabled Related Commands Section 2 38 AADI ZB 2018 Series User Manual V1 2 Aug 2011 75 ZB 2018 T 2 38 AADI Description This command is used to read the alarm status Syntax AADI CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF DI Command to read the alarm status Response Valid command AAHHLL CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF HH A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it denotes that the alarm high of channel has occurred and 0 denotes that the alarm high of channel has not occurred LL A two digit hexa
30. 1 70 ZB 2018 T 2 33 AACHCi Description This command is used to clear the high alarm of a channel Syntax AACHCi CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF CHC Command to clear the high alarm i The channel to be clear zero based Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01DI Response 018000 Reads the alarm status and returns high alarm of channel 7 has occurred Command 01CHC7 Response 01 Clears the high alarm of channel 7 Command 01DI Response 010000 Reads the alarm status and returns high alarm and low alarm do not occurre Related Commands Section 2 31 AACH Section 2 42 AARH Section 2 44 AARHi ZB 2018 Series User Manual V1 2 Aug 2011 71 ZB 2018 T 2 34 AACL Description This command is used to clear the low latches Syntax AACL CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF CL Command to clear the low latches Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command
31. 1 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x26 03 Enable disable l Byte 0 OK setting others error Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 the enabled disabled settings are out of range incorrect number of bytes were received ZB 2018 Series User Manual V1 2 Aug 2011 ZB 2018 T 3 3 7 Sub function 41 0x29 Read miscellaneous settings This sub function code is used to read the miscellaneous settings of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x29 Response 00 Address l Byte 1 to 247 0l Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x29 03 Miscellaneous 1 Byte Data format see Section 1 8 for settings details Note The reserved fields are filled with zeros Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 an incorrect number of bytes were received ZB 2018 Series User Manual V1 2 Aug 2011 99 ZB 2018 3 3 8 Sub function 42 0x2A Write miscellaneous This sub function code is used to set the miscellaneous settings of a T settings module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x2A 03 Miscellaneous
32. 18 T 4 Troubleshooting If you are having difficulty using the ZB 2018 series module here are some suggestions that may help If you cannot find the answers you need in these guides contact ICP DAS Product Support Contact information is located in Section 1 10 4 1 Communicating with the module If you attempt to communicate with the module and receive no response first check the following o Ensure that the supplied power is within the range of 10 to 30 V DC If the supplied power is OK then the power LED should be on o When the module receives a command the power LED is set to off The power LED is shown as on after the module responds This method can be used to check whether the module has received a command sent from the host o If possible use another device that is known to be functional to check whether the host can communicate with the device through the same ZigBee network o If the host is a PC installed with a Windows operating system then execute the DCON Utility to determine whether the module can be found The DCON Utility can be downloaded from the ICP DAS website http www icpdas com The DCON Utility documentation can be found in the Getting Started For I 7000 Series Modules manual o Set the module to INIT mode and communicate with the module using the following settings address 00 and DCON protocol See Section 1 7 for details ZB 2018 Series User Manual V1 2 Aug 2011 112
33. 550 P T as OxFFOO and the Channel as 0 Then set dip switches 4 7 of the ZB 2018 series to the OFF position to set the PAN ID to OxFFOO and the Channel to 0 Based on the above configuration the ZB 2550 P T the ZB 2018 series can now communicate with each other Dip switches 2 and 3 to the OFF position to set the protocol for the module to DCON and disable the checksum Rotating the rotary switch of the ZB 2018 series to position 1 will set the module address to 0x01 You can then use the DCON Utility on the host PC that is connected to the ZB 2550 P T to send a command to the ZB 2018 series The response you receive should be as below ZB 2018 Series User Manual V1 2 Aug 2011 14 fF DCON Command Terminal Module Config Send 1000 Parity Option None Pay y Exit RALE 01M Command 01M Response 01Z2018 ZB 2018 series are command based data acquisition modules A number of commands are provided that can be used to configure and read Al data Refer to Section 2 for details The ZB 2018 series also support the Modbus RTU protocol The Configuration command format for the Modbus RTU is as follows Field O Field Field Field Field n Field O n Module Address Configuration field CRC16 n This value depends on the Sub function code Eg To set the channel 0 1 2 and 3 enable and channel 4 5 6 and 7 disable the following command should be sent 01 46 26
34. 8 Series User Manual V1 2 Aug 2011 19 Analog Inputy Over Under Range Reading Over Range Under Range Engineering Unit 9999 9 9999 9 of FSR 999 99 999 99 2 s Complement HEX 7FFF 8000 Analog Input Over Under Range Reading when using the Modbus RTU protocol Over Range Under Range 7FFFh 8000h Data Format Setting FF 7 6 5 4 3 FS Reserved MS Reserved DF Description Key DF Data format 00 Engineering units 01 of FSR Full Scale Range 10 2 s complement hexadecimal MS Mode settings 0 Normal mode 1 Fast mode FS Filter setting 0 60 Hz rejection 1 50 Hz rejection ZB 2018 Series User Manual V1 2 Aug 2011 20 1 9 Calibration Warning Performing calibration is not recommended until the process is fully understood The calibration procedure is as follows 1 Warm up the module for at least 30 minutes 2 Set the type code to the type you wish to calibrate Refer to Sections 1 8 and 2 11 for details Enable calibration Refer to Section 2 29 for details Apply the zero calibration voltage current Send the zero calibration command Refer to Section 2 5 for details Apply the span calibration voltage current Send the span calibration command Refer to Section 2 4 for details Repeat steps 3 to 7 three times COND oO BW Notes 1 Conn
35. AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RLO Response 01 05 000 Reads the low latch of channel 0 and returns 05 000 Command 01CL Response 01 Clears the low latch of channel 0 and returns a valid response Command 01RLO Response 01 00 000 Reads the low latch of channel 0 and returns 00 000 Related Commands Section 2 35 AACLIi Section 2 45 AARL Section 2 47 AARLi ZB 2018 Series User Manual V1 2 Aug 2011 72 ZB 2018 T 2 35 AACLi Description This command is used to clear the low latches of a channel Syntax AACLi CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF CL Command to clear the low latches i The channel to be clear zero based Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RL1 Response 01 06 000 Reads the low latch of channel 0 and returns 06 000 Command 01CL1 Response 01 Clears the low latch of channel 0 and returns a valid response Command 01RL1
36. Byte 0x46 02 Sub function code 1 Byte 0x2F Note The reserved fields are filled with zeros Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x2F 03 CJC temperature l Byte 0 CJC temperature update has update setting been stopped 1 CJC temperature update has been started 2 Update CJC temperature once only Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 the reserved bits should be filled with zero or an incorrect number of bytes were received 2ZB 2018 Series User Manual V1 2 Aug 2011 105 ZB 2018 T 3 3 14 Sub function 48 0x30 Write the CJC update settings This sub function code is used to set the CJC update settings of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x30 03 CJC temperature 1 Byte 0 stop CJC temperature update update setting 1 start CJC temperature update 2 Update CJC temperature once only after the command is received Note The reserved fields are filled with zeros Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x30 03 Result l Byte 0 OK others error Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code
37. CJC update settings ee eesecseesecseseeceseeeceseeeeeseeneeees 106 3 4 Address Mappin iSi ornin e tesla eis E a E te R E E aa EST SS 107 3 5 Engineering Data Format Table sssiniienonisiiii enoei i iiie RiR 110 TrouUbleShOOtimg sssssisssiss cascesdesscicossovssoassocsseascusseesseassansavessaesteassiasseossucssansussessevassaseaesevesenseseas sosea riiin 112 4 1 Communicating With the module cceecescese sete ceseenseeseeeseeeseeeeceseeesecesecuaecaecsaecseecsseeaeeeseeseeeneenaees 112 4 2 Reading Dataran deea a tee shee sean Wabe Seca bes eae a Ea E sete bute e aeaaee 113 Appendiks sesoonse sneseno senose ss Ees erso reso OSE S OSSEs Snt Sarees S DENSa SS SNe 114 5 1 Dual Watchdog Operation sisiecescissiecissgiess ia Ra E EEEa ER EEEE SE ESE S 114 ZB 2018 Series User Manual V1 2 Aug 2011 4 1 Introduction The ZB 2000 series is a family of wireless ZigBee data acquisition modules that provide analog to digital digital to analog digital input output timer counter and other functions These modules can be remotely controlled using a set of DCON or Modbus RTU commands The ZB 2018 series are 8 channel analog input modules that can be configured via hardware Please refer to Section 1 5 Switch Descriptions for details The ZB 2000 series modules are not able to work as standalone module and need to be connected to a ZigBee host device such as the ZB 2550 P T or the ZB 2570 P T in order to communicate with the ZB
38. R Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF N 0 CJC disabled 1 CJC enabled There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01C Response 011 Reads the CJC enabled disabled status of module 01 and returns the CJC is enabled Related Commands Section 2 7 AA3 Section 2 13 AA9 Section 2 14 SAA9OSNNNN Section 2 17 AAA Section 2 18 AAAi Section 2 28 AACN ZB 2018 Series User Manual V1 2 Aug 2011 64 ZB 2018 T 2 28 AACN Description This command is used to enable disable the CJC cold junction compensation Syntax AACN CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF C Command to enable disable the CJC N 0 CJC disabled 1 CJC enabled Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01CO Response 01 Disables CJC of module 01 and returns a valid response Related Commands Section 2 7 AA3 Section 2 13 AA9 Section 2 14 SAA9OSNNNN
39. Section 2 28 AACN ZB 2018 Series User Manual V1 2 Aug 2011 49 ZB 2018 T 2 17 AAA Description This command is used to read the CJC temperature update setting Syntax S AAA CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF A Command to read the CJC temperature update setting Response Valid command AAi CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF i CJC temperature update setting 0 CJC temperature update has been stopped 1 CJC temperature update has been started 2 update CJC temperature once only There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01A Response 011 Reads the CJC temperature update setting of module 01 and returns with 1 meaning that the CJC temperature update has been started Related Commands Section 2 7 AA3 Section 2 13 AA9 Section 2 14 AA9SNNNN Section 2 18 AAAi Section 2 28 AACN ZB 2018 Series User Manual V1 2 Aug 2011 50 ZB 2018 T 2 18 AAAi Description This command is used to set the CJC temperature update setting Syntax SAA Ai CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF A Command to set the CJC temperature update setting i CJC temperature
40. ZB 2018 Series User Manual Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year beginning from the date of delivery to the original purchaser Warning ICP DAS assumes no liability for any damage resulting from the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use not for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2010 by ICP DAS Co Ltd All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies ZB 2018 Series User Manual V1 2 Aug 2011 1 1 Table of Contents Introduction scscscsssscssserscsesssscsececscessscesessecscessseeseccassceassceseacascessscessacaseceasseessacaseceaceeessacesecescseeseeseseases 5 1d PUVASSISNINENES ses sees ccaotbsk ae a a a a Oa AEE E e EE savadegah cess ceds a aan OESS 6 1 2 Specifications iarsa e a a E Ea a aa aaa E aaa e EE a EAE a i EE nS 7 1 3 Wire CONN CHOM sce sda coches aE aE a danse duawdesh a a cu cbcessdeantpaddeaacse sa suebes EERE EEES 9 1 4 Q ick STE si aca Facies thes sah a e a a a a aae aa aia a a a a E votes 10 1 5 Switch Descriptions wcssscs5i5ssccticessseadibadenstesadscanig
41. alarm disable 1 momentary alarm 2 latched alarm There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RLCO Response 01 03 0001 Reads the low alarm of channel 0 and returns the high alarm limit is 03 000 and the type is momentary Related Commands Section 2 41 AALO data CiT Section 2 38 AADI Section 2 36 AADLCi ZB 2018 Series User Manual V1 2 Aug 2011 87 ZB 2018 T 2 47 AARLIi Description This command is used to read the low latch of a channel Syntax AARLi CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF RL Command to read the low latch i The channel to be clear zero based Response Valid command 1AA data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF data High latch of a channel see Section 1 8 for the data format There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RLO Response 01 02 000 Reads the low latch of channel 0 and returns the data in engineering format Related Commands Section 2 34 AACL Section 2 35 AACLi Section 2 45 AARL ZB 2018 Series User Manual V1 2 Aug 2011 88
42. alue R W 40584 40609 Low alarm value R W 40616 Notes 1 The command for loading factory calibration parameters takes about 3 seconds to be processed The next command should be sent after 3 seconds 2ZB 2018 Series User Manual V1 2 Aug 2011 109 ZB 2018 T 3 5 Engineering Data Format Table The engineering data format for the Modbus protocol is supported and the table is as follows Type Code Analog Input Type F S EF S 00 nee 15000 15000 mV 01 aoe ee 5000 5000 mV 02 neared 10000 10000 mV 03 he a 5000 5000 mV 04 n y I 10000 10000 05 s y TER 25000 25000 06 seo eee 20000 20000 mA 07 FA tOta 4000 20000 mA 0E Types 2100 7600 Termocouple OF PERK 2700 13720 Termocouple 10 Type T 2700 4000 Termocouple 11 TOET 2700 10000 Termocouple 12 Tp 0 17680 Termocouple 13 PRS 0 17680 Termocouple 44 Type B 0 18200 Termocouple ZB 2018 Series User Manual V1 2 Aug 2011 110 ZB 2018 T 15 ayes 2700 13000 Termocouple 16 OPES 0 23200 Termocouple 17 ypas 2000 8000 Termocouple 18 vee 20000 10000 Termocouple 19 Type Lomssr1o 2000 9000 Termocouple 1A oleae 0 20000 mA The under range value is 32768 and the over range value is 32767 For the hex data format please refer to Section 1 8 for details 2ZB 2018 Series User Manual V1 2 Aug 2011 ZB 20
43. d 01RHO Response 01 05 000 Reads the high latch of channel 0 and returns 05 000 Command 01CH Response 01 Clears the high latch of channel 0 and returns a valid response Command 01RHO Response 01 00 000 Reads the high latch of channel 0 and returns 00 000 Related Commands Section 2 32 AACHi Section 2 42 AARH Section 2 44 AARHi ZB 2018 Series User Manual V1 2 Aug 2011 69 ZB 2018 T 2 32 AACHi Description This command is used to clear the high latches of a channel Syntax AACHi CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF CH Command to clear the high latches i The channel to be clear zero based Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RH1 Response 01 06 000 Reads the high latch of channel 0 and returns 06 000 Command 01CHI1 Response 01 Clears the high latch of channel 0 and returns a valid response Command 01RH1 Response 01 00 000 Reads the high latch of channel 0 and returns 00 000 Related Commands Section 2 31 AACH Section 2 42 AARH Section 2 44 AARHi ZB 2018 Series User Manual V1 2 Aug 201
44. de see Section 1 8 for details Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x08 03 Type code l Byte 0 OK others error Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 the type code is out of range the channel is out of range for ZB 2018 series reserved bytes should be filled with zero or an incorrect number of bytes were received ZB 2018 Series User Manual V1 2 Aug 2011 95 ZB 2018 T 3 3 4 Sub function 32 0x20 Read firmware version This sub function code is used to read the firmware version information of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x20 Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x20 03 Major version 1 Byte 0x00 OxFF 04 Minor version 1 Byte 0x00 OxFF 05 Reserved 1 Byte 0x00 06 Build version 1 Byte 0x00 OxFF Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 03 an incorrect number of bytes were received ZB 2018 Series User Manual V1 2 Aug 2011 ZB 2018 T 3 3 5 Sub function 37 0x25 Read channel enabled disabled status This sub function code is used to read the enabled disabl
45. decimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it denotes that the alarm low of channel has occurred and 0 denotes that the alarm low of channel has not occurred There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 76 ZB 2018 T Examples Command 01DI Response 014008 Reads the alarm status and returns the high alarm of channel 6 and low alarm of channel 3 have ocurred Related Commands Section 2 37 AADHCi Section 2 39 AADLCi Section 2 40 AAHI data CiT Section 2 41 AALO data CiT ZB 2018 Series User Manual V1 2 Aug 2011 77 ZB 2018 T 2 39 AADLCi Description This command is used to disable low alarm of a channel Syntax AADLCi CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF DLC Command to disable the low alarm i The channel to be clear zero based Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01DLC5 Response 01 Disables the low alarm of c
46. e ae ah hy 37 2 9 NYA V OVA ASE PEE AA hes ot settee E hgh tue Shs teat ue Coe A ee sete ot ce ccd setae et 38 210S SAAG were caren dives m alin siete AN ea sde al a anu gi ee ety ea sth cab hct enlace eels csc edie etn ca ake 40 Dldis GAAS CIR sect eee Beet tai tet E bts Oe abs sot ae cate E tet reet ot 42 DADs _GAASELS A where tere E AA AGI AAA ate tise E E a ts evs Gielen hee eta des 44 DVB BAAD ers 0 E ess ae eae Pact eae Ue ate ta ee sree AN se sates esta char Se 0k eset se at eats shame 46 Qld lt SAAOSNNNN 2 sse n ia ater AEN ne a A ai T A scl Sane T wea E 47 DAS BAAD O EE T E E A T ed ceues ou testaetcs bosses 48 ZB 2018 Series User Manual V1 2 Aug 2011 2 2 16 2 17 2 18 2 19 2 20 2 21 2 22 2 23 2 24 2 25 2 26 2 27 2 28 2 29 2 30 2 31 2 32 2733 2 34 2 35 2 36 2 37 2 38 2 39 2 40 2 41 2 42 2 43 I Va Va E EE E E E E E A E E 50 Ka Va Va E E A E E E duvsstadeiaeah einieibeedeaviaseeds Sl BAA AE E E dea dbassccsbidatdeaeaeseiolewiaetdeaeseeeivdistdel ueteediasdadeeed ee 52 BAAM E E sand steieats ws ieeigdetiessus E E A 53 BAAS Ts E E excuses vida itdivda E E wget dane dein E 54 E E E E E E N E E E seeds 55 AAO E E E E ah sen E E ete 56 ABAD E E A A E E E A E A NNE 58 a V VEE E E A E E E besiege 60 S AIETT osetia a AEA TEE EEE NEE aA EEEE EEE E EAE EEE TEE 62 CAA O E E E A E E E 64 AA CON E EE E E E 65 a Va V DA TAE E E A E A
47. e dialog box including the text in the title bar 6 If the problem involves other programs or hardware devices please describe the details of the problem in full 7 Any comments and suggestions related to the problem are welcome ICP DAS will reply to your request by email within three business days ZB 2018 Series User Manual V1 2 Aug 2011 22 2 DCON Protocol All communication with ZB AlO modules consists of commands generated by the host and responses transmitted by the ZB AlO modules Each module has a unique ID number that is used for addressing purposes and is stored in non volatile memory The ID is 01 by default and can be changed by transmitting the prescribed user command All commands to the modules contain the ID address meaning that only the addressed module will respond The only exception to this is commands Section 2 22 which are sent to all modules but in both of these cases the modules do not reply to the command Command Format Leading Module Character Address COMMand CHKSUM CR Response Format Leading Module Character Address Data CHKSUM CR CHKSUM A 2 character checksum which is present when the checksum setting is enabled See Section 1 8 Data Format Settings for details CR Ox0D End of command character carriage return ZB 2018 Series User Manual V1 2 Aug 2011 23 Checksum Calculation 1 Calculate the ASCII cod
48. e in order to prevent any erroneous operations of the controlled target ZB 2000 series modules include an internal Dual Watchdog making the control system more reliable and stable For more information regarding the Dual Watchdog please refer to Chapter 5 of the Getting Started For ZB 2018 series Modules manual that can be downloaded from the ICP DAS website http www icpdas com ZB 2018 Series User Manual V1 2 Aug 2011 114
49. e sum of all the characters in the command response string except for the carriage return character CR 2 The checksum is equal to the sum masked by OFFh Example Command string 012 CR 1 Sum of the string 0 1 2 24h 30h 31h 32h B7h 2 Therefore the checksum is B7h and so CHKSUM B7 3 The command string with the checksum 012B7 CR Response string 01200600 CR 1 Sum of the string 0 1 2 0 0 6 0 0 21h 30h 31h 32h 30h 30h 36h 30h 30h 1AAh 2 Therefore the checksum is AAh and so CHKSUM AA 3 The response string with the checksum 01200600AA CR Note All characters should be in upper case ZB 2018 Series User Manual V1 2 Aug 2011 24 Command FA 22 gt Data Reads data from the analog input of a channel SAAO IAA Performs a zero calibration 2 4 AAS AA Reads the enabled disabled status IAAVV of the channel Sets the range configuration of a AA7CiRrr IAA 2 channel i N AANNTTCCFF AAN NO oO I NO ol 2 6 2 8 11 AASVV NO AAG6 N O SAA8Ci Reads the range configuration of a 2 12 channel AA Data Reads the firmware version 2 19 AA Data Reads the module name 2 20 parameters Clears the high latched alarm of a AACHCi IAA eascrcr faa eee fetiahiicedaimote 2 33 AACL Clears Ithe ow latches AACLi IAA Clears the low latch of a channel Clears the low latc
50. ect the calibration voltage current to channel 0 2 Calibration voltages and currents are shown as below 3 Switch to the DCON protocol mode before calibrating Refer to Section 1 5 for details of the switching protocol Calibration voltage type used by the ZB 2018 series TYPE gg 01 02 03 04 05 06 Code LeO One I ora Ilona Semi OV ov OmA Input Span input I5MV 50mV 100mV 500mV 1V 2 5V 20mA ZB 2018 Series User Manual V1 2 Aug 2011 21 1 10 Technical Support Should you encounter any problems while using the ZB 2018series module and are unable to find the help you need in this manual or on our website please contact ICP DAS Product Support Email support icpdas com Website http www icpdas com service support htm When requesting technical support be prepared to provide the following information about your system 1 Module name and serial number The serial number can be found printed on the barcode label attached to the cover of the module 2 Firmware version See Sections 2 19 and 3 3 4 for information regarding the command used to identify the firmware version 3 Host configuration type and operating system 4 If the problem is reproducible please give full details describing the procedure used to reproduce the problem 5 Any specific error messages displayed If a dialog box with an error message is displayed please include the full text of th
51. ed status of each channel in a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x25 Response 00 Address 1 Byte 1 to 247 0l Function code l Byte 10x46 02 Sub function code 1 Byte 0x25 03 Enabled disabled 1 Byte 0x00 OxFF the enabled disabled status status of each channel where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it denotes that the channel is enabled and 0 denotes that the channel is disabled Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code 1 Byte 03 an incorrect number of bytes were received ZB 2018 Series User Manual V1 2 Aug 2011 97 ZB 2018 T 3 3 6 Sub function 38 0x26 Set channel enable disable This sub function code is used to specify the channels to be enabled in a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x26 03 Enable disable 1 Byte 0x00 OxFF the enabled disabled setting settings for each channel where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it denotes that the channel is enabled and 0 denotes that the channel is disabled Response 00 Address 1 Byte 1 to 247 0
52. error or there is no module with the specified address Examples Command 019C0 Response 01 0010 Reads the CJC offset of the channel O and returns with 10 which means 0 16 C Related Commands Section 2 7 AA3 Section 2 16 AA9SNNNNCi Section 2 17 AAA Section 2 18 AAAi Section 2 28 AACN ZB 2018 Series User Manual V1 2 Aug 2011 48 ZB 2018 T 2 16 SAA9SNNNNCi Description This command is used to set the CJC cold junction compensation offset value of a channel Syntax S AA9NSNNNNCi CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 9 Command to set the CJC offset value S Sign by or of the offset value NNNN The absolute value of the offset in four hexadecimal digits which must be less than or equal to 10000h Each count is equal to 0 01 C Ci The channel to be clear zero based Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command i Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 019 0010C0 Response 01 Sets the CJC offset of the channel 0 to 0 16 C and returns a valid response Related Commands Section 2 7 AA3 Section 2 15 A A9Ci Section 2 17 AAA Section 2 18 AAAi
53. h alarm of channel R W 00584 Oto7 1 enable 0 disable 00609 Enable disable the low alarm of channel R W 00616 0 to 7 1 enable 0 disable 00641 High alarm mode of channel 0 to 7 R W 00648 1 latch 0 momentary 00673 Low alarm mode of channel 0 to 7 R W 00680 1 latch 0 momentary 00705 High alarm status of channel 0 to 7 R W 00712 00737 Low alarm status of channel 0 to 7 R W 00744 10129 Under range status of channel 0 to 7 R 10136 support type 0x7 and OxE Ox1A only 30001 Analog input value of channel 0 to 7 R 30008 30129 CJC temperature R 30513 High latch value R 30520 30545 Low latch value R 30552 40257 Type code of channel 0 to 7 R W 40264 40353 CJC offset of a channel R W 40360 40481 Firmware version low word R ZB 2018 Series User Manual V1 2 Aug 2011 108 ZB 2018 T 40482 Firmware version high word R 40483 Module name low word R 40484 Module name high word R 40485 Module address valid range 0x1 OxIF R 40486 Bits 5 0 Baud Rate OxOA R Bits 7 6 Reserved 40489 Host watchdog timeout value 0 255 in R W 0 1s 40490 Channel enabled disabled R W 40491 CJC offset of channel 0 to 7 R W 40492 Host watchdog timeout count write 0 to R W clear 40493 CJC update setting R W 0 stop CJC temperature update 1 start CJC temperature update 2 update CJC temperature once only after set the command 40577 High alarm v
54. hannel 0 Command 01DI Response O1FFDF Reads the alarm status and returns the low alarm of channel 5 is disabled and others are enabled Related Commands Section 2 38 AADI ZB 2018 Series User Manual V1 2 Aug 2011 78 ZB 2018 T 2 40 AAHI data CiT Description This command is used to set the high alarm of a channel Syntax AAHI data CiT CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF HI Command to set the high alarm data High alarm limit which consists with the data format Refer to Section 1 8 for details Ci The channel to be clear zero based T Alarm type M momentary alarm L latched alarm Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 79 ZB 2018 T Examples Command 01HI 09 000COM _ Response 01 Sets the high alarm of channel 0 The high alarm limit is 09 000 and the type is momentary and returns a valid response Command 01DI Response 010100 Reads the alarm status and returns the high alarm of channel 0 is enabled and others are disabled Related Commands Section 2 38 AADI ZB 2018 Series User Manual V1
55. hed alarm of a channel Disables the high alarm of a AADHCi IAA 3 emona paa iesiesttetiahatemefe aay ZB 2018 Series User Manual V1 2 Aug 2011 AAF AAM AAS1 ATS ATHSTSTS P gt oO 25 AADI IAAHHLL Reads the alarm status Disables the low alarm of a AADLCi IAA 2 39 emoci paa ieeiestetowaamols 239 Sets the the high alarm of a AAHI data CiT AA 2 4 aaar _ AA Gata AARL IAA data 2 45 AARLCi IAA data S 2 46 AARLi aAa 247 Command Response ne Data Reads the CJC offset EE AAQ AA Data Reads the CJC offset 2 13 AAQSNNNN IAA 2 14 AAQCi IAA Data 2 15 AA AAi AA9SNNNNCI 2 16 217 mA AE AAN 227 Reads the enabled disabled status of the CJC Command 2 22 AAG Reads the Host Watchdog timeout settings Sets the Host Watchdog timeout settings ZB 2018 Series User Manual V1 2 Aug 2011 AAAI Command _ Sasi AA Data N N N AACN IAA N 00 26 ZB 2018 T 2 1 AANNTTCCFF Description This command is used to set the configuration of a module Syntax AANNTTCCFF CHKSUM CR Delimiter character AA The address of the module to be configured in hexadecimal format 00 to 1F NN The address of the module to be configured in hexadecimal format Same as AA TT 00 Reserved CC OA Reserved FF Used to set the data format checksum and filter settings Section 1 8 for details Response Valid Command AA CHKSUM CR Inval
56. id Command AA CHKSUM CR Delimiter for a valid command 7 Delimiter for an invalid command AA Address of the module in hexadecimal format 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 0202000A80 Response 02 Sets the data format of module 02 to 80 50Hz rejection The module returns a valid response Related Commands Section 2 6 AA2 ZB 2018 Series User Manual V1 2 Aug 2011 27 ZB 2018 T 2 2 HAA Description This command is used to read the data from all analog input channels Syntax AA CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF Response Valid Command gt Data CHKSUM CR Invalid Command AA CHKSUM CR gt Delimiter character for a valid command 2 Delimiter character for an invalid command Data Data from all analog input channels see Section 1 8 for the data format Data from disabled channels is filled with space characters AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01 Response gt 10 000 10 000 10 000 10 000 10 000 10 000 10 000 10 000 Reads module 01 and receives the data in engineering format Related Commands Section 2 1 7 AANNTTCCEFF Sectio
57. id command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 62 ZB 2018 T Examples Command 013164 Response 01 Enables the host watchdog of module 01 and sets the host watchdog timeout value to 10 0 seconds The module returns a valid response Command 012 Response 01164 Reads the host watchdog timeout value of module 01 The module returns 164 which denotes that the host watchdog is enabled and the host watchdog timeout value is 10 0 seconds Related Commands Section 2 22 Section 2 23 AAO Section 2 24 AA1 Section 2 25 AA2 Related Topics Section 5 1 Dual Watchdog Operation Notes When a host watchdog timeout occurs the host watchdog is disabled The AA3ETT command should be sent again to re enable the host watchdog ZB 2018 Series User Manual V1 2 Aug 2011 63 ZB 2018 T 2 27 AAC Description This command is used to read the CJC cold junction compensation enabled disabled status Syntax AAC CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF C Command to read the CJC enabled disabled status Response Valid command AAN CHKSUM CR Invalid command AA CHKSUM C
58. is option is only effective when the DCON protocol is enabled PAN ID Dip switch 4 defines the ZigBee network PAN ID Only OxFFOO or OxFF01 is allowed for the ZigBee IO series OxFFO1 is selected by moving the dip switch to the ON position and OxFFOO is selected by moving the dip switch to the OFF position ZB 2018 Series User Manual V1 2 Aug 2011 11 5 Channel Dip switches 5 7 define configuration is as follows the ZigBee operating channel The Switch value Channel Switch value Channel Switch value Channel 6 Hardware configuration Dip switch 8 defines whether the ZB 2018 series type code is configured using firmware or hardware The ON position defines that configuration is via hardware and the OFF position defines that configuration is performed via firmware The difference between firmware and hardware configuration are as follows Type Code is firmware configuration Type Code is hardware configuration Allows different type codes to be set for each channel All channels will use the same type code that is defined using thevalues set via dip switches 10 12 The type code value is configured based on the EEPROM of the ZB 2018 series The type code value is configured based on the dip switch of the ZB 2018 series The data format is configured using software commands The data format is configured by the dip switch Data format configuration commands a
59. l to 10000h Each count is equal to 0 01 C Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command 2 Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 019 0010 Response 01 Sets the CJC offset of module 01 to 0 16 C and returns a valid response Related Commands Section 2 7 AA3 Section 2 13 AA9 Section 2 17 AAA Section 2 18 AAAI Section 2 28 AACN ZB 2018 Series User Manual V1 2 Aug 2011 47 ZB 2018 T 2 15 S AA9Ci Description This command is used to read the CJC cold junction compensation offset value of a channel Syntax AA9Ci CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 9 Command to read the CJC offset value of a channel Ci The channel to be clear zero based Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command ie Delimiter character for an invalid command AA Address of the responding module 00 to FF Data CJC offset value consisting of a sign byte or followed by 4 hexadecimal digits Each count is equal to 0 01 C There will be no response if the command syntax is incorrect there is a communication
60. le returns a response of 3A which denotes that channels 1 3 4 and 5 are enabled and all other channels are disabled Related Commands Section 2 10 AA6 ZB 2018 Series User Manual V1 2 Aug 2011 39 ZB 2018 T 2 10 AA6 Description This command is used to read the enabled disabled status of each channel Syntax AA6 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 6 Command to read the channel status Response Valid Command AAVV CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it denotes that the channel is enabled and 0 denotes that the channel is disabled There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 40 ZB 2018 T Examples Command 0153A Response 01 Enables channels 1 3 4 and 5 and disables all other channels on module 01 The module returns a valid response Command 016 Response 013A Reads the channel status of module 01 and returns a response of 3A which denotes that channels 1 3 4 and 5 are enabled and all other channels are disabled Related Commands
61. librated 00 to FF 1 Command for the zero calibration Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is returned if the specified channel is incorrect AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 011 Receive 01 Performs a zero calibration of module 01 and returns a valid response Command 031 Receive 03 Performs a zero calibration of module 03 An invalid command is returned because the enable calibration command was not sent in advance ZB 2018 Series User Manual V1 2 Aug 2011 33 ZB 2018 T Related Commands Section 2 4 AAO Section 2 29 AAEV Related Topics Section 1 9 Calibration Notes 1 The enable calibration command AAEV must be sent before this command is used see Section 1 9 for details 2 This command must be sent before the span calibration command AA1 is used ZB 2018 Series User Manual V1 2 Aug 2011 34 ZB 2018 T 2 6 AA2 Description This command is used to read the configuration of a module Syntax A A2 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 2 Command to read the module configuration Response Valid Co
62. mand to reload the factory default calibration parameters Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01S1 Response 01 Sends a command to reload the factory default calibration parameters for module 01 and returns a valid response Related Topics Section 1 9 Calibration ZB 2018 Series User Manual V1 2 Aug 2011 54 ZB 2018 T 2 22 Description This command is used to inform all modules that the host is OK Syntax CHKSUM CR Delimiter character eR Host OK command Response No response Examples Command No response Sends a Host OK command to all modules Related Commands Section 2 23 AAO Section 2 24 AA1 Section 2 25 AA2 Section 2 26 AA3ETT Related Topics Section 5 1 Dual Watchdog Operation ZB 2018 Series User Manual V1 2 Aug 2011 55 ZB 2018 T 2 23 AA0 Description Reads the Host Watchdog status of a module Syntax AA0 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 0 Command to read the Host Watchdog status Response Valid command AASS CHKSUM CR Invalid command AA CHKSUM CR
63. mmand SAA TTCCFF CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to 1F TT 00 Reserved CC OA Reserved FF Data format checksum settings and filter settings of the module see Section 1 8 for details There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 012 Response 01000A00 Reads the configuration of module 01 Command 022 Response 02000A20 Reads the configuration of module 02 Related Commands Section 2 1 7 AANNTTCCFEF Related Topics Section 1 8 Configuration Tables ZB 2018 Series User Manual V1 2 Aug 2011 35 ZB 2018 T 2 7 AA3 Description This command is used to read the CJC cold junction compensation temperature Syntax A A3 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 3 Command to read the CJC temperature Response Valid Command gt Data CHKSUM CR Invalid Command AA CHKSUM CR gt Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to 1F Data CJC temperature in degrees Celsius consisting of a sign byte or and followed by 5 decimal digits with a fixed decimal point in tenths of a degree There will be n
64. n 2 6 AA2 Section 2 11 AA7CiRir Related Topics Section 1 8 Configuration Tables ZB 2018 Series User Manual V1 2 Aug 2011 28 ZB 2018 T 2 3 HAAN Description This command is used to read the analog input of the channel N Syntax AAN CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF N The channel to be read zero based Response Valid Command gt Data CHKSUM CR Invalid Command AA CHKSUM CR gt Delimiter character for a valid command Delimiter character for an invalid command An invalid command is returned if the specified channel is incorrect Data Analog input data of the specified channel see Section 1 8 for the data format If the specified channel is disabled then the data field will be filled with space characters AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 29 ZB 2018 T Examples Command 032 Response gt 025 13 Reads data from channel 2 of module 03 Command 029 Response 02 Reads data from channel 9 of module 02 An error is returned because channel 9 is invalid Related Commands Section 2 1 7 AANNTTCCEF Section 2 6 AA2 Related Topics Section 1 8 Configuration Tables ZB 2018 Series User Manual V1 2 Aug 2011 30 ZB 2018 T 2
65. n sent since the module was powered on Command 015 Response 010 Reads the reset status of module 01 The response shows that there has been no module reset since the last AA5 command was sent ZB 2018 Series User Manual V1 2 Aug 2011 37 ZB 2018 T 2 9 AA5VV Description This command is used to specify the channels to be enabled Syntax A A5VV CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF 5 Command to set the channels to enabled VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it denotes that the channel is enabled and 0 denotes that the channel is disabled Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is returned if an attempt is made to enable a channel that is not present AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 38 ZB 2018 T Examples Command 0153A Response 01 Enables channels 1 3 4 and 5 and disables all other channels on module 01 The module returns a valid response Command 016 Response 013A Reads the channel status of module 01 The modu
66. o response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 013 Response gt 0031 2 Reads the CJC temperature of module 01 and returns with 31 2 C Related Commands Section 2 13 AA9 Section 2 14 AAO9SNNNN Section 2 17 AAA Section 2 18 AAAi Section 2 27 AAC Section 2 28 AACN ZB 2018 Series User Manual V1 2 Aug 2011 36 ZB 2018 T 2 8 AA5 Description This command is used to read the reset status of a module Syntax AA5 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 5 Command to read the module reset status Response Valid Command AAS CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF S Reset status of the module 1 This is the first time the command has been sent since the module was powered on 0 This is not the first time the command has been sent since the module was powered on which denotes that there has been no module reset since the last AA5 command was sent There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 015 Response 011 Reads the reset status of module 01 The response shows that it is a first time the AA5 command has bee
67. odule to be reset 00 to FF 1 Command to reset the host watchdog timeout status Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 58 ZB 2018 T Examples Command 010 Response 0104 Reads the host watchdog status of module 01 and shows that a host watchdog timeout has occurred Command 011 Response 01 Resets the host watchdog timeout status of module 01 and returns a valid response Command 010 Response 0100 Reads the host watchdog status of module 01 and shows that no host watchdog timeout has occurred Related Commands Section 2 22 Section 2 23 AAO Section 2 25 AA2 Section 2 26 AA3ETT Related Topics Section 5 1 Dual Watchdog Operation ZB 2018 Series User Manual V1 2 Aug 2011 59 ZB 2018 T 2 25 AA2 Description This command is used to read the host watchdog timeout value of a module Syntax AA2 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 2 Command to read the host watchdog timeout value Response Valid command AAEVV CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid
68. oidacuast ssusotiedecssdesssasbigeicesngsssesddpadceadipedsendeorteevtestasesces ll 1 6 E11 L EA ENEE E E E E Ceanocaaaseestins Data Neavabta estes 14 1 7 INET MOG AAEE AE E E E A E E E E S 17 1 6 Analog Input Type and Data Format Table c ccccccceccscceecceecesscesscusecusecnsecsecasecseeeseeeseesseeneeeseeenees 18 1 9 COLD EGE ON EERE E E annie E E E E T 21 1 10 Technical Support ciscusincessaseecie tt sinecs cased suse k aa EE cies a anaa E Ao A a asdacasusudes EE Eaa 22 DCON Protocol esesseseseseseeseocesesesesecscocoseseseoecscoceseseseoscscocoseseseososcoceseseseoseseoceseseseososeoceseseseososescosesesesseseseese 23 2 1 TOAANN TLC CEP ities scien shinai engage e a E a A AEE AE EEEE ATEA ENOS E E E AaS 27 22 HAA EEE EEE E E eeiteals Pasta TEE stews nada lant EE EEE ET 28 2 3 HAAN vores iitessaiontewtesteaSavcsvetusee sab sdegs vba usiasteasesactesacausavuedane toesiue lve shaugluuesats ioueaugs Hessian deasisazensneusitestegecs 29 2 4 AAO wa cece aera Ravn E A ee Acct a peti A eth aoe BR Da Son oe ve seal eR aot AON eae ty 31 2 5 AAT Asses see teeta te as E A bos 1 Rte Eh etc ote ae eon te oe etc sh cheats ct irate ec ots Geter a tates ieee tte 33 2 6 BAAD o a Waa a ciara divedivne tia ahi haw niara Aorta saan cab ieee ohare ate where 35 2 7 DAA l NEEE tata S taht seaect A E E setesk cobs i svete soe net cst ctoseet ty 36 2 8 BAAD coeree sachet Dinar aa Mere nthe cedared Rien A AUN Ag Ree hav ath are aha ales Sek se Rl cheek a Aan a
69. pics Section 1 8 Configuration Tables ZB 2018 Series User Manual V1 2 Aug 2011 43 ZB 2018 T 2 12 AA8Ci Description This command is used to read the type code information for a channel Syntax A A8Ci CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 8 Command to read the type code of a channel Ci Specifies which channel to access for the type code information 0 7 Response Valid command AACiRrr CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command 1 Delimiter character for an invalid command or invalid channel AA Address of the responding module 00 to FF Ci Specifies which input channel the type code information relates to Rrr Represents the type code of the specified input channel Refer to the Temperature Sensor Type Setting table in Section 1 8 There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address ZB 2018 Series User Manual V1 2 Aug 2011 44 ZB 2018 T Examples Command 018C0 Response 01COR20 Reads the input range of channel 0 of module 01 and returns 20 PT100 100 100 C Related Commands Section 2 11 AA7CiRrr Related Topics Section 1 8 Configuration Tables ZB 2018 Series User Manual V1 2 Aug 2011 45 ZB 2018 T 2 13 AA9 Description This command is used to read the CJC cold junction compensation
70. re ignored in this mode When you use a command to read the current type code you will get the value that is stored in the EEPROM of the ZB 2018 series When you use a command to read the current type code you will get the value that has been configured via the dip switch of the ZB 2018series ZB 2018 Series User Manual V1 2 Aug 2011 12 7 Data Format Dip switch 9 defines the data format of the ZB 2018 series The ON position defines hex format and OFF position defines engineering format This dip switch is only valid when the Hardware configuration dip switch is in the ON position 8 Type Code Dip switches 10 12 define the input type code of the ZB 2018 series sa shown below Switch value Type code Switch value Type code Switch value Type code ON ON ON unn 0x00 BE 0x01 ane 0x02 10 11 12 10 11 12 10 11 12 ON ON _ 5 0x03 At 0x04 s 12 12 10 m 0x05 12 a 0x06 Euu 0x07 12 12 ZB 2018 Series User Manual V1 2 Aug 2011 13 1 6 Connection A ZigBee host must already exist in a ZigBee network If you want to communicate with the ZB 2000 IO modules you need to use a ZB 2550 P T or a ZP 2570 P to connect to your controller To create a ZigBee network the Channel and PAN ID parameters of all ZigBee modules should be individually configure to the same value For instance use the software utility to configure the PAN ID of the ZB 2
71. syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RHCO Response 01 08 0002 Reads the high alarm of channel 0 and returns the high alarm limit is 08 000 and the type is latched Related Commands Section 2 40 AAHI data CiT Section 2 41 AADHCi Section 2 38 AADI ZB 2018 Series User Manual V1 2 Aug 2011 84 ZB 2018 T 2 44 AARHi Description This command is used to read the high latch of a channel Syntax AARHi CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF RH Command to read the high latch i The channel to be clear zero based Response Valid command 1AA data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF data High latch of a channel see Section 1 8 for the data format There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RHO Response 01 08 000 Reads the high latch of channel 0 and returns the data in engineering format Related Commands Section 2 31 AACH Section 2 32 AACHi Section 2 42 AARH ZB 2018 Series User Manual V1 2 Aug 2011 85 ZB 2018 T 2 45 AARL Description This command is used to read the low latches Syntax
72. tion 00 0x00 Reads the module name 3 3 1 07 0x07 Reads the type code 3 3 2 08 0x08 Sets the type code 3 3 3 32 0x20 Reads the firmware version 3 3 4 37 0x25 Reads the channel 3 3 5 enabled disabled status 38 0x26 Sets the channel to 3 3 6 enabled disabled 41 0x29 Reads the miscellaneous settings 3 3 7 42 0x2A Writes the miscellaneous settings 3 3 8 43 0x2B Reads the CJC offset 3 3 9 44 0x2C Writes the CJC offset 3 3 10 45 0x2D Reads the CJC enabled disabled 3 3 11 status 46 0x2E Enables disable CJC 3 3 12 47 0x2F Reads the CJC update setting 3 3 13 48 0x30 Sets the CJC update setting 3 3 14 If the module does not support the sub function code specified in the message then it will respond as follows Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Egception code l Byte 02 invalid sub function code ZB 2018 Series User Manual V1 2 Aug 2011 92 ZB 2018 T 3 3 1 Sub function 00 0x00 Read module name This sub function code is used to read the name of a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x00 Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10x46 02 Sub function code 1 Byte 0x00 03 06 Module name 4 Bytes Ox5A 0x70 0x17 0x00 Error Response
73. ule with the specified address Examples Command 01F Response 01A2 0 Reads the firmware version of module 01 and shows that it is version A2 0 Command 02F Response 02B1 1 Reads the firmware version of module 02 and shows that it is version B1 1 ZB 2018 Series User Manual V1 2 Aug 2011 52 ZB 2018 T 2 20 AAM Description This command is used to read the name of a module Syntax AAM CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF M Command to read the module name Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF Data Name string of the module in string format There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01M Response 01Z2018 Reads the name of module 01 and returns the name Z2018 Related Commands Section 2 30 AAO Name ZB 2018 Series User Manual V1 2 Aug 2011 53 ZB 2018 T 2 21 AAS1 Description This command is used to reload the factory default calibration parameters including the internal calibration parameters Syntax A AS1 CHKSUM CR Delimiter character AA Address of the module where the default parameters are to be reloaded 00 to FF Sl Com
Download Pdf Manuals
Related Search
Related Contents
Télécharger au format pdf Jalapeño - Toro Italia Srl Brodit ProClip 521620 FLT V4 User Manual リリース詳細 Supersonic SC-6500 car speaker STEVEN M. ADKINS メガトルクモータシステム 保守説明書 (EM / EP型 Copyright © All rights reserved.
Failed to retrieve file