DIP – Digital Input Polarity
Command gets/sets the polarity [value] of all digital input ports..
Access: Read/Write
Category: I/O
Applies to: 2CR, 2ED, 2EX, 4CR, 4ED, 4EX, 8CR
ASCII DIP=[value]
Syntax
Read
DIP
Write
DIP=[value]
|
Where: [value] 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
Commander Manual
2.1.3.2.1 High-Speed Digital Inputs