Nj-Series Instructions Reference Manual (W502 - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

2 Instruction Descriptions
3 :
FileRead_instance(
Execute
FileID
ReadBuf:=InDat[0],
Size
IF (FIleRead_instance.Done=TRUE) THEN
Stage:=INT#4;
END_IF;
IF (FileRead_instance.Error=TRUE) THEN
Stage:=INT#99;
END_IF;
4 :
FileClose_instance(
Execute:=TRUE,
FileID
IF (FileClose_instance.Done=TRUE) THEN
Operating:=FALSE;
END_IF;
IF (FileClose_instance.Error=TRUE) THEN
Stage:=INT#99;
END_IF;
99 :
Operating:=FALSE;
END_CASE;
END_IF;
2-818
// Read file.
:=TRUE,
// File ID
:=Fid,
// Read buffer
// Number of elements to read: 4 bytes
:=UINT#4);
// Normal end
// Error end
// Close file.
// File ID
:=Fid);
// Normal end
// Error end
// Processing after error end.

NJ-series Instructions Reference Manual (W502)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents