MLSyncWriteDeltaS
Description
Set the output phasing value of a synchronizer block. 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 desynchronize with the input and come to a stop when MLSyncStop Block is executed.
Figure 7-114: Set output phasing after MLSyncStart
Figure 7-115: Set output phasing after MLSyncStop
-
-
This function or function block returns cached data. See Programming a Dual Core Controller for more information.
Arguments
Input
BLockID |
Description |
Name of the Pipe Network Block |
Data type |
DINT |
|
Range |
[-2147483648, 2147483648] |
|
Unit |
n/a |
|
Default |
— |
|
DeltaS |
Description |
Slope to be used during Start and stop of Synchronization |
Data type |
LREAL |
|
Range |
— |
|
Unit |
User unit |
|
Default |
— |
Output
Default (.Q) |
Description |
Function Block A function block groups an algorithm and a set of private data. It has inputs and outputs. Execute Successfully See more details here. |
Data type |
BOOL |
|
Unit |
n/a |
Example
Structured Text
MLSyncWriteDeltaS( PipeNetwork.SYN, 45 );
|
Ladder Diagram
Function Block Diagram