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 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.
j) 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.
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”
Etherne
t 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
3 Client Function
3-11
NX-series CPU Unit FINS Function User's Manual (W596)
FINS Communications Instructions
3
Rcv