The Festo_Motion.lib library
8
1.9
Function blocks for Festo motor controllers
The names of function blocks for Festo motor controllers start with the designation of the motor controller,
e.g. CMMP-AS, followed by the function of the relevant block, e.g. CTRL for control block.
The library Festo_Motion.lib contains the following function blocks (FBs):
–
Control FBs for controlling the relevant Festo motor controller
–
Organisation FBs for parameterising the relevant Festo motor controller types
–
Parameter FBs for transferring individual parameters to the relevant Festo motor controller
Function block
Explanation
xxx_xx_CTRL
Function block for controlling the motor controller
xxx_xx_PRM_INIT
Organisation function block for parameterising the motor controller
xxx_xx_PRM_SINGLE
Transfers individual parameters
xxx_xx_PRM_MULTI
Transfers a parameter list (parameter array)
xxx_xx_PRM_DIAG
Reads out the diagnostic memory
xxx_xx_PRM_DIRMP
Transfers the parameters for direct mode position control
xxx_xx_PRM_KO
Transfers communication objects
Notes
–
The function blocks can vary depending on the drive.
–
The blocks belonging to the CMMS-AS can be used for the motor controller CMMD-AS.
1.9.1 Control function blocks
Control function blocks
1. Inputs and outputs
The following table contains all the inputs and outputs that a FHPP function block can potentially provide
for controlling a motor controller. The actual number depends on which control modes are supported by
the motor controller. Refer to the relevant motor controller documentation (
section "Limited selection of
inputs and outputs") for information on which motor controller supports which control modes.
Key:
–
Input/output: Designation of an input or output from the CoDeSys function block ..._CTRL.
–
Type: Data type expected by the relevant input or issued at an output.
–
Description: Name and brief description of the CoDeSys function block (0 = FALSE, 1 = TRUE).
Input
Type
Description
FB_CFG
WORD
FB configuration
Bit 0 = FALSE: Low byte first
Bit 0 = TRUE: High byte first
Bit 1 = Reserved
etc.
Bit 31 = Reserved
Pos_Factor_numerator
DINT
Numerator value for converting from position to
increments
Pos_Factor_denumerator
DINT
Denominator value for converting from position to
increments
AxisType
INT
Connected axis type
Summary of Contents for CECX-X-C1 Series
Page 1: ...Manual Controller Modular CECX CECX X C1 CECX X M1 761886 1112c en ...
Page 2: ...1112c en ...
Page 4: ......
Page 6: ...1112c en ...
Page 7: ...CECX modular control system CECX modular control system ...
Page 46: ...CECX modular control system CECX I 38 ...
Page 47: ...System manual CECX ...
Page 48: ...CECX II ...
Page 56: ...Content System Manual CECX VIII ...
Page 58: ...System manual CECX Product design CECX II 0 2 ...
Page 68: ...System manual CECX Safety notes CECX II 2 6 ...
Page 76: ...System manual CECX System overview CECX II 3 8 ...
Page 84: ...System manual CECX General assembly and installation instructions CECX II 4 8 ...
Page 118: ...System manual CECX Operating behavior CECX II 8 6 ...
Page 122: ...System manual CECX Disposal CECX II 10 2 ...
Page 124: ...System manual CECX Technical data CECX II 11 2 ...
Page 166: ......
Page 180: ......
Page 212: ......
Page 232: ......
Page 248: ......
Page 260: ......
Page 278: ......
Page 294: ......
Page 308: ......
Page 412: ......
Page 426: ......
Page 500: ...System manual CECX Bus link module CECX B CO CECX II 34 64 ...
Page 501: ...The library Ethernet lib The library Ethernet lib ...
Page 505: ...The library EventData lib The library EventData lib ...
Page 511: ...The library IncEnc lib The library IncEnc lib ...
Page 517: ...The Festo_EasyIP lib library ...
Page 532: ......
Page 535: ...The library PLCService lib The library PLCService lib ...
Page 542: ...The library PLCService lib CECX VII 6 ...
Page 543: ...The library SysLibComEx lib The library SysLibComEx lib ...
Page 547: ...The Festo_Motion lib library ...
Page 584: ......
Page 585: ...The Festo_PartDetector lib library ...
Page 601: ...FED VipWin interface ...
Page 630: ......