Mitsubishi Electric MELSEC iQ-R Series Manual page 47

Intelligent function module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

CITL_RegistEventLog
This function registers an event log in the event history of a control CPU module.
■ Format
short CITL_RegistEventLog (long lEventCode, char* pcEventMsg)
■ Argument
Argument
Name
lEventCode
Detailed code
pcEventMsg
Detailed information
■ Description
This function registers an event log in the event history of a control CPU module.
The contents to be registered on the event history screen of the engineering tool are as follows:
Item
Occurrence date
Event type
Status
Event code
Overview
Source
Start I/O number
Detailed event code information
Detailed event log information
Cause
• The event history can be stored for the size of the event history file specified with an engineering tool.
Note that data is deleted in order from older data if the specified file size is exceeded.
• An error occurs if the character string data specified to the detailed information (pcEventMsg) is 201 bytes or bigger.
■ Return value
Return value
Description
0 (0000H)
Normal
Other than 0 (0000H)
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
Description
Specify a detailed event code to be registered in the event history.
Specify detailed information character string data of an event to be registered
in the event history.
(The detailed information character string data of an event can be specified
up to 200 bytes. When 'NULL' is specified, the detailed information is not
registered.)
Description
Event registered date and time
Operation (Fixed)
Information (Fixed)
25000 (Fixed)
Registration from the user program (Fixed)
• For an RD55UP06-V: RD55UP06-V (Fixed)
• For an RD55UP12-V: RD55UP12-V (Fixed)
Input/output number of the C intelligent function module that executed the CITL_RegistEventLog function.
Detailed code (hexadecimal) specified to the detailed code (lEventCode)
Detailed information specified to the detailed information (pcEventMsg)
The event history was registered from the C intelligent function module dedicated function. (Fixed)
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
IN/OUT
3
IN
IN
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents