Omron sysmac NX102-9 Series Owner's Manual page 289

Machine automation controller, cpu unit built-in ethernet/iptm port
Table of Contents

Advertisement

4 :
ReqPath.ClassID :=UINT#01;
ReqPath.InstanceID :=UINT#01;
ReqPath.isAttributeID:=TRUE;
ReqPath.AttributeID :=UINT#07;
CIPSend_instance(
Execute
Handle
ServiceCode:=BYTE#16#0E,
RqPath
ServiceDat :=Dummy,
Size
RespServiceDat:=RespDat);
IF (CIPSend_instance.Done=TRUE) THEN
Stage
ELSIF (CIPSend_instance.Error=TRUE) THEN
Stage
END_IF;
5 :
CIPClose_instance(
Execute
Handle
IF (CIPClose_instance.Done=TRUE) THEN
Stage
ELSIF (CIPClose_instance.Error=TRUE) THEN
Stage
END_IF;
0:
DoCIPTrigger:=FALSE;
Trigger
ELSE
DoCIPTrigger :=FALSE;
Trigger
END_CASE;
END_IF;
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
:=TRUE,
:=CIPOpen_instance.Handle,
:=ReqPath,
:=UINT#0,
:=INT#5;
:=INT#40;
:=TRUE,
:=CIPOpen_instance.Handle);
:=INT#0;
:=INT#50;
:=FALSE;
:=FALSE;
8 CIP Message Communications
// Send message
// Handle
// Service code
// Request path
// Service data
// Number of elements
// Response data
// Normal end
// Error end
// Request closing CIP class 3 connection.
// Handle
// Processing after normal end
// Processing after error end
8
8-33

Advertisement

Table of Contents
loading

Table of Contents