Release note for I-752N (used by I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527)[Last modify time:2006/09/15] [A] Hardware for 752N: I-7521=7188XC (2*DI+3*DO) I-7522=7188XC+X501 (2*DI+1*DO) I-7523=7188XC+X502 (1*DI) I-7522A=7188XB+X507 (5*DI+5*DO) I-7524 =7188XB+X505 (1*DI+1*DO) I-7527 =7188XB+X506 (1*DI+1*DO) [B] [1]For 7188XC version(I-7521(D)/I-7522(D)/I-7523(D)) (a)please use "752N_C.exe".(please unpack it from "752N_C_yymmdd.ZIP") (b)For library version please use "752NCL.lib". (only suppport LARGE MODEL)(NOT FINISHED NOW) [2]For 7188XB version(I-7522A(D)/I-7524(D)/I-7527(D)) (a)please use "752N_B.exe".(please unpack it from "752N_B_yymmdd.ZIP") (b)For library version please use "752NBL.lib". (only suppport LARGE MODEL)(NOT FINISHED NOW) [C] I-752N firmware version 3.0 [1] New command: @AA @AA(DATA) #AABBDD $AAJC[timeout] $AAGC[triglevel] [2] COM1 support 7E2/7O2/7N2 [3] COM1/2 use DMA to receive data. [4] 5 Digits LED will show the com port setting one by one. [5] Add the limitation : Can NOT set the delimiter to "$%#@!~?>". (these characters are used by COMMAND & response.) [D] [10/08/2005] I-752N firmware version 3.01 is released [1] Added: New command: $AAL[external DO](only for I-7522A) $AAR(only for I-7522A) [2] Fixed: "$AAZNV" for I-7522A/I-7524/I-7527. [3] Fixed: "$AAL[external DO]" for I-7522A. [4] Fixed: "#**" and "~**" for I-7521/I-7522/I-7523/I-7522A/I-7524/I-7527. [5] Fixed: "~AA5P/S" for I-7522A/I-7524/I-7527,Supporting I-7521/I-7522/I-7523 formerly. [6] Fixed: the part of DI of "$AAYN","@AA","#**" for I-7521/I-7522/I-7523. [7] Fixed: "@AA[Do]","#AABBDD" for I-7522/I-7524/I-7527. [8] Added: Detect if the command has command END character: 'CR','LF+CR','LF','CR+LF' under crlfmode 4 in the RS-485 port, and respones will automatically add command END character: 'CR','LF+CR','LF','CR+LF'. [9] Added: 5 Digits LED can show crlf mode(RS-485 port) [E] [7/12/2007] I-752N firmware version 3.05 is released [1] Added: New command:(Prefixes address byte on the response) $AAEV [2] Fixed: "$AATN[CrLfmode]" for I-7521/I-7522/I-7523/I-7522A/I-7524/I-7527. [3] Fixed: WatchDog operation mechanism. [F] [9/11/2015] I-752N firmware version 3.08 is released [1] Added: New command: $AAHV. Bypass data to COM2 directly. [2] Added: New command: $AAIV. Restore to factory default setting. [G] default setting RS-485 port(the command port): baud rate=9600 data format=N,8,1 crlf mode=4 (no command END character) trigger level =1 (can not be changed) timeout=0 (auto setting, depend on baud rate)(only used when crlf mode=4) RS-232 port: baud rate=9600 data format=N,8,1 crlf mode=4 (no command END character) trigger level = COM1:1 (can not be changed),COM3~COM8:8(can be changed with command "$AAGC[triglevel]") timeout1=0 (use default setting = 100 ms) timeout2=0 (auto setting, depend on baud rate) [H] Something about timeout setting RS-485: [A] Only valid when crlf mode=4 is used. [B] When crlf mode is set to 4, that is no command END character, the I-752n modules must wait for a specific time period without receiving any further data in order to determine the end of the command. RS-232: [A] When data is sent from the command port(RS-485) is required to be passed to the RS-232 port, the I-752N modules will send the data to the RS-232 port and wait the response from the RS-232 port. (a) If no response has been received before the "timeout1" period has elapsed, then the modules will stop waiting.(If the RS-232 port is not in wait mode and the I-752N modules receive data from that port, the data will be sent to the buffer of that port. The data can then be read using the "$AAU" command.) (b) If any data is received before the timeout1 period has elapsed, (1) If crlf mode=0~3, any response data received will be sent 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 the END character, and the "timeout2" period has elapsed without receiving any further data, then the I-752n modules will send the received data to the COMMAND port. (2) If crlf mode=4, the I-752n modules will wait for "timeout2" to elapsed without receiving any more data, then will send the received dats to the COMMAND port. [B] "timeout1", begins when the I-752n modules start to send the bypass data to the RS-232 port, so the time taken to send the bypass data must also be considered. [C] For "timeout2" begins at last time received a data. The user must consider the buffer trigger level setting of the UART.(COM1 with only 1 byte buffer, COM3 or later using 16c550 with 16 byte FIFO, the default trigger level is set to 8. The trigger level can be set using the "$AAG1N" command, N can be either "1","4","8" or "14". -- Chinese BIG5 ----------------------------------------------------------- [A] I-752N 硬體 I-752N 系列共有兩種版本,硬體使用 7188XC 的 I-7521/I-7522/I-7523 以及使用 7188XB 的 I-7522A/I-7524/I-7527。 I-7521=7188XC (2*DI+3*DO) I-7522=7188XC+X501 (2*DI+1*DO) I-7523=7188XC+X502 (1*DI) I-7522A=7188XB+X507 (5*DI+5*DO) I-7524 =7188XB+X505 (1*DI+1*DO) I-7527 =7188XB+X506 (1*DI+1*DO) [B] 7188XC 系列的執行檔為 "752n_c.exe",請由 "752N_C_yymmdd.ZIP" 解壓縮。 7188XB 系列的執行檔為 "752n_b.exe",請由 "752N_B_yymmdd.ZIP" 解壓縮。 [C] I-752N 韌體 (版本3.0) (1)新增命令: @AA @AA(DATA) #AABBDD $AAJC[timeout] $AAGC[triglevel] (2)COM1 support 7E2/7O2/7N2 (3)加上 COM1/2 使用 DMA 接收 DATA。 (4)加上 LED5 輪流顯示每一個 COM PORT的設定。 (5)加上 Delimeter 不可以設定成 "$%#@!~?>"的限制。(原先只有不能設定成 '$') (6)提供 LIB 版本給 USER 自行開發具有附加功能的程式。(類似 7188E 系列的 x-server) (目前(09/09/2003)進行中,還沒完成。) [D] [10/08/2005] I-752N 韌體 (版本3.01) (1)新增命令: $AAL[external DO](only for I-7522A) $AAR(only for I-7522A) (2)修正 "$AAZNV" (I-7522A/I-7524/I-7527). (3)修正 "$AAL[external DO]" (I-7522A). (4)修正 "#**" and "~**" (I-7521/I-7522/I-7523/I-7522A/I-7524/I-7527). (5)修正 "~AA5P/S" (I-7522A/I-7524/I-7527),之前只支援I-7521/I-7522/I-7523. (6)修正 "$AAYN","@AA","#**" 讀取DI的部分(I-7521/I-7522/I-7523). (7)修正 "@AA[Do]","#AABBDD" (I-7522/I-7524/I-7527) (8)加上 RS485 port在crlfmode=4下,自動偵測command是否有結束字尾:'CR','LF+CR','LF','CR+LF', respones 自動加上對應結束字尾: 'CR','LF+CR','LF','CR+LF'. (9)加上 LED5 顯示 RS-485 port 的 crlf mode [E] [7/12/2007] I-752N 韌體 (版本3.05) (1)新增命令:(在回應的前面加上位址) $AAEV (2)修正"$AATN[CrLfmode]" for I-7521/I-7522/I-7523/I-7522A/I-7524/I-7527. (3)修正WatchDog operation mechanism. [F] [9/11/2015] I-752N 韌體 (版本3.08) [1] 新增命令: $AAHV. 將COM1/3/4/5/6/7/8 收到的資料,直接傳送到COM2. [2] 新增命令: $AAIV. 恢復到出廠預設值. [G].出廠預設值 RS-485: baud rate=9600 data format=N,8,1 crlf mode=4 (就是沒有命令結束字元) trigger level =1 (無法更改) timeout=0 (也就是依 baud rate 設定變動)(當 crlf mode=4 時使用) RS-232: baud rate=9600 data format=N,8,1 crlf mode=4 (就是沒有命令結束字元) trigger level = COM1:1 (無法更改),COM3~COM8:8(可以用命令更改) timeout1=0 (也就是用預設值 100 ms) timeout2=0 (也就是依 baud rate 設定變動) [H].有關 timeout 設定說明 RS-485: [A]當 crlf mode=4 時使用。 [B]crlf mode=4 也就是說沒有命令結束字元,而是等一段時間沒收到命令來當做命令 已經送完,然後開始處理命令。所以在這個模式下應該用程式一次送出命令,如果 不是,例如一個字一個字敲進去,將不會得到回應。 RS-232: [A]當有 DATA 從 RS-485 送過來要 PASS 給 RS-232 PORT 時,系統會把 DATA 由 RS-232 送出,並且等待 RS-232 PORT 回應, (a)如果在 timeout 1 時間內都沒有回應,就停止等待。(不是等待中的 232 PORT 有 DATA 進來時,會被放到該 PORT 的 BUFFER 裡頭,可以用命令 "$AAU" 從 BUFFER 裡頭讀取一筆 DATA。) (b)如果在 timeout 1 時間內有收到回應, (1) 有設定結束字元時(crlf mode=0~3),在收到回應字元時,會把回應 訊息從 RS-485 送出。如果一直收不到結束字元,則在 timeout 1 時間之後,而且連續 timeout 2 時間沒收到 DATA 之後,把已經收 到的回應訊息由 RS-485 送出。 (2) 沒有結束字元時(crlf mode=4),就以 timeout 2 設定時間沒再收到 DATA 表示回應已經結束。就把收到的回應訊息由 RS-485 送出。 [B]對 timeout 1 判斷的時間起點是[開使從 RS-232 PORT 送出 DATA 的時間]。 所以設定時需要把送給 RS-232 PORT 的 DATA 需要多少時間傳送也加進來。 [C]對 timeout 2 判斷的時間起點是從[收到上一個字元]開始。 需要考慮的是 UART 提供的 BUFFER 的 trigger level。(COM1 只有 1 BYTE, COM3 以上用的 UART 是 16550,有 16 BYTES FIFO,預設的 trigger level 是 8. 可以用命令 "$AAG1N" 來設定。N 可以是 "1","4","8","14") -- END OF BIG5 ---------------------------------------------------