Doc. # 1-0003182 | |||
---|---|---|---|
Date Updated | 01-22-2004 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | ADAM-4520/ ADAM-4521 |
How to use ADAM-4520/4521? | |||
---|---|---|---|
Solution:
ADAM-4520/4521 modules don't need to control data in RS-485 mode, the modules will control the data flow direction automatically. You don't need any special software, simply treat it as a transparent RS-232 port.
ADAM-4521 is an addressable converter, i.e. it will be enabled only when it is addressed. The address and mode of ADAM-4521 can be configured by software commands. For RS-232 device not addressable, ADAM-4521 can be used as the interface.
Host PC send commands to the specific ADAM-4521 according to the address, ADAM-4521 then remove the address message and send the rest of data to the RS-232 device connected to it. ADAM-4521 also can be "opened" to work as ADAM-4520, i.e. it can work both at addressable mode or none-addressable mode.
|
Why ADAM-4521 cannot receive a 60 bytes command, only 30 or 24 bytes being received(1200,8,1,N)? | |||
---|---|---|---|
Solution:
The default setting of ADAM-4521' gate time is 2.56 sec. In this configuration, the gate time is too short. The below are some commands which are not in manual for gate time read/write and RTS/CTS control/status :
Command Description
$AA3DDD(cr) Write/Set response gate time.
AA=ADAM's Address
DDDD=0000~FFFF(unit 10mS)
Default setting is 0100H
$AA4(cr) Read response gate time
$AA01(cr) Set RTS to 1
$AA00(cr) Set RTS to 0
$AA1(cr) If response !AA1(cr) CTS is 1
If response !AA0(cr) CTS is 0
|