Siemens SINUMERIK 840Di sl Function Manual page 92

Synchronized actions, ncu system software
Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

Detailed description
2.4 Actions in synchronized actions
• Example
• Use previous coupling types - Existing coupling types TRAII, LEAD, EG and Coup
92
Programming with keywords in synchronized actions:
Example 1:
Definition of an axis coupling with a leading axis
DO CPDEF=YCPLDEF[Y]=X CPLNUM[Y,X]=1.5
Example 2:
N10 WHEN TRUE DO CPLON[X]=X CPLNUM[X,Y]=2; OK
N20 WHEN TRUE DO CPLNUM [A,B]=" CPLON [A=B] ; Alarm
The order in the N20 block is not permitted since CPLNUM is to be set before the
coupling module has been created in the part program with CPDEF.
Example 3:
N10 WEHN TRUE DO CPLON [X]=Y CPLNUM[X,Y]=3
N15 Y= 100 F100
N20= WHEN TRUE DO CPOF=X CPLON[X]=YCPLNUM[X,Y]=3
In this example, the coupling module active in N10 is recreated and reactivated and is
also re-synchronized.
Example 4:
N10 WHEN TRUE DO CPLON[X]=Y CPLNUM[X,Y]
N15 Y=100 F100
N20 WHEN TRUE DO CPOF0X MOV[X]=1
In the N20 block, the coupling module is switched off and deleted with CPOF. The
following axis is thus again available for the MOV command.
If a presetting of the existing coupling types such as coupled motion, master value
coupling, electronic gearing, or synchronized spindles is desired, the following key word
is also permitted when creating or defining the coupling module
CPSETTYPE[FAx]=<value>
Permitted in synchronized actions.
The following value range is possible:
– "CP" Can be user-programmed (default value)
– "TRAIL" Coupling type "Coupled motion"
– "LEAD" Coupling type "Master value coupling"
– "EG" Coupling type "Electronic gear"
– "COUP" Coupling type "Synchronized spindle"
Function Manual, 11/2006, 6FC5397-5BP10-2BA0
Synchronized actions

Advertisement

Table of Contents
loading

Table of Contents