11-27
11
11-5 Communication Command Description
COMMUNICATION WITH PC
(27)
@?DI <general-purpose input or memory input number>
Reads the status of a general-purpose input or memory input.
Input number : Specify one of the general-purpose inputs 0 to 15 (16 points) or
one of the memory inputs 100 to 147 (48 points).
Transmission example : @?DI 1 c/r l/f
Response example 1 : 0 c/r l/f .......................................... Input status is off.
OK c/r l/f
Response example 2 : 1 c/r l/f .......................................... Input status is on.
OK c/r l/f
(28)
@?DO <general-purpose output or memory output number>
Reads the status of a general-purpose output or memory output.
Output number : Specify one of the general-purpose outputs 0 to 12 (13 points) or
one of the memory outputs 100 to 131 (32 points).
Transmission example : @?DO 2 c/r l/f
Response example 1 : 0 c/r l/f .......................................... Output status is off.
OK c/r l/f
Response example 2 : 1 c/r l/f .......................................... Output status is on.
OK c/r l/f
(29-1) @?PRM <parameter number>
Reads the data from a specified parameter.
Parameter number : This is a number used to identify each parameter and can be from
0 to 127.
Transmission example : @?PRM48 c/r l/f .......................... Reads the data from PRM48
(parameter 48).
Response example 1 : 350 c/r l/f
OK c/r l/f
Response example 2 : c/r l/f ............................................. No data is registered in PRM1
(parameter 48).
OK c/r l/f
(29-2) @?PRM <parameter number>,<parameter number>
Reads multiple parameter data from the first parameter number to the second parameter number.
If unregistered parameters exist, they will be skipped.
Parameter number : This is a number used to identify each parameter and can be from
0 to 127.
Transmission example : @?PRM48,52 c/r l/f ..................... Reads the data from PRM48 to
PRM52 (parameters 48 to 52).
Response example : PRM48=100 c/r l/f
PRM49=3 c/r l/f
PRM50=10 c/r l/f
PRM51=100 c/r l/f
PRM52=1 c/r l/f
OK c/r l/f
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com