DOP – Digital Output Polarity
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=[value]
|
[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
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