background image

2.1    %AANNTTCCFF 

 

z

 

Description

: Set the configuration of module.  

 

z

 

Syntax

:

 

%AANNTTCCFF[chk](cr) 

% is a delimiter character 
AA=2-character HEX module address, from 00 to FF 
NN=new AA 
TT=input type code, refer to Sec. 1.9 
CC=baud rate code, refer to Sec. 1.9 
FF=status code, refer to Sec. 1.9 
[chk]=2-character checksum, if checksum disable 

Æ

 no [chk] 

(cr)=0x0D 
 

z

 

Response

: valid command   

Æ

 !AA[chk](cr) 

  

invalid 

command 

 

Æ

 ?AA[chk](cr) 

no response  

 

Æ

 syntax error or address error 

or communication error 

! is a delimiter character indicating a valid command 
? is a delimiter character indicating a invalid command 
AA=2-character HEX module address 
[chk]=2-character checksum, if checksum disable 

Æ

 no [chk] 

(cr)=0x0D 
 

z

 

Example

:

 

command: %0102530600(cr) 
response :   !02(cr) 

 

command:  %0202530600(cr) 
response :  !02(cr) 

 

address 01 is configured to a 
new address 02, 9600BPS 

Refer to 

I-7000 Bus Converter User Manual

 chapter-5 

for the following functions: 

z

 

module status unknown

(Sec. 5.1), 

change address

(Sec. 5.2) 

z

 

change baud rate

(Sec. 5.3), 

checksum enable/disable

(Sec. 5.4) 

Change to 9600BPS

I-7083/7083D/7083B/7083BD User Manual (V 1.1, Dec/2007)  ------------------  25 

Содержание I-7083

Страница 1: ...rchaser Warning ICP DAS assume no liability for damages consequent to the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by I...

Страница 2: ...1 Z0 15 1 6 2 Read Synchronous Encoder 15 1 6 3 Read Encoder Synchronous Encoder 16 1 6 4 Set the Preset Value of Encoder 17 1 6 5 Clear Encoder to 0 17 1 6 6 Set Operation Mode to CwCcw Mode 18 1 6 7...

Страница 3: ...AA5 36 2 13 AA6N 37 2 14 AADNM 38 2 15 AAF 39 2 16 AAI 40 2 17 AAM 41 2 18 AASN 42 2 19 AAZN 43 2 20 AAGN 44 2 21 AAPN DATA 45 3 OPERATION PRINCIPLE 46 3 1 INIT PIN 46 3 2 LED DISPLAY FORMAT 47 3 3 70...

Страница 4: ...vel 5V 12V 24V with external resistor zA B Z signal isolation voltage 2500V optical isolation zBuilt in XOR logic for active high or active low encoder input The I 7083B will save the counter value to...

Страница 5: ...1 1 Encoder Counting Mode There are 3 counting modes CC PD AB given as follows Note 1 0xffffffff 2 0xfffffffe I 7083 7083D 7083B 7083BD User Manual V 1 1 Dec 2007 5...

Страница 6: ...User can use XOR control bit to select the proper waveform as follows Case 1 differential input set XOR 1 Case 2 active high single ended input set XOR 0 Case3 active low single ended input set XOR 1...

Страница 7: ...3 01S2 01M0 z Step 1 check A0 B0 Z0 must be all Low M mode z Step 2 check A1 B1 Z1 must be all Low M mode z Step 3 check A2 B2 Z2 must be all Low M mode z Refer to Sec 2 18 for more information about...

Страница 8: ...1 2 Pin Assignment I 7083 7083D 7083B 7083BD User Manual V 1 1 Dec 2007 8...

Страница 9: ...se z Input Level Input 5V Logic High 3 5 5V Logic Low 0 2 0V Input 12V with external resistor 1K ohm 1 4W Logic High 5 12V Logic Low 0 2 0V Input 24V with external resistor 2K ohm 1 2W Logic High 7 24...

Страница 10: ...are designed to invert the active low signal for internal logic requirement If the value of XOR0 1 2 is the encoder value will have different errors Refer to Sec 1 1 for more information The 7083B equ...

Страница 11: ...1 5 Application Wiring 1 5 1 5V Differential Encoder 1 5 2 5V Single ended Encoder I 7083 7083D 7083B 7083BD User Manual V 1 1 Dec 2007 11...

Страница 12: ...1 5 3 12V Differential Encoder 1 5 4 12V Single ended Encoder I 7083 7083D 7083B 7083BD User Manual V 1 1 Dec 2007 12...

Страница 13: ...1 5 5 24V Differential Encoder 1 5 6 24V Single ended Encoder I 7083 7083D 7083B 7083BD User Manual V 1 1 Dec 2007 13...

Страница 14: ...1 5 7 Mix Mode Encoder I 7083 7083D 7083B 7083BD User Manual V 1 1 Dec 2007 14...

Страница 15: ...der2 z step 5 read Z2 Z1 Z0 Z2 Low Z1 Z0 High 1 6 2 Read Synchronous Encoder step Command response 1 01M 017083 2 02M 027083B 3 No Response 4 01Z0 00000000 5 01Z1 00000001 6 01Z2 00000002 7 02Z0 00000...

Страница 16: ...000C 20 01Z1 0000000C 21 01Z2 0000000C z step 2 4 all encoders are continuous counting z step 5 synchronous latch all encoders z step 6 8 read all synchronous encoders z step 9 11 all encoders are con...

Страница 17: ...alue can be changed by AAP data command And the preset value will not change when the power is turn OFF 2 For 7083B the preset value can be changed by AAP data command But the encoder value will save...

Страница 18: ...et value no update when power if turn OFF z step 4 set encoder 2 CwCcw mode XOR2 1 input signal is differential Sec 1 5 1 L2 1 encoder value will save to the preset value when power is turn OFF It is...

Страница 19: ...t value no update when power is turn OFF z step 4 set encoder 2 PulseDir mode XOR2 1 input signal is differential Sec 1 5 1 L2 1 encoder value will save to the preset value when power is turn OFF It i...

Страница 20: ...value no update when power if turn OFF z step 4 set encoder 2 A B Phase mode XOR2 1 input signal is differential Sec 1 5 1 L2 1 encoder value will save to the preset value when power is turn OFF It i...

Страница 21: ...Encoder Encoder will always counting Synchronous encoder will latch until next command is received User must read encoder synchronous encoder one by one So there is a time delay between each read oper...

Страница 22: ...latile logic so the start value of encoder is always as same as the preset value in EEPROM The L bit of 7083 is don t care 1 8 3 Encoder Counting Sequence The encoder is a 32 bit Up Down counter witho...

Страница 23: ...S 05 4800 BPS 06 9600 BPS 07 19200 BPS 08 38400 BPS 09 57600 BPS 0A 115200 BPS Configuration Code FF 2 char for all 7 6 5 4 3 2 1 0 0 checksum 0 disable 1 enable 0 Configuration Code Table TT TT Input...

Страница 24: ...A data Read OEM module name Sec 2 9 AAO name AA Set module name Sec 2 10 AA2 AATTCCFF Read configuration Sec 2 11 AA5 AAS Read reset status Sec 2 12 AA6N AA Reset to the preset value Sec 2 13 AADNM AA...

Страница 25: ...ror or communication error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address chk 2 character checksum if check...

Страница 26: ...ommand No Response no response syntax error or communication error or address error is a delimiter character indicating a valid command data 8 character data in HEX format chk 2 character checksum if...

Страница 27: ...onse z Example command 012 cr response 01530600 cr command cr response No response command 01Z0 cr response 00000030 cr command 01Z1 cr response 00000031cr command 01Z2 cr response 00000032cr Synchron...

Страница 28: ...l all modules Host is OK z Syntax chk cr is a delimiter character chk 2 character checksum if checksum disable no chk cr 0x0D z Response no response z Example command cr response No Response I 7083 70...

Страница 29: ...mmand AASS chk cr invalid command AA chk cr no response syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a i...

Страница 30: ...valid command AA chk cr invalid command AA chk cr no response syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicati...

Страница 31: ...no chk cr 0x0D z Response valid command AASTT chk cr invalid command AA chk cr no response syntax error or communication error or address error is a delimiter character indicating a valid command is...

Страница 32: ...enable TT 2 character HEX value from 00 to FF unit 0 1 second chk 2 character checksum if checksum disable no chk cr 0x0D z Response valid command AA chk cr invalid command AA chk cr no response synta...

Страница 33: ...or or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address data 4 character...

Страница 34: ...ter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address chk 2 character checksum if checksum disable no chk cr 0x0D z Example c...

Страница 35: ...012 cr response 01530600 cr command 022 cr response 02530700 cr Address 01 encoder 9600 BPS checksum disable NOTE If the user use AANNTTCCFF command to change module configuration the new configuratio...

Страница 36: ...communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address S 1 this module is bee...

Страница 37: ...tax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address chk 2 char...

Страница 38: ...esponse valid command AA chk cr invalid command AA chk cr no response syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character...

Страница 39: ...nd AA chk cr no response syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character H...

Страница 40: ...x error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address S 0 INIT pin...

Страница 41: ...syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address data 4...

Страница 42: ...is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address N 0 1 2 SS LXCC 0ZBA CC 00 01 10 11 stop UD DP AB X 0 1 XOR...

Страница 43: ...e no chk cr 0x0D z Response valid command chk data cr invalid command No Response no response syntax error or communication error or address error is a delimiter character indicating a valid command d...

Страница 44: ...nd AA data chk cr invalid command AA chk cr no response syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a i...

Страница 45: ...valid command AA data chk cr invalid command AA chk cr no response syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character in...

Страница 46: ...data bits 1 stop bit If the user disconnect the INIT _pin and GND_pin the I_7000 module will be auto configured according to the EEPROM data The user is easy to find the EEPROM configuration data in t...

Страница 47: ...tep 5 2 byte 8 byte 7 byte 6 byte 5 Step 6 2 byte4 byte 3 byte 2 byte 1 Note 1 step 1 step 2 will show encoder0 2 step 3 step 4 will show encoder1 3 step 5 step 6 will show encoder2 4 the decimal poin...

Страница 48: ...PD AB Max frequency 100K 1M Synchronous Sampling N A Read sync encoder N A AAZN Counter Frequency Programmable Encoder only 7083 D 7083B D 7083 D 7083B D Standard version 7083 7083B With LED version 7...

Отзывы: