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
Item in above formula
Path information size
* A hop is routing between the sending node and receiving node. For example, if the route path is
02\192.168.250.2\01\#00, the message is first routed to the node with an IP address of 192.168.250.2 to send
the message to unit address 00. This involves one hop.
Related System-defined Variables
Name
*1
_EIP_EtnOnlineSta
*2
_EIP1_EtnOnlineSta
*3
_EIP2_EtnOnlineSta
*4
_EIPIn1_EtnOnlineSta
*1 Use this variable name for an NJ-series CPU Unit.
*2 Use this variable name for port 1 on an NX-series CPU Unit, or for an NY-series Controller.
*3 Use this variable name for port 2 on an NX-series CPU Unit.
*4 Use this variable name for the internal communication port on an NY-series Controller.
2-1032
• If there are no hops, the path information size is 0 bytes.*
• If there are hops, the path information size is the route path size plus 12
bytes.
• The route path size is the bytes size of the ASCII characters in the route
path.
• However, the following precautions apply.
• If the address portion starts with "#", calculate the network and address
portions as a total of 2 bytes.
• If the address portion does not start with "#", calculate the network portion
as 2 bytes.
• If the address portion does not start with "#" and the number of bytes in
the ASCII characters for the address portion is an odd number, add 1
byte.
• Do not include the level separator, "\", between levels of the route path in
the route path size.
• Do not include the first hop in the route path size.
Example 1: When the Route Path Is 01\#11\02\192.168.250.2\01\#01
• The first hop in the route path size is not included, so ignore '01\#11' at
the start of the path.
• The network type is '02', so use 2 bytes in the calculation.
• The address portion is '192.168.250.2', so use 13 bytes in the calculation.
It is an odd number, so 1 is added to make 14 bytes.
• For the following '01\#01', the address portion starts with "#", so the net-
work and address portions are calculated as a total of 2 bytes.
• If you add all of the above sizes, the size of the route path is 18 bytes.
• If we then add 12 bytes to the route path size, the path information size is
30 bytes.
Example 2: When the Route Path Is 02\192.168.250.2\01\#00
• The first hop in the route path size is not included, so ignore
'02\192.168.250.2' at the start of the path.
• For the following '01#01', the address portion starts with "#", so the net-
work and address portions are calculated as a total of 2 bytes.
• Therefore, the size of the route path is 2 bytes.
• If we then add 12 bytes to the route path size, the path information size is
14 bytes.
Example 3: When the Route Path Is 02\192.168.250.2
• If there are no hops, the path information size is 0 bytes.
Data
Meaning
type
Online
BOOL
Meaning
Description
This variable indicates when built-in EtherNet/IP
port communications can be used.
TRUE: Communications are possible.
FALSE: Communications are not possible.

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents