Omron NX502-1 Series User Manual page 44

Machine automation controller cpu unit
Table of Contents

Advertisement

3 Client Function
Enumerator
_EM18
24 bank area of Expansion Memory Area
The data type of Option is structure_sRESPONSE. The specifications are shown below.
Variable
Option
isNonResp
TimeOut
Retry
If no response is returned within the timeout time Option.TimeOut when the value of the Response Not
Necessary Flag Option.isNonResp is FALSE, the command is retried until the response is returned.
The retry count is specified by Option.Retry.
The timeout time is Option.TimeOut x 0.1 s. However, when the value of Option.TimeOut is 0, the
timeout time becomes 2.0 s. The initial value of Option.TimeOut is also 2.0 s.
Related System-defined Variables
Name
_Port_numUsingPort
_Port_isAvailable
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 SendSize is 0. In that 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.
3-6
Meaning
Name
Contents
Response monitoring
Response
and retry specifications
TRUE: Response is not
required.
No response
FALSE: Response is re-
quired.
Timeout time
Timeout Time
0: 2.0 s
Retry count
Retry count
Data
Meaning
Number of Used
USINT
Ports
Network Communi-
cations Instruction
BOOL
Enabled Flag
Data type
_sRES-
PONSE
BOOL
UINT
USINT
type
This is the number of ports that are currently used.
TRUE: A port is available.
FALSE: A port is not available.
NX-series CPU Unit FINS Function User's Manual (W596)
Initial
Valid range
Unit
value
---
---
---
---
FALSE
Depends on
the data type
20
0.1 s
(2.0 s)
Cou
0 to 15
0
nt
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents