EasyManuals Logo

Omron NJ501-1500 User Manual

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
Page #800 background imageLoading...
Page #800 background image
2 Instruction Descriptions
2-752
NJ-series Instructions Reference Manual (W502)
EC_ConnectSlave
The EC_ConnectSlave instruction connects the specified slave to the EtherCAT network.
The EC_ConnectSlave instruction connects the slave specified with slave node address NodeAdr to the
EtherCAT network.
Here, connection to the network means that the slave exists on the network and it is placed in a state in
which it operates.
Refer to the NJ-series CPU Unit Built-in EtherCAT Port User’s Manual (Cat. No. W505) for details on
EtherCAT communications.
Instruction Name
FB/
FUN
Graphic expression ST expression
EC_ConnectSl
ave
Connect Ether-
CAT Slave
FB EC_ConnectSlave_instance(Execute,
NodeAdr, Done, Busy, Error, ErrorID);
Variables
Name Meaning I/O Description Valid range Unit Default
NodeAdr Slave node
address
Input Node address of the slave to
connect
1 to 192 --- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
NodeAdr OK
Function
Related System-defined Variables
Name Meaning Data type Description
_EC_EntrySlavTbl[i]
“i” is the node address.
Network Connected
Slave Table
BOOL[] This variable shows if slaves are part of (i.e., exist on)
the network.
TRUE: Part of the network.
FALSE: Not part of the network.
_EC_DisconnSlavTbl[i]
“i” is the node address.
Disconnected Slave
Tab le
BOOL[] This variable shows the slaves for which there are
currently disconnect commands in effect.
TRUE: Disconnect command is in effect.
FALSE: Disconnect command is not in effect.
Additional Information
EC_ConnectSlave
Execute Done
NodeAdr Busy
Error
ErrorID
EC_ConnectSlave_instance

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals