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 Instruction Descriptions
2-648
NJ-series Instructions Reference Manual (W502)
ExecPMCR
The ExecPMCR instruction requests execution of a communications sequence (protocol data) regis-
tered in a Serial Communications Unit (unit version 2.2 or later).
* If you omit the input parameter, the default value is not applied. A building error will occur.
Instruction Name
FB/
FUN
Graphic expression ST expression
ExecPMCR Protocol Macro FB ExecPMCR_instance(Execute,
Port, SeqNo, SrcDat, DstDat,
Done, Busy, Error, ErrorID,
ErrorIDEx);
Variables
Name Meaning I/O Description Valid range Unit Default
Port Destina-
tion port
Input
Destination port
---
---
---
SeqNo Communi-
cations
sequence
number
Communications sequence
number
0 to 999 0
SrcDat[]
(array)
Send data
array
Send data array Depends on data type.
*
DstDat[]
(array)
Receive
data array
In-out Receive data array Depends on data type. --- ---
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.
SeqNo OK
SrcDat[]
(array)
OK
DstDat[]
(array)
OK
ExecPMCR
Execute Done
Port Busy
SeqNo Error
SrcDat ErrorID
DstDat
ErrorIDEx
ExecPMCR_instance

Table of Contents

Related product manuals