Command code (CMD): "gsno" or 0x6F6E7367.
Request: (4 bytes)
INT32U CMD Command
Answer: (16 bytes)
INT32U CMD Command (answer)
INT8U SyncOutFlags Output synchronization flags
0x01 - SYNCOUT_ENABLED (Synchronization out pin follows the synchronization logic, if set. It governed
by SYNCOUT_STATE flag otherwise.)
0x02 - SYNCOUT_STATE (When output state is fixed by negative SYNCOUT_ENABLED flag, the pin state
is in accordance with this flag state.)
0x04 - SYNCOUT_INVERT (Low level is active, if set, and high level is active otherwise.)
0x08 - SYNCOUT_IN_STEPS (Use motor steps/encoder pulses instead of milliseconds for output pulse
generation if the flag is set.)
0x10 - SYNCOUT_ONSTART (Generate synchronization pulse when movement starts.)
0x20 - SYNCOUT_ONSTOP (Generate synchronization pulse when movement stops.)
0x40 - SYNCOUT_ONPERIOD (Generate synchronization pulse every SyncOutPeriod encoder pulses.)
INT16U SyncOutPulseSteps
This value specifies duration of output pulse. It is measured microseconds when SYNCOUT_IN_STEPS
flag is cleared or in encoder pulses or motor steps when SYNCOUT_IN_STEPS is set.
INT16U SyncOutPeriod
This value specifies number of encoder pulses or steps between two output synchronization pulses when
SYNCOUT_ONPERIOD is set.
INT32U Accuracy
This is the neighborhood around the target coordinates, which is getting hit in the target position and
the momentum generated by the stop.
INT8U uAccuracy This is the neighborhood around the target coordinates in micro steps (only used with stepper motor).
INT16U CRC Checksum
Description:
Read output synchronization settings. This function fill structure with set of output synchronization settings, modes, periods and flags,
that specify behaviour of output synchronization. All boards are supplied with standard set of these settings.
Command SEIO
result_t set_extio_settings (device_t id, const extio_settings_t* extio_settings)
Command code (CMD): "seio" or 0x6F696573.
Request: (18 bytes)