Programming manual
CNC 8055
CNC 8055i
PROGRAM CONTROL INSTRUCTIONS
14.
·M· & ·EN· MODELS
SOFT: V02.2X
·417·
Screen customizing instructions
CICLO 1
CICLO 2
; Displays page 11 and defines 2 data entry windows
N10 (PAGE 11)
(ODW 1,10,60)
(ODW 2,15,60)
;Editing
(WBUF "( PCALL 1,") ; Adds "(PCALL 1," to the block being edited.
(IB 1=INPUT "X:",-6.5)
(DW 1=IB1)
(WBUF "X",IB1)
; Requests the value of X.
; Data window 1 shows the entered value.
; Adds X (entered value) to the block being edited.
(WBUF ",") ; Adds "," to the block being edited.
(IB 2=INPUT "Y:",-6.5)
(DW 2=IB2)
(WBUF "Y",IB2)
; Requests the value of Y.
; Data window 2 shows the entered value.
; Adds Y (entered value) to the block being edited.
(WBUF ")")
(WBUF )
; Adds ")" to the block being edited.
; Enters the edited block into memory.
; For example : (PCALL 1, X2, Y3)
(GOTO N0)
; Displays page 12 and defines 3 data entry windows
N20 (PAGE 12)
(ODW 1,10,60)
(ODW 2,13,60)
(ODW 3,16,60)
; Editing
(WBUF "( PCALL 2,") ; Adds "(PCALL 2," to the block being edited.
(IB 1=INPUT "A:",-6.5)
(DW 1=IB1)
(WBUF "A",IB1)
; Requests the value of A.
; Data window 1 shows the entered value.
; Adds A (entered value) to the block being edited.
(WBUF ",") ; Adds "," to the block being edited.
(IB 2=INPUT "B:",-6.5)
(DW 2=IB2)
(WBUF "B",IB2)
; Requests the value of B.
; Data window 2 shows the entered value.
; Adds B (entered value) to the block being edited.
(WBUF ",")
(IB 3=INPUT "C:",-6.5)
(DW 3=IB3)
(WBUF "C",IB3)
; Adds "," to the block being edited.
; Requests the value of C.
; Data window 3 shows the entered value.
; Adds C (entered value) to the block being edited.
(WBUF ")") ; Adds ")" to the block being edited.
(WBUF ) ; Enters the edited block into memory.
For example: (PCALL 2, A3, B1, C3).
(GOTO N0)