Analog Input Command Set - Advantech ADAM-6217 User Manual

Adam-6200 series intelligent ethernet i/o module
Table of Contents

Advertisement

B.1.2

Analog Input Command Set

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-6224Adam-6260Adam-6250Adam-6266Adam-6251Adam-6256

Table of Contents