MODE VES        Set voltage external mode with reference update in slow loop

MODE VEF        Set voltage external mode with reference update in fast loop

Syntax                        

MODE VES

MODE Voltage External Slow

MODE VEF

MODE Voltage External Fast

Operands

PlaceTMLOnline

Binary code

DescriptionSets the drive/motor to operate in the voltage external mode. In this mode, the drive/motor performs a voltage control with a voltage reference provided by another device. There are 2 types of external references (selectable via the TML instruction EXTREF):
Analogue – read from a dedicated analogue input (TML variable AD5)
Online – received online via a communication channel from a host and saved in the TML variable EREFT

When the voltage reference is read from the analogue input, the reference update can be done in 2 ways:

MODE VES – at each slow loop sampling period
MODE VEF – at each fast loop sampling period

 

When the voltage reference is received online via a communication channel only option MODE TES is possible.

Remark: The voltage contouring mode has been foreseen for testing during the setup phase

 

The new motion mode becomes effective at the next update command UPD.

 

Example

//Read voltage reference from variable EREFV

EREFV = 30;// EREFV initial = 30[IU]

EXTREF 0;

MODE VES; //External voltage

UPD; //execute immediate