Changeipadr - Omron NY532-5400 Reference Manual

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

Advertisement

ChangeIPAdr

The ChangeIPAdr instruction changes the IP address of the built-in EtherNet/IP port on a CPU Unit or
the IP address of an EtherNet/IP Unit.
Instruction
Name
ChangeIPAdr
Change IP
Address
Variables
Name
Meaning
UnitNo
Unit number
BootP
IP address
Control
assignment
method and
setting timing
IPAdr[]
IP address
*7
(array)
Subnet
Subnet mask
Mask[]
*7
(array)
Default
Default
Gateway[]
gateway
*7
(array)
*1 Specification is possible for an NJ-series CPU Unit.
*2 Specification is possible for port 1 on an NX-series CPU Unit or an NY-series Controller. You can specify _CBU_CPU
instead of _CBU_CPU_Port1.
*3 Specification is possible for port 2 on an NX-series CPU Unit.
*4 Specification is possible for an NY-series Controller.
*5 Specification is possible for an NJ-series CPU Unit.
*6 The range is 0 to 2 for port 1 on an NX-series CPU Unit, for NJ-series CPU Unit, and for an NY-series Controller. The
range is 0 to 3 for port 2 on an NX-series CPU Unit. The range is 0 for the internal port on an NY-series Controller.
*7 This is a 4-element array with element numbers 0 to 3.
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
FB
ChangeIPAdr_instance
ChangeIPAdr
Execute
UnitNo
BootPControl
IPAdr
SubnetMask
DefaultGateway
I/O
Description
Input
Unit number for which to change
the IP address
Method to obtain the IP address
and the setting timing
IP address
Subnet mask
Default gateway
2 Instruction Descriptions
ST expression
ChangeIPAdr_instance(
Execute,
UnitNo,
Done
BootPControl,
Busy
IPAdr,
Error
SubnetMask,
ErrorID
DefaultGateway,
Done,
Busy,
Error,
ErrorID);
Valid range
*1
---
_CBU_CPU
,
_CBU_CPU_P
*2
ort1
,
_CBU_CPU_P
*3
ort2
,
_CBU_CPU_In
*4
Port1
, or
_CBU_No00 to
*5
_CBU_No15
*6
0 to 3
*8
Unit
Default
_CBU_No00
0
---
2-1091
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents