Page 1
I-87211W User Manual I-87211W User Manual v2.5 High Quality, Industrial Data Acquisition, and Control Products 1/93 I-87211W User Manual V2.5, Oct. 2010...
Page 2
Copyright 2010 by ICP DAS CO., LTD. All rights reserved worldwide. Trademark The names used for identification only may be registered trademarks of their respective companies. Version Date Author Description 2010/2/1 Anold Release version 2/93 I-87211W User Manual V2.5, Oct. 2010...
Except for the GPS data, I-87211W includes a 2-channel DO and a 1-channel PPS for user applications. The Pulse Per Second (PPS) is an electrical signal that very precisely indicates the start of a second, and can be used for precise timekeeping and time measurement.
Page 6
Precise timekeeping and time measurement T T T T ransfer Passenger’s Image ransfer Passenger’s Image ransfer Passenger’s Image ransfer Passenger’s Image Administrative Administrative Administrative Administrative Center Center Center Center Passenger Passenger Passenger Passenger 6/93 I-87211W User Manual V2.5, Oct. 2010...
Page 7
I-87211W User Manual Time Calibration for PACs 7/93 I-87211W User Manual V2.5, Oct. 2010...
ICP DAS provides a series of PAC (Programmable Automation Controller) units that are especially suited for industrial control systems in harsh environments. The I-87211W can be inserted into these PACs for applications such as vehicle navigation, Marine navigation and Satellite time correction system, etc. For detailed information regarding PACs, please visit: http://www.icpdas.com/products/Products-list.htm#P1...
Page 9
HMI application, a USB port to connect with a Keyboard, Mouse, a USB device for storage or touch monitor, and micro SD/microSDHC memory for storage of programs and data. Linux OS 9/93 I-87211W User Manual V2.5, Oct. 2010...
Page 10
OS: Windows CE 5.0, MiniOS7 ViewPAC The iPAC-8000 is a new family of compact, modular, intelligent and rugged, distributed I/O (input/output) systems, designed for data acquisition and control in manufacturing, research and education. OS: MiniOS7 iPAC 10/93 I-87211W User Manual V2.5, Oct. 2010...
Page 11
Remote I/O Expansion Units ICP DAS provide remote I/O Expansion Units to enable users to extend I/O applications using RS-485, Ethernet or USB interfaces. The I-87211W can also be installed in these units. For more details, please visit: http://www.icpdas.com/products/io_expansion_unit/IO_Expan sion_Unit.htm...
Page 12
This unit can be used to expand I-87K series I/O ET-87Pn modules via an Ethernet interface. It is equipped with a single power module, 2 Ethernet ports, 1 CPU module and several I/O slots. 12/93 I-87211W User Manual V2.5, Oct. 2010...
RS-232 Cable (CA-0915) Product CD Quick Start Guide Please check that the items above are contained in the package after receiving your I-87211W. If there are any problems, contact the supplier of the module. 13/93 I-87211W User Manual V2.5, Oct. 2010...
Power Protection Power reverse polarity protection Frame Ground for ESD Protection Power Consumption 0.6 W Mechanical Dimensions (W x H x D) 30 mm x 102 mm x 115 mm Weight 200 g 15/93 I-87211W User Manual V2.5, Oct. 2010...
Page 16
-40° C ~ +80° C Humidity 5 ~ 95% RH, non-condensing I/O specifications Digital Output Output Channel 2 (Sink) Output Type Non-isolated Open Collector Output Current 100 mA per channel Load Voltage +10 VC ~ +30 VC 16/93 I-87211W User Manual V2.5, Oct. 2010...
Digital Output 0 is active. (green) Digital Output 0 is off. Digital Output 1 is active. (green) Digital Output 1 is off. 1 PPS The PPS is on. (green) The PPS is off. 18/93 I-87211W User Manual V2.5, Oct. 2010...
I-87211W in INIT or normal modes. 2. When plugging the I-87211W module into a PAC, the module is always in INIT mode. A description of each mode and a diagram are below.
Page 20
I-87211W User Manual 20/93 I-87211W User Manual V2.5, Oct. 2010...
Use 26-12 AWG wires for signal connections. Strip the wire to a length of 7±0.5mm. Use a crimp terminal for wiring. Avoid high-voltage cables and power equipment as much as possible. Wiring DO wiring PPS wiring 21/93 I-87211W User Manual V2.5, Oct. 2010...
Page 22
PPS functionality can be combined with another time source that provides the full date and time in order to accurately and precisely ascertain the correct time. 22/93 I-87211W User Manual V2.5, Oct. 2010...
I-87211W User Manual Installation Use the figures below as a guide to installing your I-87211W in a PAC. Note: If the I-87211W is not able to receive GPS signals, check the position of the antenna or install the GPS antenna in an open environment.
I-87211W User Manual Technical Support Should you encounter any problems while using your I-87211W module, and are unable to find help in this manual or on our website, please contact ICP DAS Product Support. Email: service@icpdas.com Website: http://www.icpdas.com/sevices/support.htm When requesting technical support, be prepared to provide the following information about your system: 1.
[CHKSUM] Character Address CHKSUM A 2-character checksum which is present when the checksum setting is enabled. See Sections 1.10 (Data Format Setting) and 2.1 for details. End of command character, carriage return (0x0D) 27/93 I-87211W User Manual V2.5, Oct. 2010...
Page 28
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. 28/93 I-87211W User Manual V2.5, Oct. 2010...
Page 29
Save the current date $AAD 2.14 temporarily Reads the Firmware $AAF !AA(Data) 2.15 Version $AAM !AA(Data) Reads the Module Name 2.16 Reads the Latched DO $AALS !AA(Data) 2.17 Status Reads the Digital I/O >(Data) 2.18 Status 29/93 I-87211W User Manual V2.5, Oct. 2010...
Page 30
2.27 ~AA1 Resets the Status 2.28 ~AA2 !AAVV Reads the Timeout Settings 2.29 ~AA3EVV Sets the Timeout Settings Reads the Power On/Safe 2.30 ~AA4V !AA(Data) Value Sets the Power On/Safe 2.31 ~AA5V Value 30/93 I-87211W User Manual V2.5, Oct. 2010...
The BaudRate is not set when the modules is not in Init mode Response: Valid Command: !AA[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter for a valid command Delimiter for an invalid command Address of the module in hexadecimal format (00 to FF) 31/93 I-87211W User Manual V2.5, Oct. 2010...
Page 32
The module returns an invalid command because it is not in INIT* mode. Command: %0905400940 Response: !05 Changes the Baud Rate of module 01 to 57600bps and the module returns a valid response. 32/93 I-87211W User Manual V2.5, Oct. 2010...
Page 33
Send command ~AATnn (Refer to Section 2.27) II. Send command ~AAI (Refer to Section 2.26_ III. Send command %AANNTTCCFF If these commands are valid, the Baud Rate, checksum or others will take effect after the module responds with “!AA”. 33/93 I-87211W User Manual V2.5, Oct. 2010...
Page 34
Sends a command to read the synchronized data. The status byte of the response is 1, which means that it is the first time the synchronized data has been read after the previous #** command. Digital Output: 0x06 34/93 I-87211W User Manual V2.5, Oct. 2010...
Page 35
The status byte of the response is 0, which means that it is NOT the first time the synchronized data has been read after the previous #** command. Digital Output: 0x06。 Related Commands: Refer to Section 2.10 $AA4 35/93 I-87211W User Manual V2.5, Oct. 2010...
Page 36
(00 to FF) TTTTTT.TTT UTC Time LLLL.LLLL Latitude N or S (North or South) NNNNN.NNNN Longitude E or W (East or West) P=Position Fix Indicator 0=No fix, invalid 1=GPS SPS Mode, fix valid 36/93 I-87211W User Manual V2.5, Oct. 2010...
Page 37
Sends a command to read the following information and the module replies with a valid response. UTC Time: 035035.000 Latitude, Longitude: 2451.7056, N,12100.9903, E Position Fix Indicator: 1 Satellites in view: 9 Related Commands: Section2.4 #AAN 37/93 I-87211W User Manual V2.5, Oct. 2010...
N=1: !AATTTTTT.TTT N=2: !AALLLL.LLLL,C,NNNNN.NNNN,C N=3: !AAS N=4: !AADDMMYY Delimiter for a valid command Delimiter for an invalid command Address of the module in hexadecimal format (00 to FF) TTTTTT.TTT UTC time LLLL.LLLL Latitude 38/93 I-87211W User Manual V2.5, Oct. 2010...
Page 39
Response: !012451.7057,N,12100.9904,E Reads the Latitude and longitude for module 01. Latitude, Longitude: 2451.7056,N,12100.9903,E。 Command: #013 Response: !019 Reads the number of satellites in view for module 01 and indicates that there are 9. 39/93 I-87211W User Manual V2.5, Oct. 2010...
Page 40
Command: #014 Response: !01280308 Indicates that the current date is 3/28/2008. The $AAD command needs to be sent to update the date before using this command. Related Commands: Section 2.3 #AA, Section 2.13 $AAD 40/93 I-87211W User Manual V2.5, Oct. 2010...
Valid Command: >[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Ignored Command:  > Delimiter for a valid command Delimiter for an invalid command Delimiter for an ignored command: If a Host WatchDog Timeout occurs, the module 41/93 I-87211W User Manual V2.5, Oct. 2010...
Page 42
A Host WatchDog Timeout was occurred and so the DO output command is ignored. Related Commands: Section 2.6 #AA0A (Data) Section 2.12 $AA6 Section 2.7 #AA1cDD Section 2.18 @AA Section 2.8 #AAAcDD Section 2.19 @AA(Data) 42/93 I-87211W User Manual V2.5, Oct. 2010...
> Delimiter for a valid command Delimiter for an invalid command Delimiter for an ignored command: If a Host WatchDog Timeout occurs, the module will reset to safe mode and the DO output 43/93 I-87211W User Manual V2.5, Oct. 2010...
Page 44
A Host WatchDog Timeout has occurred and so the DO output command is ignored. Related Commands: Section 2.5 #AA00(Data) Section 2.12 $AA6 Section 2.7 #AA1cDD Section 2.18 @AA Section 2.8 #AAAcDD Section 2.19 @AA(Data) 44/93 I-87211W User Manual V2.5, Oct. 2010...
> Delimiter for a valid command Delimiter for an invalid command Delimiter for an ignored command: If a Host WatchDog Timeout occurs, the module will reset to safe mode and the DO output 45/93 I-87211W User Manual V2.5, Oct. 2010...
Page 46
A Host WatchDog Timeout has occurred and so the DO output command is ignored. Related Commands: Section 2.5 #AA00(Data) Section 2.12 $AA6 Section 2.6 #AA0A(Data) Section 2.18 @AA Section 2.8 #AAAcDD Section 2.19 @AA(Data) 46/93 I-87211W User Manual V2.5, Oct. 2010...
> Delimiter for a valid command Delimiter for an invalid command Delimiter for an ignored command: If a Host WatchDog Timeout occurs, the module will reset to safe mode and the DO output 47/93 I-87211W User Manual V2.5, Oct. 2010...
Page 48
A Host WatchDog Timeout has occurred and so the DO output command is ignored. Related Commands: Section 2.5 #AA00(Data) Section 2.12 $AA6 Section 2.6 #AA0A(Data) Section 2.18 @AA Section 2.7 #AA1cDD Section 2.19 @AA(Data) 48/93 I-87211W User Manual V2.5, Oct. 2010...
Page 49
40 indicates a DO Module The BaudRate code for the module. See Section 1.9 for details Setting for the checksum and the direction of the counter update for the module. See Section 1.9 for details 49/93 I-87211W User Manual V2.5, Oct. 2010...
Page 50
Reads the configuration of module 01. BaudRate: 115200, Checksum: Disabled. Command: $052 Response: !05400940 Reads the configuration of module 05. BaudRate: 57600, Checksum: Enabled. Related Commands: Section 1.9 Configuration Table Section 2.1 %AANNTTCCFF 50/93 I-87211W User Manual V2.5, Oct. 2010...
Page 51
Address of the module in hexadecimal format (00 to FF) Status of the synchronized data 1: First read 0: Not the first read (Data) Synchronized data. See Section 1.9 for details of the data format 51/93 I-87211W User Manual V2.5, Oct. 2010...
Page 52
Reads the synchronized data for module 01. The module returns the synchronized data and sets the status byte to 0 to indicate that the synchronized data has been read. The Digital Output status is Related Commands: Section 2.2 #** 52/93 I-87211W User Manual V2.5, Oct. 2010...
Page 53
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 53/93 I-87211W User Manual V2.5, Oct. 2010...
Page 54
Command: $035 Response: !030 Reads the reset status of module 03.The response shows that there has been no module reset since the last $AA5 command was sent. 54/93 I-87211W User Manual V2.5, Oct. 2010...
Page 55
The status of the digital input/output channels, a four digit hexadecimal value followed by 00 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. 55/93 I-87211W User Manual V2.5, Oct. 2010...
Page 56
07.The command is invalid became no module with the specified address exits Related Commands: Section 2.5 #AA00(Data) Section 2.8 #AAAcDD Section 2.6 #AA0A(Data) Section 2.18 @AA Section 2.7 #AA1cDD Section 2.19 @AA(Data) 56/93 I-87211W User Manual V2.5, Oct. 2010...
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. 57/93 I-87211W User Manual V2.5, Oct. 2010...
Page 58
01 and return 0. Command: $01L1 Response: !011 Sends a command to read the status of the high latched digital output channel of module 01 and return 0. Related Commands: Section 2.17 $AALS 58/93 I-87211W User Manual V2.5, Oct. 2010...
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. 59/93 I-87211W User Manual V2.5, Oct. 2010...
Page 60
I-87211W User Manual Examples: Command: $01D Response: !01 Updates the current date and temporarily saves the date in the module. Command: #014 Response: !0199,99,9999 Reads the current date. Related Commands: Section 2.4 #AAN 60/93 I-87211W User Manual V2.5, Oct. 2010...
Example: Command: $01F Response: !0101.20 Reads the firmware version of module 01, and shows that it is version 1.2. 61/93 I-87211W User Manual V2.5, Oct. 2010...
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. Example: Command: $01M Response: !01GPS721 Reads the module name of module 01 and returns the name “GPS721”. 62/93 I-87211W User Manual V2.5, Oct. 2010...
Status of the latched digital output channel as a single digit hexadecimal value followed by 0 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. 63/93 I-87211W User Manual V2.5, Oct. 2010...
Page 64
01 and return 0. Command: $01L1 Response: !011 Sends a command to read the status of the high latched digital output channel of module 01 and return 0. Related Commands: Section 2.13 $AAC 64/93 I-87211W User Manual V2.5, Oct. 2010...
Page 65
The highest byte represents Digital Output and the last byte is reserved 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. 65/93 I-87211W User Manual V2.5, Oct. 2010...
Page 66
01. Response: >0100, where 01 is the status of the DO channel. Related Commands: Section 2.5 #AA00(Data) Section 2.8 #AAAcDD Section 2.6 #AA0A(Data) Section 2.12 $AA6 Section 2.7 #AA1cDD Section 2.19 @AA(Data) 66/93 I-87211W User Manual V2.5, Oct. 2010...
> Delimiter for a valid command Delimiter for an invalid command Delimiter for an ignored command: If a Host WatchDog Timeout occurs, the module will reset to safe mode and the DO output 67/93 I-87211W User Manual V2.5, Oct. 2010...
Page 68
Response: ?01 The output value is not valid because the DO channel doesn’t exit. Related Commands: Section 2.5 #AA00(Data) Section 2.8 #AAAcDD Section 2.6 #AA0A(Data) Section 2.12 $AA6、 Section 2.7 #AA1cDD Section 2.18 @AA 68/93 I-87211W User Manual V2.5, Oct. 2010...
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. 69/93 I-87211W User Manual V2.5, Oct. 2010...
Page 70
“GPS721”. Command: ~01O87000 Response: !01 Sets the name of module 01 to “87000” and returns a valid response. Command: $01M Response: !0187000 Reads the name of module 01 and returns the name “87000”. 70/93 I-87211W User Manual V2.5, Oct. 2010...
?AA[CHKSUM](CR) Delimiter for a valid command Delimiter for an invalid command Address of the module in hexadecimal format (00 to FF) Two hexadecimal digits that represent the miscellaneous settings, shown below (00,02) Reserved 71/93 I-87211W User Manual V2.5, Oct. 2010...
Page 72
Response: !0102 Sets the DO active status of module 01 and returns a valid response. Command: ~01D Response: !0102 Reads the miscellaneous settings of module 01 and returns 02. Related Commands: Section 2.22 ~AADVV 72/93 I-87211W User Manual V2.5, Oct. 2010...
(00,02) Response: Valid Command: !AA[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter for a valid command Delimiter for an invalid command Address of the module in hexadecimal format (00 to FF) Reserved 73/93 I-87211W User Manual V2.5, Oct. 2010...
Page 74
Response: !0100 Sets the DO active status of module 01 and returns a valid response. Command: ~01D Response: !0100 Reads the miscellaneous settings of module 01 and returns 00. Related Commands: Section 2.21 ~AAD 74/93 I-87211W User Manual V2.5, Oct. 2010...
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. 75/93 I-87211W User Manual V2.5, Oct. 2010...
Page 76
Sets the “Soft INIT” function on module 01 to enable. The module returns a valid response. Command: %0107400740 Response: !01 Sends a command to change the BaudRate and checksum. The module returns a valid response. Related Commands: Section 2.26 ~AATnn 76/93 I-87211W User Manual V2.5, Oct. 2010...
Example: a value of 10 = 16 seconds Response: Valid Command: !AA[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter for a valid command Delimiter for an invalid command Address of the module in hexadecimal format (00 to FF) 77/93 I-87211W User Manual V2.5, Oct. 2010...
Page 78
Sends the “~AATnn” command to set the Soft INIT duration to 16 seconds and the module returns a valid response. Command: ~01I Response: !01 Command to set module 01 to Soft INIT mode and the module returns a valid response. 78/93 I-87211W User Manual V2.5, Oct. 2010...
Page 79
I-87211W User Manual Command: %0107400740 Response: !01 After sending “~AATnn” “~AAI” commands, this command can be used to change the BaudRate and checksum. The module returns a valid response. Related Commands: Section 2.23 ~AAI 79/93 I-87211W User Manual V2.5, Oct. 2010...
Page 80
Read the Host WatchDog status of module 01 and it returns a valid response. It shows WatchDog is enabled and no Host WatchDog timeout is occurred. Related Commands: Section 2.28 ~AA0、2.29 ~AA1、2.30 ~AA2 2.31 ~AA3EVV、2.32 ~AA4V、 2.33 ~AA5V。 80/93 I-87211W User Manual V2.5, Oct. 2010...
Page 81
Bit 7: 0 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 81/93 I-87211W User Manual V2.5, Oct. 2010...
Page 82
Host WatchDog on the module is disabled and timeout has not occurred. Related Commands: Section 2.27 ~** Section 2.31 ~AA3EVV Section 2.29 ~AA1 Section 2.32 ~AA4V Section 2.33 ~AA5V Section 2.30 ~AA2 82/93 I-87211W User Manual V2.5, Oct. 2010...
Page 83
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: ~070 83/93 I-87211W User Manual V2.5, Oct. 2010...
Page 84
Resets the Host WatchDog timeout status of module 07 and the module returns a valid response. Related Commands: Section 2.27 ~** Section 2.31 ~AA3EVV Section 2.28 ~AA0 Section 2.32 ~AA4V Section 2.30 ~AA2 Section 2.33 ~AA5V 84/93 I-87211W User Manual V2.5, Oct. 2010...
Page 85
0: the Host WatchDog is disabled 1: the Host WatchDog is enabled 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 85/93 I-87211W User Manual V2.5, Oct. 2010...
Page 86
Host WatchDog is enabled and the Host WatchDog timeout value is 25.5 seconds. Related Commands: Section 2.27 ~** Section 2.31 ~AA3EVV Section 2.28 ~AA0 Section 2.32 ~AA4V Section 2.29 ~AA1 Section 2.33 ~AA5V 86/93 I-87211W User Manual V2.5, Oct. 2010...
0.1 seconds and FF denotes 25.5 seconds Response: Valid Command: !AA[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter for a valid command Delimiter for an invalid command Address of the module in hexadecimal format (00 to 87/93 I-87211W User Manual V2.5, Oct. 2010...
Page 88
Reads the Host WatchDog status of module 01 and shows that a Host WatchDog is enabled. Related Commands: Section 2.27 ~** Section 2.30 ~AA2 Section 2.28 ~AA0 Section 2.32 ~AA4V Section 2.29 ~AA1 Section 2.33 ~AA5V 88/93 I-87211W User Manual V2.5, Oct. 2010...
(Data) Power-on DO Value or Safe DO Value 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. 89/93 I-87211W User Manual V2.5, Oct. 2010...
Page 90
Reads the power-on DO value of module 01 and the module returns a value of 1. Command: ~014S Response: !010 Reads the safe DO value of module 01 and the module returns 0. Related Commands: Section 2.33 ~AA5V 90/93 I-87211W User Manual V2.5, Oct. 2010...
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. 91/93 I-87211W User Manual V2.5, Oct. 2010...
Page 92
Command: ~014S Response: !010 Reads the safe DO value of module 01. The module returns 5500, which denotes that the safe DO value is 0. Related Commands: Section 2.32 ~AA4V 92/93 I-87211W User Manual V2.5, Oct. 2010...
Watchdog, making the control system more reliable and stable. For more information regarding the Dual WatchDog system, please refer to Chapter 5 of the “Getting Started For I-7000 Series Modules” manual that can be downloaded from the ICP DAS website http://www.icpdas.com. 93/93 I-87211W User Manual V2.5, Oct. 2010...
Need help?
Do you have a question about the I-87211W and is the answer not in the manual?
Questions and answers