Yt_AX_AxisParamArray
The Yt_AX_IndividualParameterDetails structure is used internally by the
Y_AX_ReadAxisParameters
function block.
Yt_AX_AxisParamArray: ARRAY
| Array Name | Data Type | Range | Description | Usage |
|---|---|---|---|---|
| Yt_AX_AxisParamArray | Yt_AX_IndividualParamDetails | 0..70 |
|
myParamArray[0] |
Yt_AX_IndividualParamDetails: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Num | UINT | Parameter number | myParamArray[0].Num |
| BValue | BOOL | Value if the parameter is if data type BOOL | myParamArray[0].BValue |
| DIValue | DINT | Value if the parameter is if data type DINT | myParamArray[0].DIValue |
| LRValue | LREAL | Value if the parameter is if data type LREAL | myParamArray[0].LRValue |
| PType | INT | Data type of the parameter: 1=BOOL, 2=BYTE, 3=INT, 4=DINT, 5=LREAL | myParamArray[0]PType |
| AxisMask | WORD |
|
myParamArray[0].AxisMask |
| TypeMask | WORD |
|
myParamArray[0].TypeMask |
| CyclicRead | BOOL | Indicator if value is read every cycle | myParamArray[0].CyclicRead |