MCA_PARAMETER_STRUCT¶
This structure is used to define the parameter list used by MCA_ReadParameterList or MCA_WriteParameterList. An array of this structure has to be created. The address of this array has to be connected to input Parameters of MCA_ReadParameterList or MCA_WriteParameterList
MCA_PARAMETER_STRUCT | Type | Comment |
---|---|---|
ParameterNumber | WORD | |
Value | DINT | In case of WriteParameterList, Value will be written to the Parameter indicated by ParameterNumber. In case of ReadParameterList, the Function Block will read the Parameter indicated by ParameterNumber and write it to Value. |
This example write 2 parameters to “achse1” and reads them back afterwards: