Enumerator
Meaning
_EM18
24 bank area of Expansion Memory Area
The data type of
Option
is structure_sRESPONSE. The specifications are shown below.
Variable
Name
Contents
Data type
Valid range
Unit
Initial
value
Option
Response
Response monitoring
and retry specifications
_sRES-
PONSE
---
---
---
isNonResp
No response
TRUE: Response is not
required.
FALSE: Response is re-
quired.
BOOL
Depends on
the data type
---
FALSE
TimeOut
Timeout Time
Timeout time
0: 2.0 s
UINT
0.1 s
20
(2.0 s)
Retry
Retry count
Retry count
USINT
0 to 15
Cou
nt
0
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
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.
FALSE: 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
SendSize
is
0
. When the instruction is executed, 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
, it is recommended to retry the process.
• 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. If this instruction is not executed every task pe-
riod, the normal process may not be performed.
• This instruction cannot be used on the event task. An error occurs during compiling.
• An error occurs in the following cases.
Error
will change to TRUE.
a) A member of
DstNetAdr
is outside of its range.
3 Client Function
3 - 6
NX-series CPU Unit FINS Function User's Manual (W596)
Summary of Contents for NX102-10 Series
Page 24: ...Sections in this Manual 22 NX series CPU Unit FINS Function User s Manual W596...
Page 36: ...2 Server Function 2 6 NX series CPU Unit FINS Function User s Manual W596...
Page 40: ...2 Server Function 2 10 NX series CPU Unit FINS Function User s Manual W596...
Page 65: ...I Index I 1 NX series CPU Unit FINS Function User s Manual W596 I...
Page 67: ......