20 read polarity – ADLINK ND-6054 User Manual
Page 104
Advertising
96
• Command Set
3.20 Read Polarity
@Description
To read the polarity state of digital inputs and outputs of the module.
@Syntax
~(Addr)CR<CR>
~
Command leading code (1 character)
(Addr)
Address ID (2 character)
CR
Read Polarity (2 character)
@Response
!(Addr)(State)<CR>
or
?(Addr)<CR>
!
Command is valid.
?
Command is invalid.
(Addr)
Address ID.
(State)
Polarity state of digital inputs and outputs
00 : Polarity were not changed
01 : Change the polarity of digital inputs
02 : Change the polarity of digital outputs
03 : Change the polarity both the digital inputs
and outputs
@Example
User command:
~03CR<CR>
Response:
!0602<CR>
Read the polarity of the DI/O module which ID is 03H.
Advertising