Difference between revisions of "EtherCAT:EC PDO READ"
Line 22: | Line 22: | ||
|EXAMPLE= | |EXAMPLE= | ||
− | retVal = EC_PDO_READ(2, 0x6041,0) ' Read status word | + | retVal = EC_PDO_READ(2, 0x6041, 0) ' Read status word |
+ | retVal = EC_PDO_READ(2, EC_STATUS_INDEX, EC_STATUS_SUBINDEX) | ||