
4. Graphic commands (Graphic command I/F)
Graphic commands are instructions for executing animation.
CNC outputs these commands to PC. PC reads them and executes animation
according to the instructions. Supported graphic commands are as follows.
CODE(hex) DATA DESCRIPTION
70 Error status(1byte) error information
7F inch/mm change
axis number setting (2byte)
setting coordinate (3 axis/each 4byte)
Display coordinate setting
Set offset value for each
axis
from screen center(0,0,0).
(for G75 repositioning)
81 Start point of drawing (3 axis/each 4byte) Draw start position set
83 End point of line (3 axis/each 4byte) Linear move
84 rotate direction etc(1byte)
End point of arc (3 axis/each 4byte)
Center point of arc (3 axis/each 4byte)
Circular move
85 rapid speed ratio of each axis
(4 axis/each 4byte)
Rapid ratio setting
86 End point of rapid (3 axis/each 4byte) Rapid move
BD tool number (4byte) tool select
BF none animation end
EC C-axis rotate angle for tool (4byte) tool rotate
ED none punch action
FC number of sending M code (5/9/13byte) ④ M code output
Attention
(1) Code and data are word unit, but only lower byte is available.
(2) Coordinate data(7F,81,83,84,85,86,EC) is fixed decimal point data.
ex.) 0081 0010 0027 0000 0000 ... = 81 10 27 00 00 .... ②
( The high bytes are ignored.)
“81” is the graphic command and “10 27 00 00” is
Lower 2 or 3 figures are digits under the decimal point and the number of
00002710(hex) = 10000(dec) = 100.00 mm or 10.000 mm
the digit under the decimal point is decided by CNC. You can get this
information by using the library function “cnc_getfigure”.
EDIT DATE DSGN DESCRIPTION
RELEASE
DSGN RECOG
TITLE
DRAWING No.
Sheet
6/14
Specifications of
CNC-PC Graphic Interface
A-61184E
970702
Murata
02
03
04
971117
971216
980116
Murata
Murata
Samukawa
Samukawa
Samukawa
The parts of ② are added.
FC command is added. ③
Spec. of FC command is changed. ④