L_MC4P_ReadBoolParameter

This FB serves to read a "BOOL" parameter of the axes group.

 

 

 

L_MC4P_ReadBoolParameter

 

 

 

AXES_GROUP_KIN

-

AxesGroup

xValid

-

BOOL

BOOL

-

xEnable

xBusy

-

BOOL

DINT

-

diParameterNumber

xError

-

BOOL

eErrorID

-

L_IE1P_Error

xValue

-

BOOL

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

AxesGroup

AXES_GROUP_KIN

axes group reference

xEnable

BOOL

TRUE

Read parameters continuously.

diParameterNumber

DINT

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

When an axes group is inserted into the device tree, a parameter structure with four automatically assigned main indices with a maximum of 255 subindices each is created. The subindices contain the individual parameters of the axes group. The first to fourth main index corresponds to the index offset 0 ... 3 with regard to the parameter description.

Example:

Read-out of the "Full path smoothing" parameter
The following can be gathered from the description of the individual parameter:

Index offset 0, Subindex35

The following results:
diParameterNumber := 1000 * index offset + subindex;

diParameterNumber := 1000 * 0 + 35 = 35;

Outputs

Name

Data type

Value/meaning

xValid

BOOL

TRUE

Valid values are applied to the FB outputs.

xBusy

BOOL

TRUE

Processing is running.

xError

BOOL

TRUE

An error has occurred. For details see ErrorID .

eErrorID

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

xValue

BOOL

Read parameter value