The Festo_Motion.lib library
26
Function block xxx_PRM_KO
The xxx_PRM_KO block transfers a list of communication objects (KO) to the relevant motor controller.
Figure: Example of function block CMMP_AS_PRM_KO
Note
Communication with the Festo Configuration Tool (FCT) is not possible when using the function
block xxx_PRM_KO.
Inputs and outputs
The following table contains a list of inputs and outputs that the function block xxx_PRM_KO has to
parameterise a motor controller.
Input/output Type Description
Execute BOOL Start transfer
0->1: A rising edge starts transfer of a parameter
Write BOOL Read/write
= 0: Read communication object
= 1: Write communication object
Prequisite: UpperLimit = 0, LowerLimit = 0
Further information on communication objects can be
obtained from your local Festo service centre.
KO DINT Communication object
Further information on communication objects can be
obtained from your local Festo service centre.
ParamValueWR DINT Parameter value when writing a communication object
DATA_REF VAR_IN_OUT FPC data structure
Data structure provided by FB ..._PRM_INIT
Done BOOL Transfer status
= 0: Transfer has not been initiated
= 1: Transfer has been initiated
Err BOOL Error
= 0: No error during parameter transfer
= 1: Error during parameter transfer
ErrStr STRING(80) Outputs an error message as a string
ParamValueRD DINT Parameter value when reading a communication object
RETVAL UINT Current status of the FB instance
When using several instances of the FB, the current internal
status of the relevant FB is output.