MC_ReadBoolParameter

This FB serves to read a "Bool" parameter from the axis data structure or from the drive.

Note!

In the default setting, the drive parameter is read out cyclically, i.e. after a successful read operation, the next one is started immediately. This, however, increases the bus load. The "ReadCycle" property of the FB serves to set a higher cycle time for repeating a read request.

Example of the automatic execution of a read request per second: MC_ReadBoolParameter.ReadCycle := T#1000ms;

 

 

 

MC_ReadBoolParameter

 

 

 

AXIS_REF

-

Axis

Valid

-

BOOL

BOOL

-

ENABLE

Busy

-

BOOL

DINT

-

ParameterNumber

Error

-

BOOL

ErrorID

-

L_IE1P_Error

Value

-

BOOL

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

ENABLE

BOOL

TRUE

Read parameters continuously.

ParameterNumber

DINT

Determination of the parameter number of the parameter to be read.

Outputs

Name

Data type

Value/meaning

Valid

BOOL

TRUE

Valid values are applied to the FB outputs.

Busy

BOOL

TRUE

Processing is running.

Error

BOOL

TRUE

An error has occurred. For details see ErrorID .

ErrorID

L_IE1P_Error

If Error = TRUE: Error number for the error that has occurred.

Value

BOOL

Read parameter value