Download Print this page

Trycom Technology TRP-C29U User Manual page 22

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:"%000340054"
New ID="03",Bard-Rate="4800",Checksum="Enable",Response:"!03".
Example:
Send command:"%0101400601"
New ID="01",Bard-Rate="9600",Checksum="Disable", Counter mode=hex,Response:"!01"
Then send "#010"......read counter value
Response: !01001B"".....counter value=1B(HEX)
8-4. Digital output data
Command
#IDPPDD(CHK)(cr)
#
Syntax
ID
Description
PP
DD
CHK
(cr)
Response
>(CHK)(cr)
!ID(CHK)(cr)
?ID(CHK)(cr)
*Multi-Channel mode (Output control for one BYTE)
Example:
Send command :"#010A2F".....Data="2F":DO8~DO0="0010 1111",.
Response:">"....... Command valid.
Example:
Send command:"#0100A8".....Data="A8":DO8~DO0="1010 1000"
Response:">"....... Command valid.
Example:
Send command:"#01000G"...Data="0G".......Data error!.
Response:"!01".......Parameter error!.
First leading code
Address of setting module 00-FF(HEX)
Output command parameter:00,0A Multi-channel
:1L:Single channel (L=0~F)
DD: send the data from 00~FF output
Checksum
Carriage return
Command valid
Parameter invalid (*Command data error!)
Command Invalid
22

Advertisement

loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel