Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
END_IF;
IF (DoUCMMTrigger=TRUE) THEN
CASE Stage OF
1 :
CIPUCMMWrite_instance(
IF (CIPUCMMWrite_instance.Done=TRUE) THEN
Stage:=INT#2;
ELSIF (CIPUCMMWrite_instance.Error=TRUE) THEN
Stage:=INT#10;
2 :
CIPUCMMRead_instance(
IF (CIPUCMMRead_instance.Done=TRUE) THEN
ELSIF (CIPUCMMRead_instance.Error=TRUE) THEN
END_IF;
3 :
ReqPath.ClassID
ReqPath.InstanceID
ReqPath.isAttributeID:=TRUE;
ReqPath.AttributeID
CIPUCMMSend_instance(
IF (CIPUCMMSend_instance.Done=TRUE) THEN
ELSIF (CIPUCMMSend_instance.Error=TRUE) THEN
END_IF;
0:
DoUCMMTrigger:=FALSE;
Trigger
ELSE
DoUCMMTrigger:=FALSE;
Trigger
END_CASE;
END_IF;
2-1044
// Request writing value of variable.
Execute
:=TRUE,
RoutePath:='02\192.168.250.2',
TimeOut
:=UINT#20,
DstDat
:='WritingDat',
Size
:=UINT#1,
SrcDat
:=WriteDat);
// Normal end
// Error end
END_IF;
// Request reading value of variable.
Execute
:=TRUE,
RoutePath:='02\192.168.250.2',
TimeOut
:=UINT#20,
SrcDat
:='OriginalDat',
Size
:=UINT#1,
DstDat
:=ReadDat);
Stage:=INT#3;
// Normal end
Stage:=INT#40;
// Error end
// Send message
:=UINT#01;
:=UINT#01;
:=UINT#07;
Execute
:=TRUE,
RoutePath
:='02\192.168.250.2',
TimeOut
:=UINT#20,
ServiceCode
:=BYTE#16#0E,
RqPath
:=ReqPath,
ServiceDat
:=Dummy,
Size
:=UINT#0,
RespServiceDat:=ResDat);
Stage:=INT#0;
// Normal end
Stage:=INT#30;
// Error end
// Processing after normal end
:=FALSE;
// Processing after error end
:=FALSE;
// Route path
// Timeout time
// Destination variable name
// Number of elements to write
// Write data
// Route path
// Timeout time
// Destination variable name
// Number of elements to read
// Read data
// Route path
// Timeout time
// Service code
// Request path
// Service data
// Number of elements
// Response data

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents