9 Setting Up Slave Terminals
9 - 32
NX-series EtherCAT Coupler Unit User’s Manual (W519)
To access the status of the EtherCAT Slave Terminal from the user program in the NJ-series CPU Unit,
assign devices variables to the I/O ports for the status.
Refer to
Allocatable I/O Data in an EtherCAT Coupler Unit
on page 9-14 under
on page 9-13 for the I/O ports that you can assign.
Testing the Validity of I/O Data for Individual Units
The NX Unit I/O Data Active Status and the NX Unit Error Status are assigned to the EtherCAT Cou-
pler Unit.
Testing Whether Individual NX Units Can Process Message Communications
To test whether a Unit can process message communications, assign the NX Unit Message Enabled
Status to the EtherCAT Coupler Unit.
Additional Information
To use the built-in EtherCAT port in the NJ-series CPU Unit as the EtherCAT master to access
the status of the EtherCAT Slave Terminal as an EtherCAT slave, use the system-defined vari-
ables in the EtherCAT Master Function Module. Refer to the
NJ-series CPU Unit Built-in Ether-
CAT Port User's Manual
(Cat. No. W505) for details.
9-3-3
I/O Ports for Status That Accept Device Variable Assignments
I/O Ports for Status
Programming Sample Using I/O Ports for Status
The I/O data is manipulated in the NX Unit at NX Unit number 10 in the EtherCAT Coupler Unit
with node address 5.
*
_node5UnitRun[10]
: This is a device variable for the EtherCAT Coupler Unit (with node address 5)
to which the NX Unit I/O Data Active Status (NX Unit number 10) is assigned.
*
_node5UnitErr[10]
: This is a device variable for the EtherCAT Coupler Unit (with node address 5)
to which the NX Unit Error Status (NX Unit number 10) is assigned.
_node5UnitRun[10]
_node5UnitErr[10]
_EC_PDSlavTbl[5]
_EC_CommErrTbl[5]
MemCopy
EN
In
AryOut
Size
ENO
Out
MemCopy1
In1[1]
AryOut1[1]
UINT#3
AryOut1[1]
The Write NX Unit Object instruction is used to send a message to the NX Unit at NX Unit number 10 in
the EtherCAT Coupler Unit with node address 5.
_node5UnitMsg[10]
: This is a device variable for the EtherCAT Coupler Unit (with node address 5)
to which the NX Unit Message Enabled Status (NX Unit number 10) is assigned.
_EC_PDSlavTbl[5]
_node5UnitMsg[10]
0
_EC_CommErrTbl[5]
NX_WriteObj
Execute
UnitProxy
Obj
WriteDat
Done
TimeOut
Busy
Error
ErrorID
ErrorIDEx
NX_WriteObj1
UnitProxy1
Obj1
WriteDat1
Содержание NX-ECC201
Страница 38: ...Sections in this Manual 36 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 46: ...1 EtherCAT Networks 1 8 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 56: ...2 Features and System Configuration 2 10 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 68: ...3 Specifications and Application Procedures 3 12 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 82: ...4 Part Names and Functions 4 14 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 100: ...5 Designing the Power Supply System 5 18 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 214: ...9 Setting Up Slave Terminals 9 44 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 254: ...11 EtherCAT Coupler Unit Functions 11 30 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 278: ...12 Communications Performance 12 24 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 340: ...14 Maintenance and Inspection 14 8 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 400: ...Appendices A 60 NX series EtherCAT Coupler Unit User s Manual W519...
Страница 401: ...Index 1 NX series EtherCAT Coupler Unit User s Manual W519 I Index...
Страница 405: ......