EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 47

Mitsubishi Electric MELSEC iQ-R Series
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
45
3
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
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:
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
Argument Name Description IN/OUT
lEventCode Detailed code Specify a detailed event code to be registered in the event history. IN
pcEventMsg Detailed information 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.)
IN
Item Description
Occurrence date Event registered date and time
Event type Operation (Fixed)
Status Information (Fixed)
Event code 25000 (Fixed)
Overview Registration from the user program (Fixed)
Source For an RD55UP06-V: RD55UP06-V (Fixed)
For an RD55UP12-V: RD55UP12-V (Fixed)
Start I/O number Input/output number of the C intelligent function module that executed the CITL_RegistEventLog function.
Detailed event code information Detailed code (hexadecimal) specified to the detailed code (lEventCode)
Detailed event log information Detailed information specified to the detailed information (pcEventMsg)
Cause The event history was registered from the C intelligent function module dedicated function. (Fixed)
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

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals