EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 Instruction Descriptions
2-730
NJ-series Instructions Reference Manual (W502)
The EC_CoESDORead instruction reads data from the CoE object of the node specified with slave
node address NodeAdr. The read data is stored in ReadDat. Then size of data that was stored is stored
in ReadSize. The value of ReadSize is valid only when the data was stored successfully.
The SDO parameter is specified with SdoObj.
The data type of SdoObj is structure _sSDO_ACCESS. The specifications are as follows:
After the read is completed, the instruction waits for the response for the time specified with timeout
time TimeOut. The response is stored in AbortCode. AbortCode is 0 for a normal response. A value is
stored in AbortCode only when the value of ErrorID is 16#1804 (SDO abort response).
The meaning and values of AbortCode depend on the slave. Refer to the manual for the slave.
The following figure shows a timing chart. A value is stored in AbortCode when Busy changes to FALSE
after the completion of instruction processing.
Refer to the NJ-series CPU Unit Built-in EtherCAT Port User’s Manual (Cat. No. W505) for details on
EtherCAT communications.
Refer to A-4 SDO Abort Codes on page A-47 for the SDO abort codes.
Function
Name Meaning Description Data type Valid range Unit Default
SdoObj SDO parame-
ter
SDO parameter _sSDO_
ACCESS
--- --- ---
Index Index Index number in the
object dictionary defined
in CoE
UINT 1 to 65535
--- ---
Subindex Subindex Subindex number in the
object dictionary defined
in CoE
USINT
Depends on
data type.
IsCompleteAc-
cess
Complete
access
Specification of com-
plete access of SDO
TRUE:Access data for
all subindexes
FALSE:Access data for
the specified
subindex
BOOL
Related System-defined Variables
Name Meaning Data type Description
_EC_MBXSlaveTbl[i]
“i” is the node address.
Message Communica-
tions Enabled Slave
Tabl e
BOOL This variable indicates when communications are
possible for each slave.
TRUE: Communications are possible.
FALSE: Communications are not possible.
Additional Information
Execute
Busy
Done
AbortCode
TRUE
FALSE
Cleared to 0.
Updated to result.
Task period
TRUE
FALSE
TRUE
FALSE

Table of Contents

Related product manuals