
B-66284EN/01 2.DEVELOPMENT OF CUSTOM SCREEN
- 281 -
Creating mode-matching operation button display child screens
An example of creating child screens with operation buttons
prepared for each mode is provided below.
The method of creating mode-matching operation button display
child screens is basically the same as for creation of coordinate
display child screens.
Based on the copy source child screen (COP_mode_mem.xml),
make additional copies of the COP_mode_edit.xml,
COP_mode_mdi.xml, COP_mode_hndl.xml, and
COP_mode_jog.xml child screens for the EDIT, MDI, HNDL,
and JOG modes.
Set the captions, output signals, signals to be turned on, and
ON/OFF colors for the buttons required in each mode.
Unnecessary buttons may be deleted. Then, a new user-friendly
operation that can be easily placed, such as a numerical value
display and input operation that allows numerical value display
and numerical value setting can be incorporated on a screen such
as the EDIT mode child screen.
The FpNDisp1 control is attached to each operation button child
screen, but is set so that the control is not visible on the CNC
screen. The purpose of the control is to notify the PMC ladder
that the operation button child screen is displayed and that the
mode is switched, by turning on a bit of the one byte of D1106.
For this bit notification processing, the FP function for writing to
the PMC signal area (Example: wrpmc[9_1106_0_1]) is used.
The signal bit turned on is specified as the interlock signal for the
local child screen switch button. Thus, the switch button style
can be placed in the on state, and the switch button operation can
be interlocked at the same time.