FC_ControllerEnableSet

 

FC_ControllerEnableSet - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Release the drive.

Description

The software release for one or all drives is granted. A release is granted only if the drive and controller (such as PacDrive LMC600) are ready to switch to release. The user request and controller request are connected in an OR relationship. The current result may be read out at any time using the parameter ControllerEnableSet. The new status is processed in the next real-time cycle and can be read via the parameter ControllerEnable. Read AxisState in order to check the current situation. If i_stAxisId=Gc_stLogAddrAllTypes, then a release is given for the drives.

Interface

Input

Data type

Description

i_stAxisId

ST_LogicalAddress

Logical address of the drive

Return Value

Data type

Description

DINT

0: OK

-1: Logical address of the drive is invalid