FB_CP22xx_1025
The class implements the I/O functions of the Beckhoff BlowMolding Panel CP2219-1025-0030.
Internal functions:
- Handling of the push buttons (incl. control of the colors).
- Processing the incremental encoder (incl. LED ring).
- See the explanation of the integration into the application here.
- Control of the info LED.
Syntax:
FUNCTION_BLOCK FB_CP22xx_1025 EXTENDS FB_Base
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_CP22xx_1025 | ||||
Button1 | Get | <Local> | Push button 1 (Start) | |
Button2 | Get | <Local> | Push button 2 (stop) | |
Button3 | Get | <Local> | Push button 3 (acknowledge) | |
EStop | Get | <Local> | Emergency stop | |
Status | Get | <Local> | Status LED | |
Wheel | Get | <Local> | Incremental encoder | |
FB_Base | ||||
BaseState | Get | eNotHandled | Initialization state of the class instance. | |
Error | BOOL | Get | FALSE | Class is in an error state. |
ResultMessage | Get | - | Access to the class-internal EventLogger. | |
[ | STRING | Get | <SourceName> |
|
Methods
Name | Description |
---|---|
Reset() | Resets the error state of the class. |
FB_Base | |
SetHMI( | General assignment method for an FB_BaseHmi extending class. |
[ | Extracts the first part of the instance path as an object namespace. |
[ | Extracts the last part of the instance path as the object name. |
Cycle methods
Name | Description |
---|---|
Cyclic() | Cycle method - Call once per PLC cycle (default 10 ms). |
Interfaces
Type | Description |
---|---|
I_Base | Standard interface on FB_Base. |
I_CP22xx_1025 | Standard interface on FB_CP22xx_1025. |
I_BaseEmpty | For extension without standard interface. |
I_BaseDev | Covers all methods and properties of the base class. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT >= v3.1.4024.54 (recommended) | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.7.0) |