Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 198

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Auxiliary Area and CIO Area Allocations
Name
Address
Transmis-
Board:
sion error
CIO 1908 bits 00 to
status/
15 (port 1)
number of
CIO 1918 bits 00 to
retries
15 (port 2)
Unit:
n + 8 bits 00 to 15
(port 1)
n + 18 bits 00 to 15
(port 2)
Port setting
Board:
status
CIO 1906 bits 00 to
15 (port 1)
CIO 1916 bits 00 to
15 (port 2)
Unit:
n + 6 bits 00 to 15
(port 1)
n + 16 bits 00 to 15
(port 2)
When an error occurs during transmission,
the corresponding flag (in bits 02 to 07 or 12
to 15) is turned ON.
The number of retries is stored in bits 08 to
11.
Note 1: The Transmission Error Flag (bit 15)
is turned ON only when the protocol
macro has moved to error process-
ing due to an error in bits 00 to 14.
2: The number of retries in bits 08 to 11
is not equal to the number of times
processing is performed when an
error occurs. It is the set number of
retries.
When communications are restored by pro-
tocol macro retry processing, the error in bits
02 to 07 or 12 to 15 is stored. The Transmis-
sion Error Flag (bit 15), however, will remain
OFF. If another error occurs during retry pro-
cessing, the status of the bit indicating the
cause will be held.
The following are read in port setting status:
The serial communications modes and com-
munications specifications set in the Setup
Area (D32000, D32010, m, or m+10).
The ports and the terminating resistance
hardware settings.
Setup errors, and Port Operating/Stopped
Flags.
In Protocol Macro mode, the port will be
stopped if a protocol data error occurs while
protocol data is being transferred. If there is
no protocol data error after the protocol data
has been transferred, the flag will be turned
ON.
Note The flags will also be initialized at the following times: When the operating
mode is changed between PROGRAM and RUN or MONITOR modes and
when the Board or Unit is restarted. If an error flag turns ON, remove the
cause of the error and then reset the error indication from the Programming
Console or other Programming Device.
Protocol Macro Function
With the protocol macro function, each port is provided with a reception buffer
that will hold 2.5 Kbytes max. The reception buffer can be used to hold a large
quantity of data when it is being received at once, or when the communica-
tions sequence is waiting due to the WAIT command.
If the protocol macro function is used and receive operations are performed
when the reception buffer is full, the receive data will overwrite the 2.5 Kbytes
of previously received data in the buffer. Therefore, always set flow control
when performing these operations.
Overrun Errors, Framing Errors, Parity Errors and Error Flags
If an overrun error, framing error, or parity error is detected when the protocol
macro function is being used, the receive data will be stored in the buffer with
the error status included. The corresponding error flags will turn ON or OFF
according to the following conditions.
Meaning
Section 5-3
Timing
Initialize
ON
Startup
At error
When
sequence
begins
Startup
When sta-
When pro-
tus is read
tocol data
has been
success-
fully trans-
ferred
OFF
169

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents