Download Print this page

Trycom Technology TRP-C29U User Manual page 25

8-channel isolated digital input and 8-channel isolated digital output(o.c) usb serial interface module, support ascii and modbus protocol.

Advertisement

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
ID
Description
L
S
CHK
(cr)
Response
!IDABCD(CHK)
(cr)
?ID(CHK)(cr)
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
First leading code
Address of setting module 00~FF(HEX)
Read digital input latch
S=0 Latch logic 0
S=1 No use
Checksum
Carriage return
ACD:No use B:DI0~DI7 latch status
Command Invalid
25

Advertisement

loading
Need help?

Need help?

Do you have a question about the TRP-C29U and is the answer not in the manual?