PLCopen Motion Control 4.4.8.2 MC_AxRtLogClear_BkPlcMc (from V3.0) The function block deletes a LogBuffer of the library. Further information about creating a log buffer can be found under FAQ #10 in the Knowledge Base [ } 218] . VAR_INOUT pBuffer: POINTER TO ST_TcPlcMcLogBuffer; END_VAR pBuffer : This parameter is used to transfer the address of a variable of type ST_TcPlcMcLogBuffer [ } 107] . Behavior of the function block: All entries in the LogBuffer are deleted and initialized. 4.4.8.3 MC_AxRtLogEntry_BkPlcMc (from V3.0) The function block enters a message in the LogBuffer of the library.
Further information about creating a log buffer can be found under FAQ #10 in the Knowledge Base [ } 218] . VAR_INPUT Execute: BOOL:=FALSE; pBuffer: POINTER TO ST_TcPlcMcLogBuffer; LogLevel: DWORD:=0; Source: DWORD:=0; Message: STRING(255); ArgType: INT:=0; diArg: DINT:=0; lrArg: LREAL:=0; sArg: STRING(255); END_VAR Execute : The function block is activated by a rising edge at this input. pBuffer : This parameter is used to transfer the address of a variable of type ST_TcPlcMcLogBuffer [ } 107] . LogLevel : A coded specification of the message type. A Logger Levels [ } 244] value from the Global Constants [ } 235] should be used. Source : A coded specification of the message source.
A logger sources [ } 244] value from the Global Constants [ } 235] should be used. Message : The message text. ArgType : The type of the optional argument. diArg : The value of the optional argument, if it is of type DINT. lrArg : The value of the optional argument, if it is of type LREAL. PLC Library Hydraulics 185 Version: 1.4