上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
54 Specialized, Concentrated, Focused
under rotary axis mode.
M801 String Information Command
Command Format:
M801_
Description:
This instruction is used for transferring message between modules.
Programming Example:
M801 ―Hello‖ ’transferring ―hello‖
M802 Integer Message Command
Command Format:
M802 Pxxxx
Description:
This instruction is used to transfer integer message.
xxxx: integer message to be transferred
For Example:
M802 P196609
close the buffer zone
M802 P196608
open the buffer zone
M802 P131072
limit off
M802 P131073
limit on
M802 P458752
clear external offset. After modifying G codes of fixed tool measurement,
use this command to clear external offset after measurement.
M901 Directly Control Output Port
Command Format:
PLC [PLCADDRESS] LEVEL_
Description:
PLC [PLCADDRESS]: PLC address of port; PLC [PLCADDRESS] or PLC = Integer Expression
indicating PLC internal address
LEVEL_: port value (0/1)
Programming Example:
M901 PLC [04] LEVEL1;
’assign 1 to the port 04 (PLC address)
M902 Directly Set REF.
Command Format:
M902 Ha
Description:
a: axis address; 0-3 are respectively corresponding to X, Y, Z, and A axes.
Programming Example:
M902 H0;
’end of X-axis returning to reference point, i.e. the machine coordinate of current point
is 0 (machine origin) in X-axis
Summary of Contents for Ncstudio
Page 74: ...RMB 21 00 ...