Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
Sample Programming
In this sample, an NX-series Communications Interface Unit (NX-CIF210) is connected to an EtherCAT
Coupler Unit (NX-ECC203).
The unit number of the NX-CIF210 is set to 1.
Built-in EtherCAT port
EtherCAT Coupler Unit
NX-ECC203
Data that was read by the barcode reader which is connected to serial port 2 of the NX-CIF210 is
obtained.
The receive data is stored in the RecvDat in-out variable. There is no start code. End code is 16#OD
(CR).
The settings of NX-CIF210 are given in the following table.
Port 2: Baud Rate
Port 2: Data Length
Port 2: Parity
Port 2: Stop Bits
Port 2: Flow Control
Definitions of Global Variables
Global Variables
Name
E001_NX_Unit_I_O_Data_Ac-
tive_Status_63
N1_Node_location_information
*1 On the Sysmac Studio, right-click an NX-series slave terminal unit, select Display Node Location Port, and
set the device variable. Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504-E1-07 or
later) for details.
2-1178
NX-series
Communications
Interface Unit
NX-CIF210
Item
38,400 bps
8 bits
None
1 bit
None
Data type
ARRAY[0..63] OF
BOOL
_sNXUNIT_ID
Set value
AT
ECAT://node#1/NX Unit
I/O Data Active Status
125
---

NY-series Instructions Reference Manual (W560)

Comment
Usage of I/O data for 63 NX
Units.
Device variable to specify
*1
NX-CIF210

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents