Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1104

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Network Instructions
Flags
Precautions
Name
Label
Error Flag
ER
The following table shows relevant bits and flags in the Auxiliary Area.
Name
Address
Communications
A20200 to
Port Enabled Flag
A20207
Communications
A21900 to
Port Error Flag
A21907
Communications
A203 to
Port Completion
A210
Codes
File Memory Opera-
A34313
tion Flag
If the Communications Port Enabled Flag is OFF for the port number specified
in C+4, the instruction will be treated as NOP(000) and will not be executed.
The Error Flag will be turned ON in this case.
When data will be transmitted outside of the local network, the user must reg-
ister routing tables in the PLCs (CPU Units) in each network. (Routing tables
indicate the routes to other networks in which destination nodes are con-
nected.)
Refer to the FINS command response codes in the CS/CJ Series Communi-
cations Commands Reference Manual (W342) for details on the completion
codes for network communications.
Communications port numbers 00 to 07 are shared by the network and serial
communications
instruction
CMND(490), PMCR(260), TXDU(256), or RXDU(255)), so only one of these
instructions may be executed for a communications port at one time. To
Operation
ON if the serial port number specified in C+2 is not within
the range of 00 to 04.
ON if the Communications Port Enabled Flag is OFF for
the communications port number specified in C+4.
ON if a FINS command is sent to the local CPU Unit while
the File Memory Operation Flag (A34313) is ON.
OFF in all other cases.
These flags are turned ON to indicate that net-
work instructions, including PMCR(260) may be
executed for the corresponding ports (00 to 07).
A flag is turned OFF when a network instruction
is being executed for the corresponding port and
turned ON again when the instruction is com-
pleted.
These flags are turned ON to indicate that an
error has occurred at the corresponding ports (00
to 07) during execution of a network instruction.
The flag status is retained until the next network
instruction is executed. The flag will be turned
OFF when the next instruction is executed even if
an error occurred previously.
These words contain the completion codes for the
corresponding ports (00 to 07) following execu-
tion of a network instruction.
The corresponding word will contain 0000 while
the network instruction is being executed and the
completion code will be written when the instruc-
tion is completed. These words are cleared when
program execution begins.
ON when any FINS command is sent to the local
CPU Unit (even for FINS commands not related
to file memory) or when any of the following
instructions or operations are performed for file
memory.
FREAD(700) or FWRIT(701)
Program overwrite with control bit in memory
Simple backup operation
instructions
(SEND(090),
Section 3-25
Operation
RECV(098),
1065

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents