EasyManua.ls Logo

Standa 8SMC5-USB - Page 257

Standa 8SMC5-USB
345 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
result_t get_encoder_settings (device_t id, encoder_settings_t* encoder_settings)
Command code (CMD): "gens" or 0x736E6567.
Request: (4 bytes)
INT32U CMD Command
Answer: (54 bytes)
INT32U CMD Command (answer)
FLT32 MaxOperatingFrequency Max operation frequency (kHz). Data type: float.
FLT32 SupplyVoltageMin Minimum supply voltage (V). Data type: float.
FLT32 SupplyVoltageMax Maximum supply voltage (V). Data type: float.
FLT32 MaxCurrentConsumption Max current consumption (mA). Data type: float.
INT32U PPR The number of counts per revolution
INT32U EncoderSettings Encoder settings flags
0x001 - ENCSET_DIFFERENTIAL_OUTPUT (If flag is set the encoder has differential output, else
single ended output)
0x004 - ENCSET_PUSHPULL_OUTPUT (If flag is set the encoder has push-pull output, else open
drain output)
0x010 - ENCSET_INDEXCHANNEL_PRESENT (If flag is set the encoder has index channel, else
encoder hasn`t it)
0x040 - ENCSET_REVOLUTIONSENSOR_PRESENT (If flag is set the encoder has revolution sensor,
else encoder hasn`t it)
0x100 - ENCSET_REVOLUTIONSENSOR_ACTIVE_HIGH (If flag is set the revolution sensor active
state is high logic state, else active state is low logic state)
INT8U Reserved [24] Reserved (24 bytes)
INT16U CRC Checksum
Description:
Read encoder settings from EEPROM.
Command SHSI
result_t set_hallsensor_information (device_t id, const hallsensor_information_t* hallsensor_information)
Command code (CMD): "shsi" or 0x69736873.
Request: (70 bytes)
INT32U CMD Command
CHAR Manufacturer [16] Manufacturer. Max string length: 16 chars.
CHAR PartNumber [24] Series and PartNumber. Max string length: 24 chars.
INT8U Reserved [24] Reserved (24 bytes)
INT16U CRC Checksum
Answer: (4 bytes)
INT32U CMD Command (answer)
Description:
Set hall sensor information to EEPROM. Can be used by manufacturer only.
Command GHSI
result_t get_hallsensor_information (device_t id, hallsensor_information_t* hallsensor_information)
Command code (CMD): "ghsi" or 0x69736867.
Request: (4 bytes)
INT32U CMD Command
Page 257 / 345
Page 257 / 345