
B–62073E–1/042. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 246 –
A coordinate system number is to be specified in binary using eight bits. The table below indi-
cates the correspondence between the coordinate system numbers and workpiece coordi-
nate system offset values.
Coordinate
system number
Work coordinate system offset value
0 –––
1 Work coordinate system #1 (G54) offset value
2 Work coordinate system #2 (G55) offset value
3 Work coordinate system #3 (G56) offset value
4 Work coordinate system #4 (G57) offset value
5 Work coordinate system #5 (G58) offset value
6 Work coordinate system #6 (G59) offset value
255 External work zero point offset amount
Common offset value
When the coordinate system number 0 is specified, the workpiece coordinate system current-
ly selected for execution is selected. The offset value corresponding to coordinate system
number 255 is applicable, as a common offset value, to all coordinate systems.
An offset value in the range 0 to +99,999,999 is to be specified in binary, using the least input
increment as the unit.
[Output] By specifying a controlled axis number and coordinate system number, the current workpiece
reference point offset value is output. A controlled axis number and coordinate system num-
ber must be specified for an output request, in the same way as they are specified for an input
request. Output data includes the specified controlled axis number and coordinate system
number. When the coordinate system number 0 is specified, 0 is not output; the coordinate
system number currently selected for execution is output.
The specification of whether to use an absolute value or incremental value has no effect.
(v) Machine zero point shift value
[Input] By specifying a controlled axis number, a machine zero point shift value is entered. Upon
input, compensation is immediately applied to the corresponding axis, and the tool moves.
A controlled axis number is to be specified in the same way as for a workpiece reference point
offset value.
An offset value in the range 0 to +9,999 is to be specified in binary, using the least input incre-
ment as the unit. The offset value is always an absolute value, so the tool moves by the differ-
ence between a newly specified offset value and the previous value. If a large compensation
is applied at a time, an excessive error can occur when the tool is stopped, thus raising an
alarm. So, to apply a large compensation, the operation must be divided into several input
steps.
[Output] By specifying a controlled axis number, the current machine zero point shift value is output.
A controlled axis number must be specified for an output request in the same way as it is spe-
cified for an input request.
(vi) Alarm messages
[Input] The control unit is placed in the alarm state by inputting an alarm number. A message character
string can then be sent to display the alarm message on the alarm screen (alarm setting).
A previously entered alarm can be cancelled by specifying its alarm number (alarm clearing).
The address section is used to set and clear an alarm.
An alarm number from 0 to 999 is to be specified in binary. The control unit prefixes the char-
acter string EX to an alarm number, and displays EX and a specified alarm number before
an alarm message character string.
A message character string is to be entered immediately after a specified alarm number ac-
cording to item (viii) below. Up to 30 characters can be entered for one alarm item.
The control unit can accept up to four external alarm messages at a time. Set alarms are not
cleared by resetting the control unit. To clear an alarm, the external alarm message must be
input, with its number and clear operation specified.
[Output] There is no corresponding output. So ERDRQ must always be 0.
(vii)Operator messages
[Input] An external operator message is registered with a message number in the control unit. A
message character string can then be sent for display on the operator message screen (oper-