beautypg.com

20 read polarity – ADLINK ND-6063 User Manual

Page 104

background image

96

• Command Set

3.20 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)

or

?(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.