ASCII & REST Examples
ASCII
Command Response Description
$AAM1 !AA(Data) Read device location
@AA6 >(Data) Read Digital I/O Status
~AAO(Name) !AA Set Device Name
Terminal
@01
>00FF
REST
Request REST Verb Response
http://bb400-xxxx:9000/io GET {
"inputs": [1, 1, 1, 1, 1, 1, 1, 1],
"outputs": [0, 0, 0, 0, 0, 0, 0, 0]
}
http://bb400-xxxx:9000/io/inputs GET [1, 1, 1, 1, 1, 1, 1, 1]
http://bb400-xxxx:9000/io/inputs/0 GET 1
http://bb400-xxxx:9000/io/outputs GET [0, 0, 0, 0, 0, 0, 0, 0]
http://bb400-xxxx:9000/io/outputs
body: [1, 1, 1, 1, 0, 0, 0, 0]
POST header: 200 OK
http://bb400-xxxx:9000/io/outputs GET [1, 1, 1, 1, 0, 0, 0, 0]