Advantech ADAM-6050 18-Channel Isolated Digital I/O Modbus TCP Module ADAM-6050-BE Scheda Tecnica

Codici prodotto
ADAM-6050-BE
Pagina di 272
ADAM-6000 Series User Manual
164
Example command: $01C01(cr)
response: !0102
We can know the range code of channel 1 is 02, meaning “0~10 V”.
6.4.6 Digital Input/Output Command Set
(ADAM-6050, 6050W, 6051, 6051W, 6052, 6060, 6060W, 6066)
$aa6
Name
Read Channel Status 
Description This command requests that the specified ADAM-6000 
module return the status of its digital input channels
Syntax          $aa6(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal 
slave network address of the ADAM-6000 module. 
(Always 01)
6 is the Digital Data In command.
(cr) is the terminating character, carriage return (0Dh)
Response     !aa00(data)(data)(data)(data)(cr) if the command is valid.
?aa(cr) if an invalid operation was entered.
There is no response if the module detects a syntax error or 
communication error or if the address does not exist.
! delimiter indicating a valid command was received.
Command 
Syntax
Command 
Name
Description 
$aa6
Read 
Channels
Asks a specified input module to return the status of all 
channels 
#aabb
Write 
Digital
Output 
Writes specified values to either a single channel or all 
channels simultaneously
$aaJCFFFF
ssmm
Read DI 
Channel 
Counter 
Value
Returns the counter value from specified DI channels in 
a specified module