EasyManuals Logo
Home>Omron>Controller>NX102 series

Omron NX102 series User Manual

Omron NX102 series
256 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 #148 background imageLoading...
Page #148 background image
6 Process Data Communications and SDO Communications
6-22
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
SDO communications are executed in the system service time of the NJ/NX-series CPU Unit. System
services are executed in the period between execution of all of the tasks.
Refer to the NJ/NX-series CPU Unit Software User’s Manual (Cat. No. W501) for details on the execu-
tion timing of system services.
6-2-3 Execution Timing of SDO Communications
Execution condition
SDO parameter
Processing
Read data
Normal end
Error end
Variable Data type Initial value Comment
ST
IF ( (Trigger=TRUE) AND (DoSdoRead=FALSE) AND (_EC_MBXSlavTbl[1]=TRUE) ) THEN
DoSdoRead :=TRUE;
SdoObject.Index :=UINT#16#100A;
SdoObject.Subindex :=USINT#0;
SdoObject.IsCompleteAccess:=FALSE;
EC_CoESDORead_instance(
Execute:=FALSE,
ReadDat:=VersionInfo);
END_IF;
IF (DoSdoRead=TRUE) THEN
EC_CoESDORead_instance(
Execute :=TRUE,
NodeAdr :=UINT#1,
SdoObj :=SdoObject,
TimeOut :=UINT#20,
ReadDat:=VersionInfo);
IF (EC_CoESDORead_instance.Done=TRUE) THEN
NormalEnd:=NormalEnd+UINT#1;
ELSIF (EC_CoESDORead_instance.Error=TRUE) THEN
ErrorEnd :=ErrorEnd+UINT#1;
END_IF;
END_IF;
// Detect when Trigger changes to TRUE.
// Execute EC_CoESDORead instruction.
// Initialize instance.
// Dummy
// Node address 1
// SDO parameter
// Timeout time: 2.0 s
// Read data
// Processing after normal end
// Processing after error end
Trigger
SdoObject
DoSdoRead
VersionInfo
NormalEnd
ErrorEnd
EC_CoESDORead_instance
False
(Index:=0, Subindex:=0,
IsCompleteAccess:=False)
False
ā€˜ā€™
0
0
BOOL
_sSDO_ACCESS
BOOL
STRING[256]
UINT
UINT
EC_CoESDORead
_EC_MBXSlavTbl
ARRAY[1..192] OF BOOL
Constant
Internal
Variables
External
Variables
Variable Data type Comment
Message Communications Enabled Slave Table

Table of Contents

Other manuals for Omron NX102 series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX102 series and is the answer not in the manual?

Omron NX102 series Specifications

General IconGeneral
BrandOmron
ModelNX102 series
CategoryController
LanguageEnglish

Related product manuals