Omron Sysmac NJ-series User Manual page 272

Machine automation controller cpu unit built-in ethernet/iptm port
Hide thumbs Also See for Sysmac NJ-series:
Table of Contents

Advertisement

8 CIP Message Communications
IF (CIPUCMMWrite_instance.Done=TRUE) THEN
Stage
ELSIF (CIPUCMMWrite_instance.Error=TRUE) THEN
Stage
END_IF;
2 :
CIPUCMMRead_instance(
Execute
RoutePath
TimeOut
SrcDat
Size
DstDat
IF (CIPUCMMRead_instance.Done=TRUE) THEN
Stage
ELSIF (CIPUCMMRead_instance.Error=TRUE) THEN
Stage
END_IF;
3 :
ReqPath.ClassID:=UINT#01;
ReqPath.InstanceID:=UINT#01;
ReqPath.isAttributeID:=TRUE;
ReqPath.AttributeID:=UINT#07;
CIPUCMMSend_instance(
Execute
RoutePath
TimeOut
ServiceCode
RqPath
ServiceDat
Size
RespServiceDat :=RespDat);
IF (CIPUCMMSend_instance.Done=TRUE) THEN
Stage
ELSIF (CIPUCMMSend_instance.Error=TRUE) THEN
Stage
END_IF;
0:
DoUCMMTrigger:=FALSE;
Trigger
ELSE
DoUCMMTrigger:=FALSE;
Trigger
END_CASE;
END_IF;
8-26
:=INT#2;
:=INT#10;
:=TRUE,
:='02\192.168.250.2',
:=UINT#20,
:='OriginalDat',
:=UINT#1,
:=ReadDat);
:=INT#3;
:=INT#40;
:=TRUE,
:='02\192.168.250.2',
:=UINT#20,
:=BYTE#16#0E,
:=ReqPath,
:= Dummy,
:=UINT#0,
:=INT#0;
:=INT#30;
:=FALSE;
:=FALSE;
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
// Normal end
// Error end
// Request reading value of variable.
// Route path
// Timeout value
// Source variable name
// Number of elements to read
// Read data
// Normal end
// Error end
// Send message
// Route path
// Timeout time
// Service code
// Request path
// Service data
// Number of elements
// Response data
// Normal end
// Error end
// Processing after normal end
// Processing after error end

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac nx-seriesSysmac nx1p2-10 seriesSysmac nx1p2-90 seriesSysmac nj501-5 seriesSysmac nj501-4 seriesSysmac nj501-3 series ... Show all

Table of Contents