Omron NY532-5400 User Manual page 220

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
ST
Internal
Variables
Trigger
DoCIPTrigger
Stage
WriteDat
ReadDat
ReqPath
RespDat
Dummy
CIPOpen_instance
CIPWrite_instance
CIPRead_instance
CIPSend_instance
CIPClose_instance
External
Variables
_EIP_EtnOnlineSta
*1 Replace the variable name with _EIP1_EtnOnlineSta (Port1 Online) or _EIPIn1_EtnOnlineSta (Internal Port1
Online), depending on which communications port you use.
// Start sequence when Trigger changes to TRUE.
IF ((Trigger=TRUE) AND (DoCIPTrigger=FALSE) AND (_EIP_EtnOnlineSta=TRUE))THEN
DoCIPTrigger:=TRUE;
Stage
CIPOpen_instance(Execute:=FALSE);
CIPWrite_instance(
Execute
SrcDat
CIPRead_instance(
Execute
DstDat
CIPSend_instance(
Execute
ServiceDat
RespServiceDat
CIPClose_instance(Execute:=FALSE);
END_IF;
8-24
Variable
Data type
BOOL
BOOL
INT
INT
INT
_sREQUEST_
PATH
ARRAY[0..10] OF
BYTE
BYTE
CIPOpen
CIPWrite
CIPRead
CIPSend
CIPClose
Variable
Data type
*1
BOOL
:=INT#1;
:=FALSE,
:=WriteDat);
:=FALSE,
:=ReadDat);
:=FALSE,
:= Dummy,
:=RespDat);
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)
Initial value
False
False
0
1234
0
(ClassID:=0, InstanceID:=0,
isAttributeID:=False, AttributeID:=0)
[11(16#0)]
16#0
Constant
// Initialize instance.
// Initialize instance.
// Dummy
// Initialize instance.
// Dummy
// Dummy
// Initialize instance.
// Dummy
// Dummy
// Initialize instance.
Comment
Execution condition
Processing
Status change
Write data
Read data
Request path
Response data
Dummy
Comment
Online

Advertisement

Table of Contents
loading

Table of Contents