The function lls_addlog - generate a logbook, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 30

Advertising
background image

L-force | PLC Designer

Lenze specifications

28

DMS 3.2 EN 02/2011 TD29



Error messages from the function block

Error number

Meaning

507

Incorrect format specification during a write access

531

Incorrect format specification during the assignment

532

Code contains float/double parameters (e. g. supply voltage C00205 or
voltage of rechargeable battery C00207); this format is not supported by

the POU.

further

Internal software error; please address the Lenze service.

2.2.2

The function LLS_AddLog - generate a logbook

Function library: PlcLoggingAccess.lib

This function renders it possible to make an entry in the logbook of the industrial PC.
The function supplies a return value TRUE if the entry was carried out.

Inputs

Identifier/data type

Information/possible settings

eSeverity

LLS_TSeverity

Logging Severity - risk of the error

• LLS_FatalError

• LLS_Error, LLS_Warning

• LLS_Information

The Enum parameter eSeverity (IEC_INT) transferred to Add2Log as
severity (BYTE).

eFacility

LLS_TFacility

Logging Facility: - area from which the error is reported

• LLS_PLC_USER_LOG_SCOPE1
• LLS_PLC_USER_LOG_SCOPE2

• LLS_PLC_USER_LOG_SCOPE3

The Enum parameter eFacility (IEC_INT) is transferred to Add2Log as

Facility (WORD).

sLogPayLoad

STRING(80)

Logbook entry

The Ansi string from "sLogPayLoad" is transferred to Add2Log as 1-byte

string parameter. ("hs", SLOGPAYLOAD)

Advertising