Ccpu_Control - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

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

Advertisement

CCPU_Control

Performs a remote operation (remote RUN/STOP) of a MELIPC.
Format
short CCPU_Control(short sCpuNo, short sCode)
Argument
Argument
Name
sCpuNo
CPU number
sCode
Operation specification code
Description
• Sets the MELIPC to a RUN/STOP status.
• The operation status of the MELIPC prioritizes STOP. To set the RUN state again after a remote STOP, use remote RUN.
• If executed at the VxWorks part during a system or user WDT error, an error occurs.
Return value
Return value
0(0000H)
-232(FF18H)
-236(FF14H)
-28158(9202H)
For details on error codes, refer to the following section.
Page 116 Function error codes
Description
Specify '0'.
Specifies the remote operation to be performed.
• 0: Remote RUN
• 1: Remote STOP
Description
Normal
CPU number specification error
Operation specification code error
WDT error
3 DETAILS OF FUNCTIONS
3.1 C Controller Module Dedicated Functions
3
IN/OUT
IN
IN
27

Advertisement

Table of Contents
loading

Table of Contents