4.5.7. General purpose digital input-output¶
Output is located on BPC connector. It allows user to configure it as input or output. Logical level one is considered to be active (see Input parameters table). However it can be inverted so that logical level zero is considered active.
|Logic zero level||0 V|
|Logic one level||3.3 V|
In input mode you can get information about logical level on input (see Controller status), or initiate the following actions during transfer to active state (or during transfer to non-active state if the input is inverted):
- Perform STOP command (quick stop).
- Perform PWOF command (windings power supply switch off).
- Perform MOVR command (shift to the given distance with last used settings).
- Perform HOME command (automatic position calibration).
- Enter Alarm state (turn off H-bridges and wait reinitialization).
It does not matter how the state of the input becomes active (after changing the invert states, or when changing the voltage level). The controller uses a software debounce the input. Initiating the action takes place only when the active state of the input buttons lasted for more than 3 ms.
When you turn on or reboot the controller at the input voltage level of the input is present, which is considered to be active, the controller interprets it as a signal to trigger any of the actions.
Digital input has weak pull down to the ground.
In output mode it is possible to set active or inactive logic level on the following events:
- EXTIO_SETUP_MODE_OUT_MOVING – Active state during motor movement.
- EXTIO_SETUP_MODE_OUT_ALARM – Active state when controller is in Alarm state.
- EXTIO_SETUP_MODE_OUT_MOTOR_ON – Active state while power is supplied to the motor windings.
- EXTIO_SETUP_MODE_OUT_MOTOR_FOUND – Active state while motor is connected.
|Logic type||TTL 3.3V|
|Update frequency||1 kHz|
|Nominal current||5 mA|
126.96.36.199. Connection diagram¶
188.8.131.52.2. One-axis and two-axis systems¶
Among two box versions, only two axis system has the digital input/output. Corresponding contacts output on the HDB-26 connector.