FB_AppMessage

This class is part of the FB_Base
class and provides an interface to the EventLogger for almost every TwinCAT 3 Plastic Base Application object.
Syntax:
FUNCTION_BLOCK FB_AppMessage EXTENDS FB_TcMessage
Methods
Name | Description |
---|---|
ClearAlarm( | Clears a specific alarm. |
FB_AppMessage | |
Announces an alarm that is to be triggered with several arguments. | |
GetAlarmState( | Returns the E_AlarmState of the transferred alarm. |
ConfirmAlarm( | Acknowledges a specific alarm. |
Reset() | Resets all alarms generated by this instance. |
Triggers an alarm. | |
Logs a message in the EventLogger. | |
Logs a message in the EventLogger with the hexadecimal representation of the error code. | |
Logs a message in EventLogger, unless the message has been sent before. | |
Tc3_EventLogger.FB_TcMessage | |
Implemented by FB_TcMessage |
Interfaces
Type | Description |
---|---|
I_AppMessage | Standard interface on FB_AppMessage. |
Implemented by FB_TcMessage |
Requirements
Development Environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT 4026 >= v3.1.4026.16 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v12.12.0.0) |