
B–61863E–1/06
3. DATA CONTROL FUNCTION
PMC CONTROL SOFTWARE
103
(1) PMCMDI screen
The PMCMDI screen can be displayed by user application programs.
It is independent of the screens displayed by the CNC and PMC
control software. Each user can create his or her own PMCMDI
screens. MDI key reading and display output to the CRT by
application programs are enabled when the PMCMDI screen is
displayed. Such operations are ignored when a screen other than the
PMCMDI screen (non-PMCMDI screen) is displayed.
[The method to switch from a non–PMCMDI screen to the PMCMDI
screen]
(a) Call the pl_pcmdi() function.
(b) The case of FS15i–A, FS16i /18i /21i:
Press the CUSTOM key of function key.
The case of FS15B:
Press the CNC/PMC key in state that NC parameter No.13 Bit0
is set to 1.
[Recognizing the PMCMDI screen]
(a) When bit 0 of PMC address R9060 is set to on, the PMCMDI
screen is regarded as being displayed.
(b) Use the system call, pl_pcmdi_wait, to determine whether the
PMCMDI screen is displayed. When a task issues this system
call, the task is placed in the wait state until the screen switches
to the PMCMDI screen.
If the screen has switched to the PMCMDI screen immediately
before pl_pcmdi_wait is issued, the task does not enter the wait
state.
[The method to switch from PMCMDI screen to non– PMCMDI
screen]
The case of FS15i–A:
(a) The pl_ncmdi() function switches the screen to CNC screen
before the PMCMDI screen appeared. If the PMCMDI screen has
been displayed by pressing the CUSTOM key, the pl_ncmdi()
function is effective.
(b) Press a function key other than the custom key.
The case of FS16i /18i /21i :
(a) The pl_ncmdi() function switches the screen to CNC screen
before the PMCMDI screen appeared. If the PMCMDI screen has
been displayed by pressing the CUSTOM key, the pl_ncmdi()
function is ineffective.
(b) Press a function key other than the custom key.
The case of FS15B:
The pl_ncmdi() function switches the screen to PMC control
screen. To switch to CNC screen, use the pl_ncmdi2() function.
If the PMCMDI screen has been displayed by pressing the
CNC/PMC key, the pl_ncmdi2() function switches the screen to
CNC screen before PMCMDI screen appeared.
(c) Using the external key input control function of the NC function,
program an arbitrary function key input state to display the CNC
screen.