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

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

Advertisement

Bit strings
DevicePort
SendDat[]
OK
(array)
SendSize
SendCfg
Option
Abort
OK
Command-
OK
Aborted
Function
The NX_SerialSend instruction sends data in No-protocol Mode from the specified port on an NX-series
Communications Interface Unit or Option Board.
The data type of the DevicePort input variable is structure _sDEVICE_PORT. The specifications are as
follows:
Name
DevicePort
DeviceType
NxUnit
EcatSlave
OptBoard
Reserved
PortNo
Use DeviceType to specify the device type. Set this to _DeviceNXUnit for an NX Unit and _DeviceOp-
tionBoard for an Option Board. The variable used to specify the device is determined by the specified
device type.
To specify an NX Unit, use NxUnit to specify the device.
In this case, EcatSlave and OptBoard are not used.
To NxUnit, pass the device variable that is assigned to the node location information on the I/O Map for
the device to specify.
To specify an Option Board, use OptBoard to specify the device.

NY-series Instructions Reference Manual (W560)

Refer to Function for details on the structure _sDEVICE_PORT.
OK
Refer to Function for details on the structure _sSERIAL_CFG.
Refer to Function for details on the structure _sSERIAL_SEND_OPTION.
Meaning
Description
Object that rep-
Device port
resents a device port
Type of the device to
Device type
specify
Specified Unit
NX Unit to control
EtherCAT slave to
Specified slave
control
Specified
Option Board to
Option Board
control
Reserved
Reserved
Port number
Port number
1: Port 1
2: Port 2
Integers
Data type
_sDEVICE_PORT
_eDEVICE_TYPE
_sNXUNIT_ID
_sECAT_ID
_sOPTBOARD_ID
Reserved
USINT
2 Instruction Descriptions
Times, durations,
dates, and text strings
Valid range
Unit Default
---
---
---
_DeviceNXUnit
_DeviceEcat-
Slave
---
---
_DeviceOption-
Board
---
---
---
---
---
---
---
---
---
---
---
---
Depends on
---
---
data type.
2-1157
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents