
LNC-M8000
Function
寶元數控精密股份有限公司 209
LNC Technology Co., Ltd.
-2 => BIT No. is over range
#1= R_GV_BIT(3,2); /* If @3=21,#1Value=1 */
W_GV_BIT(GV_No,BIT,ONOFF)
Write Global Variables BIT
GV_No =>Write global variables location No., value range0 ~1999, unit:N/A
BIT=>Appoint global variables value Bit, value range0~31, unit:N/A
ONOFF=>write value, 0 ~ 1, unit:N/A
Alarm:
-1 => Global variablesover range
-2 => BIT No. is over range
-3 => ONOFF is over range
W_GV_BIT(4,3,1); /* if @4=0。@4Value=8 */
8.6 Read/write coordinate and coordinate function
This function will stop interpretation automatically.(TypeⅠ)
PATH =>Path No., value range 0 ~6, unit:N/A.
0:Current path, 1~6:First path~6th path.
AXIS=>Appoint axis number, value range1~32, unit:N/A
MOT appoint axis ABS coordinate, unit=mm
Alarm:
-1 =>Read coordinate error
#1= R_ABS_COOR(0,1); /* If this path ABS coordinate 1st axis=1.234mm, #1Value=1.234 */
Read MOT MACHINE Coordinate
This function will stop interpretation automatically.(TypeⅡ)
PATH =>Path No., value range 0 ~6, unit:N/A.
0:Current path, 1~6:First path~6th path.
AXIS=>Appoint axis number, value range1~32, unit:N/A
MOT appoint axis MACHINE coordinate, unit=mm
Alarm:
-1 =>Read coordinate error
#1= R_MACH_COOR(0,1); /* If this path MACHINE coordinate 1
st
axis=1.234mm,
#1Value=1.234 */
W_ABS_SHIFT(PATH,AXIS,CASE,VALUE)
Command MOT Coordinate Offset
Komentáře k této Příručce