Axis APPINT Uživatelský manuál Strana 33

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 60
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 32
LNC-M8000
Function
寶元數控精密股份有限公司 209
LNC Technology Co., Ltd.
-2 => BIT No. is over range
Example
#1= R_GV_BIT(3,2); /* If @3=21#1Value=1 */
W_GV_BIT(GV_No,BIT,ONOFF)
Write Global Variables BIT
W
Description
GV_No =>Write global variables location No., value range0 ~1999, unitN/A
BIT=>Appoint global variables value Bit, value range0~31, unitN/A
ONOFF=>write value, 0 ~ 1, unitN/A
Reply
Alarm
-1 => Global variablesover range
-2 => BIT No. is over range
-3 => ONOFF is over range
Example
W_GV_BIT(4,3,1); /* if @4=0@4Value=8 */
8.6 Read/write coordinate and coordinate function
R_ABS_COOR(PATH,AXIS)
Read MOT ABS Coordinate
R
Description
This function will stop interpretation automatically.(Type)
PATH =>Path No., value range 0 ~6, unitN/A.
0Current path, 1~6First path~6th path.
AXIS=>Appoint axis number, value range1~32, unitN/A
Reply
MOT appoint axis ABS coordinate, unit=mm
Alarm
-1 =>Read coordinate error
Example
#1= R_ABS_COOR(0,1); /* If this path ABS coordinate 1st axis=1.234mm, #1Value=1.234 */
R_MACH_COOR(PATH,AXIS)
Read MOT MACHINE Coordinate
R
Description
This function will stop interpretation automatically.(Type)
PATH =>Path No., value range 0 ~6, unitN/A.
0Current path, 1~6First path~6th path.
AXIS=>Appoint axis number, value range1~32, unitN/A
Reply
MOT appoint axis MACHINE coordinate, unit=mm
Alarm
-1 =>Read coordinate error
Example
#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
W
Zobrazit stránku 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 59 60

Komentáře k této Příručce

Žádné komentáře