Example:
Send command ”#01CS”, Save DI0-DI7 counters value to EEPROM.
Response:”!01”.
Then after power fail or reset
Send command:”#010”……..Read DI0 counter value.
Response:”!0100187”………..Last time save value is “187”.
8-9.Read digital input latched
Command
#IDLS(CHK)(cr)
Syntax
Description
$
First leading code
ID
Address of setting module 00~FF(HEX)
L
Read digital input latch
S
S=0 Latch logic 0
S=1 No use
CHK
Checksum
(cr)
Carriage return
Response
!IDA
B
CD(CHK)
(cr)
ACD:No use
B
:DI0~DI7 latch status
?ID(CHK)(cr)
Command Invalid
Example:
Send command:”$01L0”…….Read digital input logic 0.
Response:”!010200 ”……… DI1 have been latched.
*
Digital input latch
: User key in a digital signal to the module and want to read the response of
key stoke. However the user will lost the stoke information because the key input is pulse digital
input. If user read by the command “$ID6” in time A and time B, the response is that no key
25
Содержание TRP-C29U
Страница 3: ...1 4 Block Diagram...
Страница 5: ...2 2 Wire Connection 3 USB to serial Driver Install...
Страница 50: ...If you don t know the module s ID may select Scan to find the module s setting 50 Figure 2...
Страница 52: ...12 Application 52...