![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367666.webp)
621
Others
Section 10-3
6xxxh) as required.
;-------------------------------------------------------------------------------
;VARIABLES FROM/TO PLC:
;IW0B00 is bag length
;IW0B01 is speed (bag/min)
;IW0B02 is a bitwise word to give the bits to start (b0) and the confir-
mation
; than the cutter is in the STOP position (b2)
;IW0B03 is the expected distance to move after the mark
;OW0BA0 Gives the START order to the cutter (rising edge)
;OTHER VARIABLES:
;MW0006 is the overflow value of the position, depends on the axis
settings and
; must be higher than the maximum bag length
;MW0005 is the Offset value that must be applied to the workpiece co-
ordinate to
; start from zero position.
;MW0002 is the maximum speed of the bag calculated in the sub-pro-
gram to match
; the cycle.
;---------------------------------------------------------------------------------
;The example shows:
; - Use of sub-programs
; - Simple calculation
; - Parameter writing
; - Use of movements with registration
;--------------------------------------------------------------------------------
#MW0006 = 8192;
;Set the axes to RUN
#IB04402 = 1; AXIS1 on
WAIT #OB04403 = = 1; Wait for confirmation AX1
#IB04402 = 0;
;
INC;
GOSUB P550;
;
WHILE 1 = = 1;
;
;Update the ramps and maximum speed to match the cycle
;only when distance or speed changes
IF #IW0B00<>#DW0000;
GOSUB P550;
#DW0000 = #IW0B00;
ENDIF;
IF #IW0B01<>#DW0001;
GOSUB P550;
#DW0001 = #IW0B01;
ENDIF;
;
;Wait for cutter in STOP position
WAIT #IB0B022 = = 1;
;
IF #IB0B020 = = 0;
;Cutting without mark
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...