Read/write command that toggles the polarity of general-purpose inputs and outputs.


Applies to: CMD-4CR, CMD-4EX-SA


ASCII/Standalone                IOP

Syntax:                        

Read:

IOP                


Write:

IOP=[pol]                 

Where:        [pol] is set to 0 for negative logic (active low), 1 for positive logic (active high) 

Reply: 

Command is accepted and executed

Read:         

Returns the value set (0,1)


Write:           

OK


Command cannot be processed

       An error message is returned. See Error Codes

Example: 

Read:        

IOP                * Returns value for general purpose I/O polarity setting


Write:        

IOP=1         * Set output polarity to 1 positive logic, active high.


Notes:

  • To write the value to the device’s flash memory, use the STORE command.

See also:

I/O Setup

AI, DI, DIP, DO, DOBOOT, DOP, IO, IOBOOT, IOCFG

Commander Manual

2.1.1.1 Identification Number