background image

I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527 User’s Manual,Ver2.5 Aug.2015                                         

 

I-7521/I-7522/I-7522A/I-7523/I-7524 

/I-7527 

User’s Manual 

 

Warranty 

 

All products manufactured by ICP DAS are warranted against defective materials for a 
period of one year from the date of delivery to the original purchaser. 

 

Warning 

 

ICP  DAS  assume  no  liability  for  damages  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, nor for any infringements of patents 
or other rights of third parties resulting from its use. 

 

Copyright 

 

Copyright 2006 by ICP DAS. All rights are reserved. 

 

Trademark

 

 

The names used for identification only may be registered trademarks of their respective 
companies. 

 

World Wide Web Home Page and FTP Site 

 

To access ICPDAS home page go to 

http://www.icpdas.com

 

 
To download document and software go to 

http://www.icpdas.com/download/752n.htm

 

or 

ftp://ftp.icpdas.com.tw/pub/cd/8000cd/napdos/752n/

     

 

Technical Support 

Questions and requests can be sent via E-mail to 

[email protected]

 

 
 
 

Summary of Contents for I-7521

Page 1: ...hed by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from...

Page 2: ...RMWARE AND 7188XW EXE 36 2 3 THE RS 485 PORT AND SELF TURNER ASIC 37 2 4 7 SEGMENT LED DISPLAY 37 2 5 752N PROTOCOL DESCRIPTION 38 2 6 WRITING PROGRAM ON 752N 43 CHAPTER 3 QUICK START 44 3 1 CONNECTIN...

Page 3: ...9 AA5P AA5S 107 5 3 30 AAU 108 5 3 31 AAL data 110 5 3 32 AAR 112 5 3 33 AAJN timeout 113 5 3 34 AAGN triggerlevel 115 5 3 35 AA data 116 5 3 36 AABBHH 118 5 3 37 AABCDD 119 5 3 38 AAEV 120 5 3 39 AAH...

Page 4: ...duct 1 1 Overview Addressable RS 232 Converter Most RS 232 devices don t support individual device addressing To overcome this limitation ICPDAS I 752N series modules assign a unique address to any RS...

Page 5: ...it These features allow the Host PC to be linked to thousands of RS 232 devices without any loss of data Refer to Sec 5 3 30 Onboard DI signal trigger I 752N series modules are equipped with 1 2 5 DI...

Page 6: ...he RS 485 network A Wide range available for selection RS 232 RS 485 RS 232 RS 485 RS 422 RS 485 DI DO I 7521 D 1 1 2 3 I 7522 D 1 1 1 2 1 I 7523 D 2 1 1 1 0 I 7522A D 1 1 1 5 5 I 7524 D 3 1 1 1 1 I 7...

Page 7: ...Depend on situation One software utility disk or CD One download cable CA0910F for I 7521 I 7522 I 7523 CA0910 for I 7522A I 7524 I 7527 Note If any of these items are missing or damaged contact the...

Page 8: ...Source code could be modified depending on according specific user requirements The firmware can monitor the onboard DI and control the onboard DO in real time depending on user requirements The firmw...

Page 9: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 9 1 3 Dimensions For I 7521 D I 7522 D I 7523 D...

Page 10: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 10 For I 7522A D I 7524 D I 7527 D...

Page 11: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 11 1 4 Pin Assignment...

Page 12: ...l input 3 5V 30V 9 INIT Initial pin 3 5V 30V 10 D2 DATA pin of COM2 RS 485 11 D2 DATA pin of COM2 RS 485 12 VS V of power supply 10 to 30VDC unregulated 13 GND GND of power supply Pin assignment of CO...

Page 13: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 13...

Page 14: ...ital input 3 5V 30V 9 INIT Initial pin 3 5V 30V 10 D2 DATA pin of COM2 RS 485 11 D2 DATA pin of COM2 RS 485 12 VS V of power supply 10 to 30VDC unregulated 13 GND GND of power supply Pin assignment of...

Page 15: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 15...

Page 16: ...power supply 10 to 30VDC unregulated 14 GND GND of power supply Note The COM1 can be used as a RS 232 port or a RS 485 port It is not recommended to use both RS 232 and RS 485 at the same time Pin as...

Page 17: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 17...

Page 18: ...2 Digital input 3 5V 30V 9 INIT Initial pin 3 5V 30V 10 D2 DATA pin of COM2 RS 485 11 D2 DATA pin of COM2 RS 485 12 VS V of power supply 10 to 30VDC unregulated 13 GND GND of power supply Pin assignme...

Page 19: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 19...

Page 20: ...n of COM2 RS 485 13 VS V of power supply 10 to 30VDC unregulated 14 GND GND of power supply Note The COM1 can be used as a RS 232 port or a RS 485 port It is not recommended to use both RS 232 RS 485...

Page 21: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 21...

Page 22: ...RS 485 13 VS V of power supply 10 to 30VDC unregulated 14 GND GND of power supply Note The COM1 can be used as a RS 232 port or a RS 485 port It is not recommended to use both RS 232 RS 485 at the sam...

Page 23: ...D I 7522 D I 7523 D RS 485 port with self tuner inside For I 7522A D I 7524 D I 7527 D Communication speed All ports 115200 bps max Digital Input speed Digital Input Input type non isolated On voltag...

Page 24: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 24 COM2 can be 3000V isolated EEPROM can be 32K bytes...

Page 25: ...in D sub Com 1 2 3 4 or UART port Host PC Ext GND Ext 24V 9 8 7 6 5 4 3 2 1 Male 9 pin D sub COM1 D2 D2 INIT 11 10 9 Connect INIT pin with GND pin to disable autoexec bat Download Cable CA0910F 11 12...

Page 26: ...232 port There are 3 wires as following Connect RXD to TXD of RS 232 device Connect TXD to RXD of RS 232 device Connect GND to GND of RS 232 device GND I 7521 I 7521D I 7522 I 7522D I 7523 I 7523D I 7...

Page 27: ...onnect RXD to TXD of RS 232 device Connect TXD to RXD of RS 232 device Connect RTS to CTS of RS 232 device Connect CTS to RTS of RS 232 device Connect GND to GND of RS 232 device CTS GND RTS I 7521 I...

Page 28: ...a RS 485 port Note The RS 485 interface can directly drive 256 sets of 7000 modules without a repeater Ext GND Ext 24V 11 12 13 14 GND VS D2 D2 I 7521 I 7521D I 7522 I 7522D I 7523 I 7523D I 7522A I...

Page 29: ...6 7 8 3 9 RXD Data RTS I 7521 DI3 DI2 CTS N C GND N C X1 X2 X3 3 2 1 COM1 Dry contact or TTL CMOS or 3 5V to 30V D I Inductive load or Conductive load Current Limit Resistor Load current 125mA U 2003...

Page 30: ...0 9 8 7 12 6 5 13 14 GND VS D2 D2 CTS1 GND RTS1 INIT 16 15 TXD3 TXD3 18 19 20 21 22 17 23 RXD3 GND DI3 I 7522A TXD1 RXD1 DI2 DI1 DI0 RXD3 D1 DI DI 4 3 2 X507 24 PWR 25 DO0 26 DO1 270 DO2 28 DO3 DO 1 5...

Page 31: ...I 7527 User s Manual Ver2 5 Aug 2015 31 1 6 7 Using a RS 485 of I 7522A D Note The RS 485 interface can directly drive 256 sets of 7000 modules without a repeater I 7522A TXD3 TXD3 GND Vs D2 D2 15 16...

Page 32: ...with self tuner inside RS 232 or RS 485 with self tuner inside COM2 RS 485 with self tuner inside 3000V isolation RS 485 with self tuner inside 3000V isolation RS 485 wtih self tuner inside 3000V isol...

Page 33: ...uner inside RS 485 with self tuner inside RS 485 wtih self tuner inside COM3 RS 422 RS 485 txd3 rxd3 txd3 rxd3 RS 232 txd rxd rts cts RS 232 txd rxd COM4 No Com4 RS 232 txd rxd rts cts RS 232 txd rxd...

Page 34: ...nfiguration data for the I 752N series module is forgotten resulting in a communication failure the procedure for retrieving the configuration data stored in the EEPROM is as follows Applicable to fir...

Page 35: ...d to the GND pin The I 752N module will revert to the factory default settings without changing the EEPROM data The factory default settings are as follows COM Port 2 Module Address 00 Baud Rate 9600...

Page 36: ...OM 2 2 Demo Code Firmware and 7188xw exe To locate the demo code firmware and the 7188xw exe file Insert the installation CD and wait for the auto run function to activate or run auto32 exe Click Tool...

Page 37: ...ntrol in a 2 wire RS 485 network is very important Therefore each I 752N module is equipped with a Self Tuner ASIC controller for all RS 485 ports The Self Tuner ASIC controller will automatically det...

Page 38: ...5 CrLfmode There are five modes for I 752N when receiving commands COM2 and receiving responses COM1 3 8 We call this mode CrLfmode The default CrLfmode is 4 for all COM ports Note More information ab...

Page 39: ...the second character 0 after 5 ms type the third character 1 after 1 second and type the fourth character T after 3 ms Two command string will be received by COM2 which will be 0 and 1T not 01T So the...

Page 40: ...here CrLfmode 0 the CR character is removed and EFGH CR is sent to COM2 where CrLfmode 0 the CR character is added So the PC receives the string EFGH CR Command transformation 01ABCD CR PC ABCD com2 A...

Page 41: ...e adjusted to ensure the amount of full data is received If the timeout value for the RS 232 COM Port is too small the response part will be received by the 1K byte Queue buffer for RS 232 Ports The A...

Page 42: ...d 2 command bypass status ON Wait for timeout0 to elapse without receiving any further data in order to determine the end of the command Receive one character as part of a response time timeout2 time...

Page 43: ...188_7186 i 7188xc htm Click Manual Download 7188xc_manual_english pdf I 7522A I 7524 I 7527 http www icpdas com products PAC i 7188_7186 i 7188xb htm Click Manual Download 7188xb_manual_english pdf 71...

Page 44: ...bps 9600 bps 9600 bps Data bit 8 8 8 8 8 8 8 8 Parity bit None None None None None None None None Stop bit 1 1 1 1 1 1 1 1 Checksum No No No No No No No No CrLfmode 4 4 4 4 4 4 4 4 delimiter Refer to...

Page 45: ...I 7520 I 7521 22 22A 23A 23 24 27 RS 232 RS 485 Host PC RS 232 Signal 10 11 12 13 GND VS D2 D2 I 7521 I 7521D I 7522 I 7522D I 7523 I 7523D 7 6 5 4 3 8 2 1 9 10 Female 9 pin D sub GND VS Data Data I...

Page 46: ...locate the MiniOS7 Utility Ver 3 11 Step 4 Execute 7188xw exe on the Host PC RS 232 Signal 11 12 13 14 GND VS D2 D2 I 7523A I 7523AD I 7522A I 7522AD I 7524 I 7524D I 7527 I 7527D 7 6 5 4 3 8 2 1 9 10...

Page 47: ...screen will be shown Illustrates a real time configuration for the 7188xw If the configuration is not 9600 N 8 1 refer to Steps 6 to 9 below to make the correct settings Otherwise go directly to Step...

Page 48: ...on the power to the I 752N module disconnect the INIT and GND pins and check that the display on the 5 digit 7 seg LED is as below For firmware version 3 02 and above see Note Current work directory...

Page 49: ...he I 752N module Check that the module returns 01 A1 0 A2 0 A3 0 A3 02 Step 14 Change the Module Address of the I 752N module Type the command 01A02 Press ENTER to send the command to the I 752N modul...

Page 50: ...ote Press ALT C Type b115200 to change the Baud Rate of the PC side Press ENTER to confirm the Baud Rate 115200 Type the command 02M Press ENTER to send the command to the I 752N module Check that the...

Page 51: ...the I 752N module Check that the module returns 02 A1 0 A2 0 A3 0 A3 02 For example I 7521 Note Refer to Sec 5 3 2 for more details regarding short codes for Baud Rates 01F 01A3 03 01A02 01 02M 02752...

Page 52: ...7 RS 232 RS 485 Host PC Remote PC RS 232 Signal 10 11 12 13 GND VS D2 D2 I 7521 I 7521D I 7522 I 7522D I 7523 I 7523D 7 6 5 4 3 8 2 1 9 10 Female 9 pin D sub GND VS Date Date I 7520 6 7 8 9 1 2 3 4 5...

Page 53: ...Remote PC Type 01abcde Press ENTER to send the command string to the I 752N module Check that the response string on the Remote PC is abcde The following screen should be shown on the Host PC RS 232...

Page 54: ...directory D vic 752n 752N_V3_20061023 7188XC original baudrate 9600 now baudrate 115200 7188xwCmd b9600original baudrate 115200 now baudrate 9600 Current baud rate is 9600 change to Line Mode 01M 0175...

Page 55: ...nload files None Current work directory D vic 752n 752N_V3_20061023 7188XC original baudrate 9600 now baudrate 115200 7188xwCmd b9600original baudrate 115200 now baudrate 9600 Current baud rate is 960...

Page 56: ...Tim Tsai Begin Key Thread Current set Use COM1 115200 N 8 1 AutoRun Autodownload files None Current work directory D vic 752n others ECR 061102 original baudrate 9600 now baudrate 115200 7188xwCmd b96...

Page 57: ...RS 485 network The module address of the first I 752N module is address 01 and the second is address 02 03 03 04 04 05 08 according to different modules The communication status parameters of the two...

Page 58: ...y Thread Current set Use COM1 115200 N 8 1 AutoRun Autodownload files None Current work directory D vic 752n others ECR 061102 original baudrate 9600 now baudrate 115200 7188xwCmd b9600original baudra...

Page 59: ...n the second Remote PC 2 AutoRun Autodownload files None Current work directory D vic 752n others ECR 061102 original baudrate 9600 now baudrate 115200 7188xwCmd b9600original baudrate 115200 now baud...

Page 60: ...COM1 INIT and GND pins must be connected Step 3 Power on I 752N Install the MiniOS7 Utility Locate and execute the minios7_utility_v311 exe file Installation details can be found in Appendix A MiniOS...

Page 61: ...I 7524 I 7527 User s Manual Ver2 5 Aug 2015 61 Step 6 Ensure that the MiniOS7 Utility is connected to the I 752N module indicates it is connected indicates that it is disconnected See here to determi...

Page 62: ...ep 8 Power off I 752N and disconnect INIT and GND pins Note I 7521 I 7522 I 7523 modules need 752N_C exe and autoexec bat I 7522A I 7524 I 7527 modules need 752N_B exe and autoexec bat 3 4 2 Using 718...

Page 63: ...e An AAZNV command must be sent from the Host PC in order to reset these DO to their expected states The AA5 command can be used to detect a hardware watchdog reset Refer to Sec 4 5 for more informati...

Page 64: ...noise or energy transients in such an environment the modules may automatically shut down if the noise becomes too large The built in hardware module watchdog will reset the module if it shuts down o...

Page 65: ...7527 User s Manual Ver2 5 Aug 2015 65 unnecessary damage The flow chart for the host computer is as follows Set Safe Value Enable host watchdog Function 1 Function n Send CrLf to reset the host watch...

Page 66: ...to its initial start values The start value may be different from the output values prior to the module reset Therefore the user must send the output commands to the module again in order to maintain...

Page 67: ...4 5 6 7 8 Sec 5 3 10 AAKV AA checksum Read Set the checksum status of COM2 RS485 Sec 5 3 11 AATN CrLfmode AA CrLfmode Read Set the end char which is used to judge the end of command response for COM1...

Page 68: ...36 AABCDD Set the single onboard DO 1 2 3 4 5 Sec 5 3 37 AAEV AA status Read Set prefixed address status on the response Supported by the firmware version 3 05 and upward Sec 5 3 38 AAHV AA status Re...

Page 69: ...ation error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX format chk 2 character checksum If th...

Page 70: ...he checksum is disabled no chk CrLf End Character Response valid command AA baud rate chk CrLf invalid command AA chk CrLf no response syntax error communication error or address error Delimiter chara...

Page 71: ...g 2015 71 Notes 1 Address mapping refers to Sec 5 2 2 Short code for the baud rates 300 1 600 2 1200 3 2400 4 4800 5 9600 6 19200 7 38400 8 57600 9 115200 A the short code for the Baud Rate will be sh...

Page 72: ...acter Response valid command AA data bit chk CrLf invalid command AA chk CrLf no response syntax error communication error or address error Delimiter character indicating a valid command Delimiter cha...

Page 73: ...a bit values I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 COM1 7 8 7 8 7 8 7 8 7 8 7 8 COM2 7 8 7 8 7 8 7 8 7 8 7 8 COM3 N A 7 8 7 8 7 8 7 8 7 8 COM4 N A N A N A 7 8 7 8 7 8 COM5 N A N A N A N A 7 8 7 8...

Page 74: ...um is disabled no chk CrLf End Character Response valid command AA parity bit chk CrLf invalid command AA chk CrLf no response syntax error communication error or address error Delimiter character ind...

Page 75: ...S 232 N E O N E O N E O N E O N E O N E O COM2 RS 485 N E O N E O N E O N E O N E O N E O COM3 RS 232 N A N E O N E O N E O N E O N E O COM4 RS 232 N A N A N A N E O N E O N E O COM5 RS 232 N A N A N...

Page 76: ...8 chk 2 character checksum If the checksum is disabled no chk CrLf End Character Response valid command AA stop bit chk CrLf invalid command AA chk CrLf no response syntax error communication error or...

Page 77: ...2 1 or 2 COM5 RS 232 N A N A N A N A 1 or 2 1 or 2 COM6 RS 232 N A N A N A N A N A 1 or 2 COM7 RS 232 N A N A N A N A N A 1 or 2 COM8 RS 232 N A N A N A N A N A 1 or 2 3 COM3 of the I 7522A module is...

Page 78: ...response syntax error communication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX format...

Page 79: ...or Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX format ID ID string Maximum number of characters 50 chk 2 chara...

Page 80: ...ommand AA chk CrLf no response syntax error communication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module...

Page 81: ...cation error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX format delimiter the default delimit...

Page 82: ...7 8 chk 2 character checksum If the checksum is disabled no chk CrLf End Character Response The response received will depend on the device used Example Assume the AA address value of the I 7523 modu...

Page 83: ...lid command AA chk CrLf no response syntax error communication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character mo...

Page 84: ...0x0D 0x0A CR LF 2 CrLf 0x0A LF 3 CrLf 0x0A 0x0D LF CR 4 No end character chk 2 character checksum If the checksum is disabled no chk CrLf End Character Response valid command AA CrLfmode chk CrLf inv...

Page 85: ...23 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 85 command 03T1 CrLf response 033 CrLf Notes 1 Address mapping refers to Sec 5 2 2 The default CrLfmode 4 ie the default CrLf NONE for all port The end c...

Page 86: ...and Delimiter character indicating an invalid command AA 2 character module address in HEX format chk 2 character checksum If the checksum is disabled no chk CrLf End Character Example Assume the AA a...

Page 87: ...g a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX format chk 2 character checksum If the checksum is disabled no chk CrLf End Character Example A...

Page 88: ...ation error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX format S 0 DI Low S 1 DI High DI floa...

Page 89: ...sum is disabled no chk CrLf End Character Response valid command AAS chk CrLf invalid command AA chk CrLf no response syntax error communication error or address error Delimiter character indicating a...

Page 90: ...Ver2 5 Aug 2015 90 I 7522A Yes Yes Yes Yes Yes I 7523 No No No No No I 7524 Yes No No No No I 7527 Yes No No No No Note If the host fails the AAZNY command will be ignored And the response string will...

Page 91: ...Lf command 014 CrLf response 0113 CrLf command 014 CrLf response 0111 CrLf What is synchronized sampling The host computer can only send one command string at a time If there are two modules the host...

Page 92: ...unication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX format S 1 first reading S 0 not...

Page 93: ...hen the commands from module 2 in response so there is a time delay between the two commands The synchronized sampling command is designed for all input modules When the synchronized sampling command...

Page 94: ...o FF chk 2 character checksum If the checksum is disabled no chk CrLf End Character Response valid command AAS chk CrLf invalid command AA chk CrLf no response syntax error communication error or addr...

Page 95: ...once and will find that S 1 Then the user should read the module continually and find that S 0 If S is changed to 1 this module has been reset by module hardware watchdog circuit at least once And all...

Page 96: ...response syntax error communication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX format...

Page 97: ...lid command AA chk CrLf no response syntax error communication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character HE...

Page 98: ...cating an invalid command AA 2 character module address in HEX format 40 type code of module B short code for the Baud Rate Refer to Sec 5 3 2 for more details D data bit Refer to Sec 5 3 3 for more d...

Page 99: ...s command to tell all modules that the Host is OK The host watchdog timer is reset and restarted Syntax chk CrLf Delimiter character chk 2 character checksum If the checksum is disabled no chk CrLf En...

Page 100: ...rror communication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX format SS 2 character st...

Page 101: ...CrLf End Character Response valid command AA chk CrLf invalid command AA chk CrLf no response syntax error communication error or address error Delimiter character indicating a valid command Delimiter...

Page 102: ...og reset All DO values return to their initial start values No change in module status Accepts host DO command to change the DO state 2 Host software watchdog failure All DO values return to their sav...

Page 103: ...F chk 2 character checksum If the checksum is disabled no chk CrLf End Character Response valid command AASTT chk CrLf invalid command AA chk CrLf no response syntax error communication error or addre...

Page 104: ...eset All DO values return to their initial start values No change in module status Accepts a host DO command to change the DO state 2 Host software watchdog failure All DO values return to their initi...

Page 105: ...er timer value in HEX format The valid range is from 00 to FF Units 0 1sec chk 2 character checksum If the checksum is disabled no chk CrLf End Character Response valid command AASTT chk CrLf invalid...

Page 106: ...sing the AA1 command see sec 5 3 23 Therefore an AA1 command must be sent before any new output commands are sent to return all output values to their desired states Syntax AA4P chk CrLf reads the pow...

Page 107: ...s is cleared using the AA1 command see sec3 23 Therefore an AA1 command must be sent before any new output command are sent to return all output values to their desired states Syntax AA5P chk CrLf set...

Page 108: ...disabling the buffer the controller will wait for X seconds timeout1 refer to Sec 5 3 33 for a response from the RS 232 device The response will then be transfered to COM2 If no message is received th...

Page 109: ...rt ring buffer First mode Read all data at one time a Assume barcode sends data three times First is 789 CR second is qwe CR three is GHJ CR CR is 0x0D b The CrLf mode of Com1 is 4 Refer to Sec 5 3 12...

Page 110: ...ter checksum If the checksum is disabled no chk CrLf End Character Response valid command AA chk CrLf invalid command AA chk CrLf no response syntax error communication error or address error Delimite...

Page 111: ...I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 111 Note If the host fails the AAL command will be ignored and the response string will be In normal situations the response string will be AA 24 25...

Page 112: ...Lf no response syntax error communication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA 2 character module address in HEX f...

Page 113: ...o chk CrLf End Character Response valid command AA timeout value chk CrLf invalid command AA chk CrLf no response buffer is empty syntax error communication error address error Delimiter character ind...

Page 114: ...esponse data received will be send to the command port RS 485 after the I 752N modules receive the END character However if the timeout1 period elapsed and the I 752N modules still haven t received th...

Page 115: ...cksum If the checksum is disabled no chk CrLf End Character Response valid command AA trigger level chk CrLf invalid command AA chk CrLf no response syntax error communication error or address error D...

Page 116: ...disabled no chk CrLf End Character Response AA valid command AAbbcc chk CrLf invalid command chk CrLf no response syntax error communication error or address error Delimiter character indicating a va...

Page 117: ...f Assume the AA address value of the I 7521 module is 01 command 017 response CrLf Note If the host fails the AAh hh command will be ignored and the response string will be In normal situations the re...

Page 118: ...he checksum is disabled no chk CrLf End Character Response valid command chk CrLf invalid command chk CrLf no response syntax error communication error or address error Delimiter character indicating...

Page 119: ...rLf End Character Response valid command chk CrLf invalid command chk CrLf no response syntax error communication error or address error Delimiter character indicating a valid command Delimiter charac...

Page 120: ...A V chk CrLf invalid command chk CrLf No response syntax error communication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid command AA...

Page 121: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 121 I 7521 device Command 01U Cr Data ABCD Cr Response 01ABCD Cr Example 2 AAU...

Page 122: ...is disabled no chk CrLf End Character Response valid command AA V chk CrLf invalid command chk CrLf No response syntax error communication error or address error Delimiter character indicating a vali...

Page 123: ...to RS 485 network The RS 485 network is half duplex 3 The command can cooperate with the command AAEV Assume the AA address value of the I 7523 module is 01 Set COM1 01E1 Enable the mode of the prefix...

Page 124: ...d command AA chk CrLf invalid command chk CrLf No response syntax error communication error or address error Delimiter character indicating a valid command Delimiter character indicating an invalid co...

Page 125: ...o stop bits so they can be linked to the HP34401A The I 7522 module can be linked to a single HP34401A The I 7523 module can be linked to two HP34401As Please refer to Section 6 1 2 6 1 6 for more inf...

Page 126: ...HP34401A to send the results back to the RS 232 HOST The demo program hp34401a c is designed to allow a Host PC to be connected to an HP34401A Refer to the companion CD for the source code of the hp34...

Page 127: ...a remote HP34401A on an RS 485 network The I 7520 module is used to convert the RS 232 signal from PC to an RS 485 signal The I 7522 module is used as an Addressable RS 232 converter for the HP34401A...

Page 128: ...the hp22_1 c file The key features of hp22_1 c are as follows The RTS3 pin of COM3 port must first be set as active HIGH to enable the HP34401A A flow chart illustrating the functionality of the hp22...

Page 129: ...the same address range as its corresponding I 7522 module which allows each HP34401A to have a unique address in this configuration I 7520 I 7522 RS 232 RS 485 Host PC HP 34401A RS 232 2 HP 34401A RS...

Page 130: ...5h HP NO HP34401A Address 2 02h 4 04h 6 06h A flow chart illustrating the functionality of the hp22_m c file is as follows Set the multimeters to remote contr ol mode Request multimeter command Send t...

Page 131: ...20 module is used to convert the RS 232 signal from to PC to an RS 485 signal The I 7523 module is used as an Addressable RS 232 converter for the HP34401A since there is no address setting on theHP34...

Page 132: ...Even Even Data 8 default 7 7 Stop bit 1 default 2 2 The address mapping for this configuration is given as follows I 7523 Address Corresponding COM3 address Corresponding COM4 address 01h 02h 03h The...

Page 133: ...e address on the RS 485 network Each HP34401A shares the same address range as its corresponding I 7523 module which allows each HP34401A to have a unique address in this configuration I 7520 I 7523 R...

Page 134: ...SendCommand ComNo 03SYST REM 2 HP HPSendCommand ComNo 03 CLS 2 HP HPSendCommand ComNo 05SYST REM 3 HP HPSendCommand ComNo 05 CLS 3 HP HPSendCommand ComNo 06SYST REM 4 HP HPSendCommand ComNo 06 CLS 4 H...

Page 135: ...7520 I 7521 01 RS 232 RS 485 Host PC I 7521 02 I 7521 AA HP34401A HP34401A HP34401A Application 2 Addressable RS 232 Controller Receive Data only Type Barcode Reader1 The barcode reader can scan a ba...

Page 136: ...4H1 to enable bypass to COM2 function The barcode sends data to I 7524 I 7524 will directly bypass the data to COM2 right now For example 1 The barcode sends ABCD to COM1 2 I 7524 sends ABCD to COM2 a...

Page 137: ...e destination I 7523 module will pass the command to its local RS 232 device 1 RS 232 device 2 or RS 232 device 3 The I 7523 module then sends the response from the RS 232 device back to the Host PC C...

Page 138: ...he source code of the firmware DI DO RS 232 Device DI DO RS 232 Device I 7520 RS 485 I 7521 01 I 7521 AA RS 232 Application 6 Real time A D Monitoring and D A Control Master type Refer to Applications...

Page 139: ...alyze the 8 event counters in real time The timing diagram of the event counter will be latched until a clear command is sent by the Host PC All analysis operations are performed in the I 7521 module...

Page 140: ...for event triggering The I 7521 DN PR4 can be triggered by a photo sensor and can control the multiplex to select the expected analog signal All control operations are performed in the I 7521 module T...

Page 141: ...an HP34401A If an emergency event occurs the I 7522 module will send an emergency command to this RS485 network If multiple I 7522 modules send emergency commands to the Host PC at the same time the...

Page 142: ...e MiniOS7 image to be upgraded Allows program files to be downloaded to the Flash Memory Allows the COM port settings to be configured Location of the MiniOS7 utility The MiniOS7 utility is located in...

Page 143: ...le CD Napdos MiniOS7 utility or http ftp icpdas com tw pub cd 8000cd napdos minios7 utility For more information about 7188xw refer to the CD Napdos MiniOS7 document Lib_Manual_For_7188XABC index h tm...

Page 144: ...he PATH directory for example C DOS or C WINDOWS and then it will be able to be executed to allow files to be downloaded from any location Step 5 Execute MS DOS in Windows as follows Step 6 Type d to...

Page 145: ..._060206 7188xw c1 7188x for WIN32 version 1 32 2006 10 17 By ICPDAS Tim Tsai Begin Key Thread Current set Use COM1 115200 N 8 1 AutoRun Autodownload files None Current work directory D 752n_c_060206 o...

Page 146: ...60206 original baudrate 115200 now baudrate 115200 i7188XC dir 0 autoexec bat 11 25 2005 12 37 15 10 0000A C002 0000 C002 000A 1 752n_c exe 02 06 2006 15 19 11 39024 09870 C004 000A C98B 000A Total Fi...

Page 147: ...is for I 7524 22A 27 Step 12 Disconnect the INIT pin from the GND and power off then power on the I 7521 22 23 22A 24 27 module The MiniOS7 will automatically execute the new firmware i7188XC dir 0 au...

Page 148: ...015 148 Appendix C Firmware Version information Download a description document about firmware version information http ftp icpdas com pub cd 8000cd napdos 752n firmware_v3 folder readme txt The readm...

Reviews: