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
Precautions for Correct Use
• Execution of this instruction is continued until processing is completed even if the value of Execute
changes to FALSE or the execution time exceeds the task period. The value of Done changes to
TRUE when processing is completed. Use this to confirm normal completion of processing.
• Refer to Using this Section on page 2-3 for a timing chart for Execute, Done, Busy, and Error.
• If you specify the built-in EtherNet/IP port with UnitNo, communications with the built-in EtherNet/IP
port will be disabled temporarily when execution of the instruction ends. Confirm that the system will
not be adversely affected even if the built-in EtherNet/IP port goes to link OFF status.
• If you specify an EtherNet/IP Unit with UnitNo, the EtherNet/IP Unit is restarted when execution of the
instruction ends. Confirm that the system will not be adversely affected even if the EtherNet/IP Unit is
restarted.
• You cannot use this instruction in an event task. A compiling error will occur.
• Error is TRUE if an error occurred. The meanings of the values of ErrorID are given in the following
table.
Value of ErrorID
16#0400
16#2400
16#2402
16#240D
Version Information
A CPU Unit with unit version 1.02 or later and Sysmac Studio version 1.03 or higher are required
to use this instruction.
Sample Programming
This sample changes the IP address of the built-in EtherNet/IP port to the following fixed IP address.
Item
IP address
Subnet mask
Default gateway
LD
Variable
ChangeTrigger
SettingTrigger
Done0
Error0
Busy0
ErrorID0
2-1096
Error name
Input Value Out of
Range
No Execution Right
Too Many Simultane-
ous Instruction Exe-
cutions
IP Address Setting
Invalid
192.168.250.10
255.255.255.0
0.0.0.0
Data type
BOOL
False
BOOL
False
BOOL
False
BOOL
False
BOOL
False
WORD
16#0
Description
The value of an input variable is outside of the valid range.
The instruction was executed when changing the status was
not possible.
• While changing the settings was already in progress
• While restarting the built-in EtherNet/IP port was in progress
• While downloading tag data link settings from the Network
Configurator was in progress
Too many ChangeIPAdr, ChangeFTPAccount, and ChangeNT-
PServerAdr instructions were executed at the same time.
The network address of the specified port is the same as the
network address of another port.
Value
Initial value
Change Flag
Changing IP Address Flag
IP address changed
Error in changing the IP address
Changing IP address
Error ID for changing the IP
address

NY-series Instructions Reference Manual (W560)

Comment

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents