EasyManuals Logo

Omron NJ501-1500 User Manual

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
Page #698 background imageLoading...
Page #698 background image
2 Instruction Descriptions
2-650
NJ-series Instructions Reference Manual (W502)
* “##” denotes the unit number on the Serial Communications Unit.
* “#” denotes the port number on the Serial Communications Unit.
Refer to the SYSMAC CX-Protocol Operation Manual (Cat. No. W344) for details on protocol macros.
The ExecPMCR instruction starts execution of a protocol macro. Use the P#PmrExecSta (Protocol
Macro Execution Flag) system-defined variable to check the status of protocol macro execution.
Execution of this instruction is continued until processing is completed even if the value of Execute
changes to FALSE or the execution time exceeds the task period. The value of Done changes to
TRUE when processing is completed. Use this to confirm normal completion of processing.
Refer to Using this Section on page 2-2 for a timing chart for Execute, Done, Busy, and Error.
An address in memory for CJ-series Units must be specified in the AT Specification attribute of Dst-
Dat[].
Set the value of SrcDat[0] and DstDat[0] to 0 to use a direct specification and link word specification.
An error occurs if you set any other constant or variable, and the instruction is not executed.
If the value of DstDat[0] is 0 or 1 and reception fails, all elements in DstDat[] change to 0.
The instruction is executed only when there is an available port. Therefore, use the system-defined
variable _Port_isAvailable (Network Communications Instruction Enabled Flag) in an N.O. execution
condition for the instruction.
The instruction is not executed while Busy is TRUE. Therefore, use Busy in an N.C. execution condi-
tion for the instruction.
Related System-defined Variables
Name Meaning Data type Description
_Port_numUsingPort Number of Used Ports USINT This is the number of ports that are currently used.
_Port_isAvailable Network Communica-
tions Instruction
Enabled Flag
BOOL TRUE: A port is available.
FALSE: A port is not available.
_CJB_SCU##P1ChgSta,
_CJB_SCU##P2ChgSta*
Serial Communica-
tions Unit ## Port 1/2
Settings Changing Flag
BOOL TRUE: The serial port settings are currently being
changed.
FALSE: The serial port settings are currently not
being changed.
Related Semi-user-defined Variables
Name Meaning Data type Description
P#_PmrExecSta* Protocol Macro Execu-
tion Flag
BOOL TRUE: Protocol macro execution is in progress.
FALSE: Protocol macro execution is not in progress
or failed.
P#_PmrSeqEndSta* Sequence End Com-
pletion Flag
BOOL TRUE: The sequence was completed with an End.
FALSE: The sequence was not completed with an
End.
P#_PmrSeqAbtSta* Sequence Abort Com-
pletion Flag
BOOL TRUE: The sequence was completed with an Abort.
FALSE: The sequence was not completed with an
Abort.
Additional Information
Precautions for Correct Use

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals