Function RequestDriveTrip

Navigation:  Libraries > CT User Programming Runtime >

Function RequestDriveTrip

Previous pageReturn to chapter overviewNext page

RequestDriveTrip

 

This function causes the drive to initiate a User Prog Image trip. This function also passes a sub-trip number to the drive. There should be no reason for the user to need to use this function.

 

Inputs:

 

SubTrip: UDINT; This defines the sub-trip for the User Prog Image trip.

 

StopTasks: UDINT;

 

Return value: UDINT

 

Example in FBD:

 

RequestDriveTrip

 

Example in ST:

 

VarUDINT1 := RequestDriveTrip(VarUDINT2, VarUDINT3);