Omron NY532-5400 User Manual page 222

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

8 CIP Message Communications
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;
8-26
:=TRUE,
:=CIPOpen_instance.Handle,
:=ReqPath,
:=UINT#0,
:=INT#5;
:=INT#40;
:=TRUE,
:=CIPOpen_instance.Handle);
:=INT#0;
:=INT#50;
:=FALSE;
:=FALSE;
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)
// 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

Advertisement

Table of Contents
loading

Table of Contents