![Trycom Technology TRP-C29U Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/trycom-technology/trp-c29u/trp-c29u_user-manual_1177632022.webp)
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
Description
#
First leading code
ID
Address of setting module 00-FF(HEX)
PP
Output command parameter:00,0A Multi-channel
:1L:Single channel (L=0~F)
DD
DD: send the data from 00~FF output
CHK
Checksum
(cr)
Carriage return
Response
>(CHK)(cr)
Command valid
!ID(CHK)(cr)
Parameter invalid (*Command data error!)
?ID(CHK)(cr)
Command Invalid
*Multi-Channel mode (Output control for one BYTE)
Example:
Send command :”#010A
2F
”…..Data=”2F”:DO8~DO0=“0010 1111”,.
Response:”>”……. Command valid.
Example:
Send command:”#0100
A8
”…..Data=”A8”:DO8~DO0=”1010 1000”
Response:”>”……. Command valid.
Example:
Send command:”#0100
0G
”…Data=“0G”…….Data error!.
Response:”!01”…….Parameter error!.
22
Содержание 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...