EasyManuals Logo

Omron NX502-1 Series User Manual

Omron NX502-1 Series
66 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #54 background imageLoading...
Page #54 background image
Related System-defined Variables
Name Meaning
Data
type
Description
_Port_numUsingPort
Number of Used
Ports
USINT This is the number of ports that are currently used.
_Port_isAvailable
Network Communi-
cations Instruction
Enabled Flag
BOOL
TRUE: A port is available.
F
ALSE: A port is not available.
Precautions for Correct Use
This instruction can be executed only when there is an available port. Therefore, use the system-
defined variable _Port_isAvailable
(Network Communications Instruction Enabled Flag) in an N.O.
execution condition for the instruction.
The command is not sent if the value of CmdSize is 0. In thar case, the value of Done changes to
TRUE.
During execution of this instruction, set Option.Retry to a value other than 0 by considering the case
when the send message or response is lost due to noise that occurs during communication. If no
response is returned within Option.TimeOut, try to resend the message.
Refer to the CS/CJ/CP/NSJ-series Communications Commands Reference Manual (Cat. No. W342)
for specification of network address.
The FINS routing specification in the NX-series CPU Units differ from those in the CS/CJ-series
CPU Units.
Refer to A-1 Difference Between CS/CJ-series and NX-series in FINS Routing on page A-2 for
information on differences in routing specification.
When this instruction is written in the ST program, make sure that the instruction is executed for
each task period during execution of this instruction. Otherwise, normal processing may not be pos-
sible.
You cannot use this instruction in an event task. A compiling error will occur.
An error will occur in the following cases. Error will change to TRUE.
a) A member of DstNetAdr is outside of its range.
b) CmdSize is outside of its range.
c) The value of CmdSize exceeds the size of CmdDat[].
d) A member of Option is outside of its range.
e) The response size exceeds the size of RespDat[].
f) The value of _Port_isAvailable is FALSE.
g) Communications fail.
h) The Do not use option is selected for FINS/UDP and FINS/TCP connection has not been estab-
lished.
If the value of Error code "Error ID" is WORD#16#0800, the expansion error code "ErrorIDEx" has
the meaning of end code for the communication command in this instruction.
Refer to End Codes in 5-1 Command Lists of the SYSMAC CS/CJ/CP/NSJ-series Communications
Commands Reference Manual (Cat. No. W342) for details.
3 Client Function
3-16
NX-series CPU Unit FINS Function User's Manual (W596)

Other manuals for Omron NX502-1 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX502-1 Series and is the answer not in the manual?

Omron NX502-1 Series Specifications

General IconGeneral
BrandOmron
ModelNX502-1 Series
CategoryController
LanguageEnglish

Related product manuals