a) A member of
SrcNetAdr
is outside of its range.
b) Broadcasting (SrcNetAdr.NodeNo.=255) is set.
c) Any of
SrcArea
,
SrcCh
, and
RcvSize
is outside of its range.
d) The value of
RcvSize
exceeds the size of
DstDat[]
.
e) The data type that is not supported is specified for
DstDat[]
.
f) A member of
Option
is outside of its range.
g)
Option.isNonResp
is TRUE and this instruction is executed.
h) The value of
_Port_isAvailable
is FALSE.
i) Communications fail.
Sample Programming
A 2CH data write command is sent to DM100 of network No. 0, node No. 2, and Unit No. 0. Then, the
2CH data read command is sent from DM100.
Send “12345678”
Ethernet cable
Receive “12345678”
Node address 1
Node address 2
ST
Inter-
nal
varia-
ble
Name
Data type
Initial value
Comment
Trigger
BOOL
FALSE
Execution condition
DoFinsTrigger BOOL
FALSE
Processing
SendExecute
BOOL
FALSE
Send instruction execution flag
RcvExecute
BOOL
FALSE
Rcv instruction execution flag
State
SINT
0
Sample programming status
InDNetAdr
_sDNET_ADR
NetNo:=0, NodeNo:=0,
UnitNo:=16#0
Network address at send desti-
nation
InOption
_sRESPONSE
isNonResp:=FALSE,
TimeOut:=0, Retry:=0
Response
SrcDat
ARRAY [0..1] OF
WORD
[2(16#0)]
Send data
DstDat
ARRAY [0..1] OF
WORD
[2(16#0)]
Receive data
SendInstance
Send
Send instance
RcvInstance
Rcv
Rcv instance
3 Client Function
3 - 11
NX-series CPU Unit FINS Function User's Manual (W596)
FINS Communications Instructions
3
Rcv
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: ......