INT32U CMD
Command
INT16U JoyLowEnd Joystick lower end position. Range: 0..10000.
INT16U JoyCenter
Joystick center position. Range: 0..10000.
INT16U JoyHighEnd Joystick higher end position. Range: 0..10000.
INT8U
ExpFactor
Exponential nonlinearity factor.
INT8U
DeadZone
Joystick dead zone.
INT8U
JoyFlags
Joystick control flags.
0x01 - JOY_REVERSE (Joystick action is reversed. Joystick deviation to the upper values correspond to negative
speeds and vice versa.)
INT8U
Reserved
[7]
Reserved (7 bytes)
INT16U CRC
Checksum
Answer: (4 bytes)
INT32U CMD Command (answer)
Description:
Set settings of joystick. If joystick position is outside DeadZone limits from the central position a movement with speed, defined by the
joystick DeadZone edge to 100% deviation, begins. Joystick positions inside DeadZone limits correspond to zero speed (soft stop of
motion) and positions beyond Low and High limits correspond MaxSpeed [i] or -MaxSpeed [i] (see command SCTL), where i = 0 by
default and can be changed with left/right buttons (see command SCTL). If next speed in list is zero (both integer and microstep
parts), the button press is ignored. First speed in list shouldn't be zero. The DeadZone ranges are illustrated on the following picture.
The relationship between the deviation and the rate is exponential, allowing no switching speed combine high mobility and accuracy.
The following picture illustrates this:
The nonlinearity parameter is adjustable. Setting it to zero makes deviation/speed relation linear.
Command GJOY
result_t get_joystick_settings (device_t id, joystick_settings_t* joystick_settings)
Command code (CMD): "gjoy" or 0x796F6A67.
Request: (4 bytes)
INT32U CMD Command
Answer: (22 bytes)
INT32U CMD
Command (answer)
INT16U JoyLowEnd Joystick lower end position. Range: 0..10000.
INT16U JoyCenter
Joystick center position. Range: 0..10000.
INT16U JoyHighEnd Joystick higher end position. Range: 0..10000.
INT8U
ExpFactor
Exponential nonlinearity factor.
INT8U
DeadZone
Joystick dead zone.
INT8U
JoyFlags
Joystick control flags.
0x01 - JOY_REVERSE (Joystick action is reversed. Joystick deviation to the upper values correspond to negative
speeds and vice versa.)
INT8U
Reserved
[7]
Reserved (7 bytes)
INT16U CRC
Checksum
Page 232 / 345
Page 232 / 345
Summary of Contents for 8SMC5-USB
Page 30: ...Linux Page 30 345 Page 30 345 ...
Page 83: ...Connection of magnetic brake to one axis or two axis systems Page 83 345 Page 83 345 ...
Page 87: ...Scheme of buttons connection to the HDB 26 connector Page 87 345 Page 87 345 ...
Page 99: ...Page 99 345 Page 99 345 ...
Page 167: ...Vertical load capacity the maximum vertical load on the stage Page 167 345 Page 167 345 ...
Page 186: ...Click Next Click Continue anyway Page 186 345 Page 186 345 ...
Page 188: ...Page 188 345 Page 188 345 ...
Page 190: ...Page 190 345 Page 190 345 ...
Page 193: ...Page 193 345 Page 193 345 ...
Page 201: ...Select the XILab application in the Programs block Start it Page 201 345 Page 201 345 ...
Page 274: ...7 Files 1 Configuration files 2 Software Page 274 345 Page 274 345 ...
Page 331: ...Motorized Iris Diaphragms 8MID98 Motorized Iris Diaphragm Page 331 345 Page 331 345 ...
Page 338: ...8 Related products 1 Ethernet adapter Page 338 345 Page 338 345 ...
Page 339: ...8 1 Control via Ethernet 1 Overview 2 Administration Page 339 345 Page 339 345 ...