MLCNVConECAT
Function - Connects the output of a pipe convertor block to an EtherCAT Output (Rx) PDO object.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
BlockID |
DINT |
No range |
N/A |
No default |
The convertor block whose output value is written to the PDO object. Example: PipeNetwork:CNV1. |
DeviceAddr |
INT |
No range |
N/A |
No default |
The device address of the PDO object to be written.
|
Index |
UINT |
No range |
N/A |
No default |
The index of the PDO object to be written.
|
SubIndex |
USINT |
No range |
N/A |
No default |
The sub-index of the PDO object to be written.
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
FALSE, TRUE |
N/A |
Returns TRUE if this function has successfully connected the output of the pipe convertor block to the EtherCAT Output (Rx) PDO Object. See Function - General Rules. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
- The output value of the convertor block is written to the PDO object every update of the convertor block.
- The pipe block is specified by the BlockID input.
- The PDO object is specified by the DeviceAddr, Index, and SubIndex inputs.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Connect a converter Pipe Block named “CNV2” to PDO 16#60B2 (Accel FF) on ECAT address 1002.
MLCNVConECAT( PipeNetwork.CNV2, 1002, 16#60B2, 0 );
See Also