
Read message from FOCAS1
• Read operator's message on key-in line
Function Name:
cnc_rdlnopmsg
Declaration:
#include "fwlib32.h"
FWLIBAPI short WINAPI cnc_rdlnopmsg(unsigned short FlibHndl, char *msg);
Description:
Reads the operator's message on the key-in line which is displayed by the system variable
#3018.
Arguments:
FlibHndl [in]
Specify the library handle.
msg [out]
Specify the pointer to store the operator's message.
The operator's message is set with ASCII character.
The buffer size needs the 128 characters.
The NULL ('¥0') is set at the end of strings.
When the operator message is not displayed, only NULL ('¥0') character is set.
Return:
EW_OK is returned on successful completion, otherwise any value except EW_OK is
returned. The major error codes are as follows.
(As for the details, see "1.1.5 Return status of Data window function")
--------------------------------------------------------------
Return code Meaning/Error handling
--------------------------------------------------------------
EW_NOOPT no option
Others: EW_BUS, EW_SYSTEM2, EW_HSSB, EW_HANDLE,EW_VERSION,
EW_UNEXP, EW_SYSTEM, EW_PARITY, EW_MMCSYS
CNC option:
The options of this function and the extended driver/library function are necessary.
A-90124E
Edit
Apprv.Desig.
Sheet
Title
Draw
No.
Date
Design
Descri
tion
Date
FANUC Series 16i/18i/21i –MB/TB, 18i –MB5
Operator message display by custom macro
Specifications
2005.11.11
6/8