Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 91

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

CCPU_RegistEventLog_ISR
Registers event logs in the event history of a MELIPC.
Format
short CCPU_RegistEventLog_ISR(long lEventCode, char* pcEventMsg)
Argument
Argument
Name
lEventCode
Detailed code
pcEventMsg
Detailed information
Description
• The registration information is as follows.
Item
Occurrence Date
Event Type
Status
Event Code
Overview
Source function
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 MI Configurator.
Note that data is deleted starting from older data if the specified file size is exceeded.
Do not execute this function in a routine other than an interrupt routine.
Warning
• If any function to which an invalid argument is specified is executed, an error such as hardware failure (3C02H) may occur
on the MELIPC.
• This function does not check the specified arguments.
Pay attention to the following points when creating a program.
Do not specify detailed information outside of the range.
Return value
Return value
0(0000H)
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 by Shift JIS. When 'NULL' is specified, the detailed
information is not registered. )
Description
Normal
Description
Event registered date and time
Operation (fixed)
Information (fixed)
25000 (fixed)
Registration from the user program (fixed)
Basic function (fixed)
Detailed code (hexadecimal) specified to the detailed code (lEventCode)
Detailed information specified to the detailed information (pcEventMsg)
An event history was registered with the C Controller module dedicated
function. (Fixed)
3.2 C Controller Module Dedicated Functions (for ISR)
IN/OUT
IN
IN
3 DETAILS OF FUNCTIONS
3
89

Advertisement

Table of Contents
loading

Table of Contents