SendCmd
Issues a desired command and receives a response.
Instruction
Name
FB/
FUN
Graphic expression
ST expression
SendCmd
Send Com-
mand
FB
SendCmd
SendCmd
_instance
Execute
DstNetAdr
Done
CommPort
CmdDat
Option
Error
ErrorID
CmdSize
Busy
ErrorIDEx
RespDat
SendCmd_instance(Execute,
DstNetAdr, CommPort, CmdDat,
CmdSize, RespDat, Option, Done,
Busy, Error, ErrorID, ErrorIDEx);
Variables
Meaning
I/O
Description
Valid range
Unit
Default
DstNetAdr
Destination network
address
Input
Destination network
address
---
---
---
CommPort
Destination serial port
Destination serial port
_NONE
_NONE
CmdDat[]
(array)
Command array
Command to send
Depends on da-
ta type.
CmdSize
Command data size
Command data size
0 to max. data
Bytes
2
Option
Response
Response monitoring
and retry specifications
---
---
---
RespDat[]
(array)
Response storage ar-
ray
In-out
Array to store re-
sponse
Depends on da-
ta type.
---
---
*1.
If you omit an input parameter, the default value is not applied. A building error will occur.
*2.
This may vary depending on the network type.
Boo
lean
Bit strings
Integers
Real
num-
bers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DA
TE
T
OD
DT
STRING
DstNetAdr
on page 3 - 15 for details on the structure _sDNET_ADR.
CommPort
For enumeration_ePORT enumerator, refer to
CmdDat[]
(array)
OK
CmdSize
OK
Option
on page 3 - 15 for details on the structure _sRESPONSE.
RespDat[]
(array)
OK
3 Client Function
3 - 14
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: ......