MLBlkWriteModPos
Function A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Sets the value of the period Motor systems having a reciprocating or oscillating motor that operates synchronously with the periodicity of the source which supplies the electrical energy. The period of execution of a pipe is the time spent between two successive computations of set values for the same pipe. The period of execution of a pipe is specified by the PERIOD parameter of the input pipe block. of a block in user units.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
ID |
DINT |
-2147483648 to 2147483647 |
N/A |
No default |
ID number of a created Pipe Block. |
ModuloPosition |
LREAL |
No range |
User units |
No default |
Designated new Period Value for selected Pipe Block. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
|
|
Returns TRUE if the function block A function block groups an algorithm and a set of private data. It has inputs and outputs. is executed. |
Remarks
- The output value of a block is reset New start of the microprocessor. each time it reaches its period value.
Figure 1: Modulo position of the axis.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Set the Period of a Pipe Block to 300
MLBlkWriteModPos( PipeNetwork.MyGear, 300 );
See Also