AUTORUN Mode

The Technosoft drives/motors have 2 startup modes, at power on: AUTORUN and slave

In the AUTO(matic) RUN(ning) mode, the drive/motor reads the first EEPROM memory location at address 0x4000 and checks if the binary code is 0x649C corresponding to the TML instruction BEGIN. If this condition is true, the TML program saved in the EEPROM memory is executed starting with the next instruction after BEGIN. If the condition is false, the drive/motor enters in the slave mode and waits to receive commands from a host via a communication channel. The AUTORUN mode, offers the possibility to execute automatically after power-on a TML program saved into the drive/motor EEPROM memory.

In the slave mode, even if there is a valid TML program in the EEPROM, this is not executed, because the drive/motor forces the execution of the END command which stops the TML program execution.

Some of the Technosoft drives/motors are automatically set in the AUTORUN mode. Others have a dedicated switch or jumper through which you can set either the AUTORUN mode or the slave mode.

During a TML program execution, a drive/motor can enter in the slave mode and stop the TML program execution in the following cases:

After the execution of the END command
After receiving a STOP command from an external device, via a communication channel
After an entering in FAULT status, due to a protection triggered

Remark: When a drive/motor is set in AUTORUN mode, to change the TML program you have to do to the following operations:

Send via a communication channel the TML command END, to stop the current program execution, followed by AXISOFF to disable the drive power stage

Download the new TML program

Reset the drive. The new TML program will start to execute.

 

See also:

Basic Concepts

TML Description