ADLINK ND-6067 User Manual
Page 243
241
6.8.6 Read Polarity
@Description
To read the polarity state of digital inputs and outputs of the module.
@Syntax
~(Addr)CR
~
Command leading code (1 character)
(Addr)
Address ID (2 character)
CR
Read Polarity (2 character)
@Response
!(Addr)(State)
?(Addr)
!
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
Response:
!0602
Read the polarity of the DI/O module which ID is 03H.
(605x,606x)