DOP – Digital Output Polarity
Command gets/sets the polarity [value] of all digital output ports.
Access: Read/Write
Category: I/O
Applies to: 2CR, 2ED, 2EX, 4CR, 4ED, 4EX, 8CR
ASCII DOP
Syntax
Read
DOP
Write
DOP=[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: DOP * Returns value for output polarity setting
Write: DOP=1 * Set output polarity to 1 (positive logic [active high])
Notes
- Output polarity can not be changed while any of the High-speed digital outputs are sent to synchronization mode on. (SYNO[axis])
- To write the value to the device’s flash memory, use the STORE command
See also
AI, DI, DIP, DO, DOBOOT, IO, IOBOOT, IOCFG, IOP
Commander Manual
2.1.3.2.2 High-Speed Digital Output