ADLINK ND-6067 User Manual

Page 242

Advertising
background image

240

6.8.5 Change Polarity

@Description

To change the polarity state of digital inputs and outputs of the module.

@Syntax

~(Addr)CP(State)<CR>

~

Command leading code (1 character)

(Addr)

Address ID (2 characters)

CP

Change Polarity (2 characters)

(State)

Polarity state of digital inputs and outputs (2characters)
00 : Do not change polarity
01 : Change the polarity of digital inputs
02 : Change the polarity of digital outputs
03 : Change the polarity both the digital inputs and outputs

@Response

!(Addr)<CR>

or

?(Addr)<CR>

!

Command is valid.

?

Command is invalid.

(Addr) Address

ID.

@Example

User command:

~06CP01<CR>

Response:

!06<CR>

To change the polarity of digital inputs of the DI/O module which ID is 06H.

Note : For this command ,you could define the logic level which

you want, For example, if the input connect to high level
signal ,and you want to read back the input as a “0”,then
you could change the polarity to fit your requirement .

(605x,606x)

Advertising
This manual is related to the following products: