EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-665
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Communications Instructions
2
SerialRcv
SerialRcv
The SerialRcv instruction receives data in No-protocol Mode from a serial port on a Serial Communica-
tions Unit.
Instruction Name
FB/
FUN
Graphic expression ST expression
SerialRcv SCU Receive
Serial
FB SerialRcv_instance(Execute, Port,
Size, DstDat, Done, Busy, Error,
ErrorID, ErrorIDEx, RcvSize);
Variables
Name Meaning I/O Description Valid range Unit Default
Port Destina-
tion port
Input
Destination port --- --- ---
Size Receive
data size
Size of receive data stored
in DstDat[]
0 to 256 Bytes 1
DstDat[]
(array)
Receive
data array
In-out Receive data array Depends on data type.
--- ---
RcvSize Number of
receive
data array
elements
Output Number of receive data
array elements actually
stored in DstDat[]
0 to 256 Bytes ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
Port Refer to Function for details on the structure _sPORT.
Size OK
DstDat[]
(array)
OK
RcvSize OK
SerialRcv
Execute Done
Port Busy
Size Error
DstDat ErrorID
ErrorIDEx
RcvSize
SerialRcv_instance

Table of Contents

Related product manuals