Buscar

Workpiece counter

Prévia do material em texto

Program code Comments 
 ; Activate workpiece counter $AC_REQUIRED_PARTS: 
$MC_PART_COUNTER=’H3’ ; $AC_REQUIRED_PARTS is active, alarm display for 
$AC_REQUIRED_PARTS==$AC_SPECIAL_PARTS. 
 
 ; Activate workpiece counter $AC_TOTAL_PARTS: 
$MC_PART_COUNTER='H10' 
$MC_PART_COUNTER_MCODE[0]=80 
; $AC_TOTAL_PARTS is active; the counter is incremented by 
the value 1 with each M02. 
$MC_PART_COUNTER_MCODE[0] has no significance. 
 
 ; Activate workpiece counter $AC_ACTUAL_PARTS: 
$MC_PART_COUNTER='H300' 
$MC_PART_COUNTER_MCODE[1]=17 
; $AC_TOTAL_PARTS is active. 
The counter is incremented by the value 1 with each M17. 
 
 ; Activate workpiece counter $AC_SPECIAL_PARTS: 
$MC_PART_COUNTER='H3000' 
$MC_PART_COUNTER_MCODE[2]=77 
; $AC_SPECIAL_PARTS is active. 
The counter is incremented by the value 1 with each M77. 
 
 ; Deactivate workpiece counter $AC_ACTUAL_PARTS: 
$MC_PART_COUNTER='H200' 
$MC_PART_COUNTER_MCODE[1]=50 
; $AC_TOTAL_PARTS is not active, rest has not significance.
 
 ; Activating all counters in examples 1-4: 
$MC_PART_COUNTER='H3313' 
$MC_PART_COUNTER_MCODE[0]=80 
$MC_PART_COUNTER_MCODE[1]=17 
$MC_PART_COUNTER_MCODE[2]=77 
; $AC_REQUIRED_PARTS is active, alarm display for 
$AC_REQUIRED_PARTS==$AC_SPECIAL_PARTS. 
$AC_TOTAL_PARTS is active; the counter is incremented by 
the value 1 with each M02. 
$MC_PART_COUNTER_MCODE[0] has no significance. 
$AC_ACTUAL_PARTS is active; the counter is incremented by 
the value 1 with each M17. 
$AC_SPECIAL_PARTS is active; the counter is incremented 
by the value 1 with each M77.

Outros materiais