DIP – Digital Input Polarity
Read/write command that toggles the polarity of inputs.
Applies to: CMD-4CR, CMD-4EX-SA, PMX-4EX-SA, PMX-4ET-SA
ASCII DIP=[pol]
Syntax:
Read:
DIP
Write:
DIP=[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:
DIP * Returns value for input polarity setting
Write:
DIP=1 * Set input polarity to 1.
Notes:
- To write the value to the device’s flash memory, use the STORE command.
See also:
AI, DI, DO, DOBOOT, DOP, IO, IOBOOT, IOCFG, IOP