
B-63874EN/05 GENERAL 6.MANUAL GUIDE i SIMULATOR FOR THE PERSONAL COMPUTER
- 33 -
6.9.3.4 [softkey] section
Key name : keynum
Outline : Specify the number of buttons that are displayed in
the main frame and operate as soft keys.
Setting method : keynum = n
Example: When 12 soft keys are used
keynum=12
Details : Specify the number of buttons that are displayed in
the main frame and used as function keys. The
number of buttons specified here is used to specify
the number of key pressing information items to be
read next.
Key name : keyn (n: 0 to keynum-1)
Outline : Code a setting to be assigned to a button used as a
key.
Setting method : keyn = key1, key2, x, y, imagefile
Example: When the first soft key is assigned to the
operation of the F1 key, the display
position is (900,8220), and an image to
be pasted is specified
key0={F1},{F1},900,8220,.¥image¥skey_l.bmp
Details : Code information for setting of a button to be
assigned as a soft key. The following information
is to be set:
key1 Specify key information (to be described
later) to be passed to the CNC display
section application when a button is
pressed.
key2 Specify key information to be passed to
the CNC display section application
when a button is pressed while the
SHIFT button is held down.
x, y Specify the display position of a button
in twip. For display position setting,
specify relative coordinates on the main
frame, with (x,y) = (0,0) for the top-left
corner of the main frame.
Imagefile Specify the path of the image file to be
pasted to a button. The size of an image
for a soft key is 28×28 pixels when the
CNC model specified in the simulator
definition is FS30i, and is 33×18 pixels
for other cases.