MLSyncWriteDeltaS
Function - Sets the output phasing value of a synchronizer block.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
BlockID |
DINT |
-2147483648 to 2147483647 |
N/A |
No default |
ID name of the Pipe Network Block. |
DeltaS |
LREAL |
No range |
User units |
No default |
Slope to be used during Start and stop of Synchronization. This parameter is used in MLSyncStart and MLSyncStop. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
FALSE, TRUE |
N/A |
Function block executed successfully. See Function - General Rules. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
- Returns TRUE if the function succeeded.
- Output phasing is the distance or the slope the output takes to synchronize with the input when MLSyncStart block is executed.
- It also affects the distance or the slope the output takes to de-synchronize with the input and come to a stop when MLSyncStop block is executed.
Figure 1: Set output phasing after MLSyncStart
Figure 2: Set output phasing after MLSyncStop
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
MLSyncWriteDeltaS( PipeNetwork.SYN, 45 );