EasyManuals Logo
Home>Omron>Controller>NX502-1 Series

Omron NX502-1 Series User Manual

Omron NX502-1 Series
66 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #53 background imageLoading...
Page #53 background image
Function
The SendCmd instruction sends the contents of command array CmdDat[] to the destination specified
with destination network address DstNetAdr and destination serial port CommPort.
The command data size CmdSize
specifies how many elements of CmdDat[] contain the command.
The response that is returned is stored in response storage array RespDat[].
The data type of
DstNetAdr is structure _sDNET_ADR. The specifications are as follows:
Name Meaning Description Data type Valid range Unit Default
DstNetAdr
Destination
network ad-
dress
Destination network ad-
dress
_sDNET_AD
R
--- --- ---
NetNo
Network ad-
dress
Network address USINT 0 to 127
---
0
NodeNo Node address Node address USINT
Depends on
data type.
UnitNo Unit address Unit address BYTE
Depends on
data type.
16#00
The data type of CommPort is enumerated type _ePORT
.
The meanings of the enumerators of enumerated type _ePORT are as follows:
Enumerators Meaning
_NONE The destination is not a serial port in Host Link Mode.
The data type of Option is structure _sRESPONSE. The specifications are as follows:
Name Meaning Description Data type Valid range Unit Default
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
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
Time
s
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 multiplied by 0.1 s. However, if the value of Option.TimeOut is 0,
the timeout time is 2.0 s. The default value of Option.TimeOut is 2.0 s.
3 Client Function
3-15
NX-series CPU Unit FINS Function User's Manual (W596)
FINS Communications Instructions
3
SendCmd

Other manuals for Omron NX502-1 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX502-1 Series and is the answer not in the manual?

Omron NX502-1 Series Specifications

General IconGeneral
BrandOmron
ModelNX502-1 Series
CategoryController
LanguageEnglish

Related product manuals