EasyManua.ls Logo

Fagor 8070 BL - Communication and Synchronization between Channels

Fagor 8070 BL
444 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming manual.
CNC 8070
STATEMENTS AND INSTRUCTIONS
22.
Programming statements
·421·
(REF: 1709)
22.1.19 Communication and synchronization between channels
Each channel may execute its own program simultaneously and independently from other
channels. But, besides this, it can also communicate with other channels, transfer
information or synchronize in specific points.
The communication takes place on the basis of a number of marks managed by the part-
programs of each channel. These marks establish whether the channel is waiting to be
synchronized or it may be synchronized, etc.
There are two different ways to synchronize, each offers a different solution.
•Using the #MEET instruction.
The easiest way to synchronize. It stops the execution in all the channels involved in the
synchronization.
The set of marks being used are initialized after executing an M02 or an M30, after a reset
or on power-up.
Using the instructions #WAIT - #SIGNAL - #CLEAR.
This method is somewhat more complicated than the previous one, but more versatile.
It does not stop the execution in all the channels in order to synchronize.
The set of marks being used are maintained after executing an M02 or an M30, after a
reset or on power-up.
The synchronism marks of the two methods are independent from each other. The marks
managed by the #MEET instruction neither affect nor are affected by the rest of the
instructions.
Other ways to synchronize channels
The common arithmetic parameters can also be used to communicate and synchronize
channels. By writing a certain value from a channel and later reading it from another channel,
it is possible to set the condition to follow up on the execution of a program.
Accessing the variables of a channel from another channel can also be used as a way to
communicate.
Swapping axes between channels also makes it possible to synchronize processes,
because a channel cannot grab an axis until it has been released by another one.
Consultation variables
The information about the status of the synchronization marks may be consulted using the
following variables.
MEET or WAIT type mark expected by the "n" channel from the "m" channel
V.[n].G.MEETCH[m]
V.[n].G.WAITCH[m]
Replace the letters "n" and "m" with the channel number.
CHANNEL 1 CHANNEL 2 CHANNEL 3
G1 F1000
S3000 M3
#FREE AX [Z]
(Frees the Z axis)
X30 Y0
#CALL AX [Z1,Z2]
(It adds the Z1 and Z2 axes)
X90 Y70 Z1=-30 Z2=-50
#FREE AX [Z1,Z2]
(Frees the Z1 and Z2 axes)
X0
#CALL AX [Z]
(Recovers the Z axis)
G0 X0 Y0 Z0
M30
X1=0 Y1=0 Z1=0
G1 F1000
#FREE AX[Z1]
(Frees the Z1 axis)
G2 X1=-50 Y1=0 I-25
#CALL AX [Z]
(Adds the Z axis)
G1 X1=50 Z20
#FREE AX[Z]
(Frees the Z axis)
X1=20
#CALL AX [Z1]
(Recovers the Z1 axis)
G0 X1=0 Y1=0 Z1=0
M30
G1 F1000
X2=20 Z2=10
#FREE AX[Z2]
(Frees the Z2 axis)
X2=100 Y2=50
#CALL AX[Z2]
(Recovers the Z2 axis)
G0 X2=0 Y2=0 Z2=0
M30

Table of Contents

Related product manuals