Mitsubishi Electric MELSEC iQ-R Series Manual page 78

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

Advertisement

CITL_RegistEventLog_ISR
This function registers an event log in the event history of a control CPU module.
■ Format
short CITL_RegistEventLog_ISR (long lEventCode, char* pcEventMsg)
■ Argument
Argument
lEventCode
pcEventMsg
■ 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.
Do not execute CITL_RegistEventLog_ISR function in a routine other than the one registered in the interrupt.
WARNING
CITL_RegistEventLog_ISR function does not check the specified argument.
Create a program with the following conditions in mind.
• The detailed information within the range is specified.
■ Return value
Return value
0 (0000H)
3 DETAILS OF FUNCTION
76
3.1 C Intelligent Function Module Dedicated Functions
Name
Detailed code
Detailed information
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_ISR 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)
Description
Normal
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.)
IN/OUT
IN
IN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents