Description
Parameter Input |
Data Type |
Description |
Execute |
BOOL |
Execute Coupling |
Parameter Output |
Data Type |
Description |
InSync |
BOOL |
Synchronism active |
Busy |
BOOL |
Parameter Read / Write status is still active |
CommandAborted |
BOOL |
Abort by another Motion Control command or Errorstop |
Error |
BOOL |
Write error; ErrorID is valid |
ErrorID |
DWORD |
Communication ErrorID Siemens error list |
Parameter Input and Output |
Datentyp |
Beschreibung |
Axis |
CPU1500_BM_AXIS_REF |
BM Motion Control axis variable |
Status control via BM_ReadStatus:
From status: Standstill, ContinuousMotion, DiscreteMotion.
To status: Synchronized
Recommended task: Can be used only in a synchronized set value task, OB61.
Edge-sensitive execution:
To execute the command, the input Execute must be TRUE for only one cycle.
for only one cycle. Then the command is executed and the result InSync is reported by
BM_SyncInit and BM_SyncIn is reported. If subsequently Execute=FALSE the coupling remains
coupling is maintained and InSync continues to be reported until the command is terminated by
BM_SyncOut or BM_Stop at parameter input Value of BM_SyncIn at
655360 Inc/ms with 32bit resolution.
Note:
A command from "BM_SyncIn" must not be activated before a command from another function block has been not successfully executed. If an error occurs during the command execution, the error must be reset with "BM_Reset". Function block command will be executed successfully at "BM" .AXIS [x] .DRIVE.BM_AXIS_STATUS.ParmRW_Active = 0.
Input Execute:
At the input Execute the function module is enabled edge-sensitive.
Output InSync:
With the output InSync=TRUE the relative angular synchronisation is recorded. The coupling remains infinite until the command is aborted by BM_SyncOut or BM_Stop command at parameter input Value of BM_SyncIn at speed < 655360 inc/ms with 32 bit resolution.
Output CommandAborted:
The Motion Control command BM_SyncIn is aborted if CommandAborted = TRUE. An interruption is possible e.g. with BM_Stop, missing availability at BM_Power or by a drive error.
Output Error:
TRUE: There is an error at service data communication for the parameter. Read Information at ErrorID valid and Error information refer to S7 Description.
FALSE: No error active.
Output ErrorID:
The information of service communication errors (for detailed information refer to S7 Description).
Input and Output> Axis:
Input/output parameters Axis is the number of the controlled bmaXX drive unit.
At the input and output Axis, the BM Motion Control reference of the type CPU1500_BM_AXIS_REF is connected. When programming with the data block template "DB5", the variable is used as follows the variable is used as follows: "BM.AXIS[x]"
Here "x" is the axle number of the drive.