
/*
///////release note:7522odm6.exe
/////// Sep. 13 2000

keyword:
互傳
bypass
RS 232 port
定址
address
addressable
converter

1.本7522 controller由COM1接收命令,再透過COM3傳送至連於COM3上之RS-232設備,反接也可以.但controller的反應會稍微慢一點點
2.本7522不支援ring buffer
3.command及response不得超過251個字元
4.透過COM2(RS-485)下達$AAR命令可重置command-response配對之設定.
5.controller回應模式有三種:com1,com3及485
6.任一232 port收到為該port所認可的命令格式時,controller立即刻將該232 port設為命令端,並bypass命令.另一個232port即為接受端.
7.命令端com會判斷是否要將命令pass給接受端com
8.接受端com所收到的字串,若不是該port所認可的命令格式,則會根據當時之回應模式,將所收到的字串附加上位址,再傳至另一個com port或是com2(RS485)

1.This controller bypass command from COM1 to COM3. COM3 bypasses the response to COM1. The response contains COM3 address. and vice versa.
2.This 7522 controller doesn't support ring buffer of 232 port.
3.Each command or response characters can't exceed 251 characters.
4.$AAR (via COM2: RS-485) can reset the command-response pair of two RS232 port(COM1,COM3).
5.There are 3 response mode:com1,com3 and 485.
6.Whichever 232 port recesives the string which is a vaild command for that port, right away the controller sets that port as a command-port, the other 232 port as a recesive- port, at the same time, bypass this string.
7.The command-port will determine if the command will be bepassed or not.
8.If the string which is recesived by recesive-port is not a valid command for that port, the controller will bypass the string to the other command 232 port or COM2 according to the response mode. The recesive-port address will be added if the string is going to pass to the command-port.