I/O Setup
The Commander core has a number of high-speed inputs and outputs that have dedicated functions. These include position latching inputs and synchronization outputs. If these functions are not needed for your application, they can also be used as general-purpose inputs or outputs.
The Commander core has a number of general-purpose inputs and outputs: configurable digital I/O, analog inputs and PWM outputs. There is a built-in function that will allow a joystick connected to the analog input to be used for control of the X and Y axes.
For more information on the settings required to set up the inputs and outputs, see the following sections in the Commander manual:
- High-speed Inputs/Outputs 2.1.3.2 High-speed Inputs/Outputs
- High-Speed Inputs 2.1.3.2.1 High-Speed Digital Inputs
- Position Latching Inputs
- High-Speed Outputs 2.1.3.2.2 High-Speed Digital Output
- Synchronization Outputs
- General-purpose input/output 2.1.3.3 General-purpose input/output
- Configurable Digital I/O 2.1.3.3.1 Configurable Digital I/O
- Analog Input/output 2.1.3.3.2 Analog Input/output
- Pulse-width modulated Outputs 2.1.3.3.3 Pulse-width modulated Outputs
A related function is Manual Pulse Generator.
Command |
Description |
Available with: |
Link |
|||||
ASCII |
Standalone |
CMD-4CR |
PMX-4EX |
PMX-4ET |
PMX-2ED |
PMX-2EX |
||
AI |
AI |
Analog Input |
● |
● |
|
● |
● |
|
DI |
DI |
Digital input status |
● |
● |
● |
● |
● |
|
DIP |
-- |
Digital input polarity setting |
● |
● |
● |
|
|
|
DO |
DO |
Digital output status |
● |
● |
● |
● |
● |
|
DOBOOT |
-- |
Digital output boot-up state |
● |
● |
● |
● |
● |
|
DOP |
DOP |
Digital output polarity setting |
● |
● |
● |
|
|
|
IO |
IO |
General-purpose I/O status |
● |
|
|
|
|
|
IOBOOT |
IOBOOT |
General-purpose I/O boot-up state |
● |
|
|
|
|
|
IOCFG |
IOCFG |
General-purpose I/O settings at boot-up |
● |
|
|
|
|
|
IOP |
IOP |
General-purpose I/O logic settings |
● |
|
|
|
|
|
LT |
LT |
Enable/disable for latch function |
● |
● |
|
|
|
|
LTE |
LTE |
Previously latched encoder position |
● |
|
|
|
|
|
LT[axis]E |
|
● |
|
|
|
|||
LTP |
LTP |
Previously latched step position value |
● |
|
|
|
|
|
LT[axis]P |
|
● |
|
|
|
|||
LTS |
LTS |
Current latch status |
● |
|
|
|
|
|
LT[axis]S |
|
● |
|
|
|
|||
PWM |
PWM |
Pulse width modulation duty cycle |
● |
|
|
|
|
|
STORE |
-- |
Save system configuration settings to flash memory |
● |
● |
● |
● |
● |
|
SYNC |
SYNCFG |
Comparison configurations for synchronization |
● |
|
|
|
|
|
SYN[axis]C |
|
● |
● |
|
|
|||
SYNF |
SYNOFF |
Comparator synchronization disabled |
● |
|
|
|
|
|
SYN[axis]F |
|
● |
● |
|
|
|||
SYNMAX |
-- |
Maximum value of sync pulse |
● |
|
|
|
|
|
SYNMIN |
-- |
Minimum value of sync pulse |
● |
|
|
|
|
|
SYNO |
SYNON |
Comparator synchronization enabled |
● |
|
|
|
|
|
SYN[axis]O |
|
● |
● |
|
|
|||
SYNP |
SYNPOS |
Comparator data settings |
● |
|
|
|
|
|
SYN[axis]P |
|
● |
● |
|
|
|||
SYNS |
SYNSTAT |
Comparator status |
● |
|
|
|
|
|
SYN[axis]S |
|
● |
● |
|
|
|||
SYNWF |
|
Disable synchronization window |
● |
|
|
|
|
|
SYNWO |
|
Enable synchronization window |
● |
|
|
|
|
The black dots indicate the command is available for the listed controller family.