Download Serial Communications Protocol User Manual
Transcript
4 Advanced commands 4.9 Get reset state N.B. This command can only be used on SM140 motors and on SM137 motors from firmware version 116 of revision C on. This command reads the motor’s reset state. The motor returns one of the values shown in the following table: NOAZZ (0x0000): the motor has not been reset AZZMAN (0x0001): the motor has been manually reset AZZAUTO (0x0003): the motor has been automatically reset SEARCHINGMICRO (0x0002): the motor is performing an automatic reset and is currently seeking the reset microswitch LEAVINGMICRO (0x0004): the motor is performing an automatic reset and is currently leaving the reset microswitch SEARCHINGTACCA (0x0006): the motor is performing an automatic reset and is currently seeking the encoder’s zero notch Byte Command Response 01 STX (0x02) STX (0x02) 02 Node Node 03 0x08 0x0 04 CmdGetStatAzz (0x64) CmdGetStatAzz (0x64) 05 0x00 0x00 06 0x00 High part of reset state 07 0x00 Low part of reset state 08 CRC CRC 09 ETX (0x03) ETX (0x03) Status Bit Conditions The command is effective under all conditions. 24 CNI Engineering comandi_avanzati-en.fm (14-05-07)