Difference between revisions of "EtherCAT:EC VER"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{Axystems:Template:EtherCAT-Function |DESCRIPTION= In order to communicate with a specific slave we use its address and the functions EC_SDO_READ, EC_SDO_WRITE.<br/> To read...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Axystems:Template:EtherCAT-Function
+
{{Languages|EtherCAT:EC_VER}}
 +
{{Template:EtherCAT-Function
  
 
|DESCRIPTION=
 
|DESCRIPTION=
In order to communicate with a specific slave we use its address and the functions EC_SDO_READ, EC_SDO_WRITE.<br/>
+
Query the version of the Ethercat Master.
To read data from the slave we have to specify a SDO index and a sub-index.<br/>
 
The first sub-index is 0. If only one sub-index exists, we still have to specify 0 (we cannot omit this field).<br/>
 
The read value is returned from the function and can be set to a variable.<br/>
 
  
 
|INPUT=
 
|INPUT=
Slave address, SDO index, SDO sub-index.
+
None
  
 
|OUTPUT=
 
|OUTPUT=
Line 14: Line 12:
  
 
|RETURN VALUE=
 
|RETURN VALUE=
Query the version of the Ethercat Master.
+
A string that contains the version of the Ethercat Master.
  
 
|DECLARATION=
 
|DECLARATION=

Latest revision as of 09:02, 7 May 2017

Language: English  • 中文(简体)‎

Query the version of the Ethercat Master.

Input

None

Output

None

Return Value

A string that contains the version of the Ethercat Master.

Declaration

public function EC_VER as string

Syntax

?EC_VER