Siemens SIMOTION Function Manual page 36

Motion control basic functions for modular machines
Hide thumbs Also See for SIMOTION:
Table of Contents

Advertisement

Synchronizing SIMOTION devices with a higher-level bus cycle clock
3.3 Synchronization of a SIMOTION device with an isochronous DP master interface
Procedure for automatic synchronization
So that the interface configured as an isochronous DP master in the SIMOTION_2 device
automatically synchronizes itself with the higher-level bus cycle clock, you should proceed as
follows:
1. If drives (e.g. SINAMICS drives) are already in operation:
2. Start the automatic synchronization. To do this, call the
3. Once synchronization has been successfully completed, activate the DP slaves which you
Note
If the alarms for initiating the PeripheralFaultTask are activated, they must be activated in the
execution system and an appropriate program assigned. Otherwise the SIMOTION device
enters the STOP operating mode when this event occurs.
Note
Preferably, automatic synchronization should be started while the SIMOTION devices are
ramping up (in the StartupTask), before the drives start to move.
36
Deactivate the DP slaves concerned and their assigned technology objects (see Activating
and deactivating components and technology objects (Page 57)).
_enableDpInterfaceSynchronizationMode system function using the parameter
dpInterfaceSyncMode = AUTOMATIC_INTERFACE_SYNCHRONIZATION.
– The modeOfDpInterfaceSynchronization system variable will be set to
AUTOMATIC_INTERFACE_SYNCHRONIZATION.
– If a higher-level bus cycle clock is recognized at the corresponding interface, the
interface configured as an isochronous DP master will be automatically synchronized.
You can find out about the current synchronization state using the
stateOfDpInterfaceSynchronization system variable.
– The alarm for initiating the PeripheralFaultTask on loss of synchronization is activated.
The syntax of this system function is described in detail in the "System Functions/Variables
Devices" List Manual (reference list) and in the online help (see index).
previously deactivated and their assigned technology objects (see Activating and
deactivating components and technology objects (Page 57)).
The synchronized state continues to apply unless it is disrupted, e.g. if the constant bus
cycle clock should fail.
The event _SC_DP_SYNCHRONIZATION_LOST ( = 208) initiates the PeripheralFaultTask
and can be queried in the associated TaskStartInfo (TSI#InterruptId).
Basic Functions for Modular Machines
Function Manual, 04/2014

Advertisement

Table of Contents
loading

Table of Contents