Omron CS1G/H-CPUxxH Instructions Manual page 869

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Serial Communications Instructions
Related Flags and Words
848
The Error Flag will turn ON in the following cases.
• The corresponding Communications Port Enable Flag is OFF for the
specified logical port (0 to 7) when PMCR(260) is executed.
• C1 is not within the specified ranges.
Designation of Receive Area
Before executing PMCR(260), users must set backup data in the receive area
for receive processing failure. Once the PMCR(260) is executed, the data in
the receive buffer is automatically stored in the receive area. One example of
the backup data application is as follows: A certain value (backup data) is set
in advance so that the present value will not be read as zero when transmis-
sion failure occurs while protocol is being executed for reading the present
value of a controller.
The following flags and words can be used as required when executing
PMCR(260).
Auxiliary Area
Name
Communications Port
Enabled Flag
Address
A20200 to
ON when network communications are
A20207
enabled (including PMCR(260).
Bits 00 to 07 correspond to logical ports
0 to 7, respectively.
A Network Communications Instruction
Enabled Flag will turn OFF when net-
work communications are started and
will turn ON when they are completed
(regardless of whether communications
end normally or in error.
Section 3-24
CPU Unit
PMCR(260)
PMCR(260)
Contents

Advertisement

Table of Contents
loading

Table of Contents