Difference between revisions of "EtherCAT:EC SDO WRITE"

From SoftMC-Wiki
Jump to: navigation, search
Line 3: Line 3:
 
|DESCRIPTION=
 
|DESCRIPTION=
 
In order to communicate with a specific slave we use its address and the functions EC_SDO_READ, EC_SDO_WRITE.
 
In order to communicate with a specific slave we use its address and the functions EC_SDO_READ, EC_SDO_WRITE.
EC_SDO_WRITE sends data to the slave over a specific PDO. We have to specify this PDO, and its sub-index, its size, and the new value<br/>
+
EC_SDO_WRITE sends data to the slave over a specific SDO. We have to specify the SDO's index, and its sub-index, its size, and the new value<br/>
 
that we would like to write to the slave.
 
that we would like to write to the slave.
 
The first sub-index is 0. If only one sub-index exists, we still have to specify 0 (we cannot omit this field).
 
The first sub-index is 0. If only one sub-index exists, we still have to specify 0 (we cannot omit this field).

Revision as of 08:52, 1 May 2013