EasyManua.ls Logo

Advantech ADAM-6256 - Analog Input Command Set

Advantech ADAM-6256
192 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
151 ADAM-6200 User Manual
Appendix B ADAM-6200 ASCII Commands
B.1.2 Analog Input Command Set
Function Description Command Example
Read analog
input from Chan-
nel N
Return the input value
from the specified ana-
log input channel
Cmd: #aan(cr)
Ret:>+nnnn.nnn(cr)
or >–nnnn.nnn(cr)
Send: #010(cr)
Receive:
>+0000.000(cr)
Read analog
input from all
channels
Returns the input data
from all analog input
channels in a specified
module.
Cmd: #aa(cr)
Ret:>(data) (data)
(data) (data) (data)
(data) (data) (data)(cr)
Where (data) is
+nnnn.nnn
or –nnnn.nnn
Send: #010(cr)
Receive:
>+0010.000+0010.000
+0010.000+0010.000+
0010.000+0010.000+0
010.000+0010.000(cr)
Auto Calibration
Calibrate the analog
input range of module
Cmd: $aa1(cr)
Ret:!aa(cr)
Send: $011(cr)
Receive: !01(cr)
Read channel
Enable/Disable
Status
Asks a specified module
to return the Enable/Dis-
able status of all analog
input channels
Cmd: $aa6(cr)
Ret:!aamm(cr)
Send: $016(cr)
Receive: !01FF(cr)
Set channel
Enable/Disable
Status
Set Enable/Disable sta-
tus for analog input chan-
nels
Cmd: $aa5mm(cr)
Ret:!aa(cr)
Send: $015FF(cr)
Receive: !01(cr)
Read all Max.
Data
Read the maximum data
from all analog input
channels
Cmd: #aaMH(cr)
Ret:> (data) (data)
(data) (data) (data)
(data) (data) (data)(cr)
Where (data) is
+nnnn.nnn
or –nnnn.nnn
Send: #01MH(cr)
Receive:
>+0010.000+0010.000
+0010.000+0010.000+
0010.000+0010.000+0
010.000+0010.000(cr)
Read single Max.
Data
Read the maximum date
from a specified analog
input channel
Cmd: #aaMHn(cr)
Ret:> (data) (cr)
Where (data) is
+nnnn.nnn
or –nnnn.nnn
Send: #01MH1(cr)
Receive:
>+0010.000(cr)
Read all Min.
Data
Read the minimum data
from all analog input
channels
Cmd: #aaML(cr)
Ret:> (data) (data)
(data) (data) (data)
(data) (data) (data)(cr)
Where (data) is
+nnnn.nnn
or –nnnn.nnn
Send: #01ML(cr)
Receive:
>+0000.000+0000.000
+0000.000+0000.000+
0000.000+0000.000+0
000.000+0000.000(cr)
Read single Min.
Data
Read the minimum data
from a specified analog
input channel
Cmd: #aaMLn(cr)
Ret:> (data) (cr)
Send: #01ML3(cr)
Receive:
>+0000.000(cr)
Read Analog
input range code
Return the input range
code from the specific
analog input channel
Cmd: $aaBnn(cr)(cr)
Ret:> aa(Code) (cr)
Send: $01B01(cr)
Receive: >010182(cr)

Table of Contents

Related product manuals