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
Содержание CECX-X-C1 Series
Страница 1: ...Manual Controller Modular CECX CECX X C1 CECX X M1 761886 1112c en ...
Страница 2: ...1112c en ...
Страница 4: ......
Страница 6: ...1112c en ...
Страница 7: ...CECX modular control system CECX modular control system ...
Страница 46: ...CECX modular control system CECX I 38 ...
Страница 47: ...System manual CECX ...
Страница 48: ...CECX II ...
Страница 56: ...Content System Manual CECX VIII ...
Страница 58: ...System manual CECX Product design CECX II 0 2 ...
Страница 68: ...System manual CECX Safety notes CECX II 2 6 ...
Страница 76: ...System manual CECX System overview CECX II 3 8 ...
Страница 84: ...System manual CECX General assembly and installation instructions CECX II 4 8 ...
Страница 118: ...System manual CECX Operating behavior CECX II 8 6 ...
Страница 122: ...System manual CECX Disposal CECX II 10 2 ...
Страница 124: ...System manual CECX Technical data CECX II 11 2 ...
Страница 166: ......
Страница 180: ......
Страница 212: ......
Страница 219: ...System manual CECX Digital input output module CECX D 6E8A PN 2 CECX II 18 7 18 4 2 3 Connection diagram Input diagram ...
Страница 232: ......
Страница 248: ......
Страница 260: ......
Страница 278: ......
Страница 294: ......
Страница 308: ......
Страница 412: ......
Страница 426: ......
Страница 500: ...System manual CECX Bus link module CECX B CO CECX II 34 64 ...
Страница 501: ...The library Ethernet lib The library Ethernet lib ...
Страница 505: ...The library EventData lib The library EventData lib ...
Страница 511: ...The library IncEnc lib The library IncEnc lib ...
Страница 517: ...The Festo_EasyIP lib library ...
Страница 532: ......
Страница 535: ...The library PLCService lib The library PLCService lib ...
Страница 542: ...The library PLCService lib CECX VII 6 ...
Страница 543: ...The library SysLibComEx lib The library SysLibComEx lib ...
Страница 547: ...The Festo_Motion lib library ...
Страница 584: ......
Страница 585: ...The Festo_PartDetector lib library ...
Страница 601: ...FED VipWin interface ...
Страница 630: ......