EasyManuals Logo

Omron NX1 Series User Manual

Omron NX1 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 #50 background imageLoading...
Page #50 background image
Inter-
nal
varia-
ble
Name Data type Initial value Comment
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,
T
imeOut:=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
External variable Name Data type Comment
_Port_isAvailable BOOL Network Communications Instruction Enabled Flag
IF ( (Trigger=TRUE) AND (DoFinsTrigger=FALSE) AND (_Port_isAvailable=TRUE) ) THEN
State:= 1;
DoFinsTrigger:=TRUE;
SendExecute := FALSE; // Send execution status
RcvExecute := FALSE; // Rcv execution status
InDNetAdr.NetNo :=USINT#0; // Set network address.
InDNetAdr.NodeNo :=USINT#2;
InDNetAdr.UnitNo :=BYTE#16#0;
InOption.isNonResp :=FALSE; // Set
InOption.TimeOut :=UINT#20;
InOption.Retry :=USINT#2;
SrcDat[0] :=WORD#16#1234; // Set command array.
SrcDat[1] :=WORD#16#5678;
END_IF;
IF (DoFinsTrigger=TRUE) THEN
SendInstance( Execute := SendExecute,
DstNetAdr := InDNetAdr,
CommPort := _NONE,
SrcDat := SrcDat[0],
SendSize := 2,
DstArea := _DM,
DstCh := 100,
Option := InOption);
RcvInstance ( Execute := RcvExecute,
SrcNetAdr := InDNetAdr,
CommPort := _NONE,
SrcArea := _DM,
3 Client Function
3-12
NX-series CPU Unit FINS Function User's Manual (W596)

Other manuals for Omron NX1 Series

Questions and Answers:

Question and Answer IconNeed help?

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

Omron NX1 Series Specifications

General IconGeneral
BrandOmron
ModelNX1 Series
CategoryController
LanguageEnglish

Related product manuals