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 ***EtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was 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 PDO is 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 |
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 |
|
|
Returns TRUE if this function has successfully connected the output of the pipe convertor block to the EtherCAT Output (Rx) PDO Object. See Pipe Network - General Rules for more information. |
Remarks
- 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