MLCNVConECAT
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. - Connects the output of a pipe convertor block to an EtherCAT Ethernet ofr Control Automation Technology. EtherCAT® is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT is to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs. Output (Rx) PDO Process Data Opjects - A type of protocol frame used in some fieldbuses. A PDO contains one or more object dictionary entries, which define the application data transferred between devices. 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 Zero pulse (zero signal) of a hardware pin such as digital input or feedback pin. |
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. |
Remarks
-
-
This function or function block A function block groups an algorithm and a set of private data. It has inputs and outputs. 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