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
Need help?
Do you have a question about the TRP-C29U and is the answer not in the manual?