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
IF (OperatingStart=TRUE) THEN
NX_SerialRcv_instance(
ally received
OperatingStart:=FALSE;
END_IF;
// Execute NX_SerialRcv instruction.
IF (Operating=TRUE) THEN
NX_SerialRcv_instance(
IF (NX_SerialRcv_instance.Done=TRUE) THEN
vert character codes to a text string.
ger.
END_IF;
IF (NX_SerialRcv_instance.Error=TRUE) THEN
END_IF;
END_IF;
2-1182
Execute:=FALSE,
DevicePort:=DevicePort, // Port settings
Size:=UINT#256,,
RcvDat:=RecvDat,
RcvSize=>RecvSize);
Execute:=TRUE,
DevicePort:=DevicePort,
Size:=UINT#256,
RcvDat:=RecvDat,
RcvSize=>RecvSize);
// Processing after normal end
RecvStringDat:=AryToString(In:=RecvDat[0],Size:=RecvSize); // Con-
Code:=STRING_TO_ULINT(RecvDat); // Convert text string to an inte-
Operating:=FALSE;
// Processing after error end
Operating:=FALSE;
// Initialize instance.
// Receive data size
// Receive data
// Data size that was actu-

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents