![Omron SYSMAC CJ1W-SCU21-V1 Скачать руководство пользователя страница 198](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586198.webp)
169
Auxiliary Area and CIO Area Allocations
Section 5-3
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.
Transmis-
sion error
status/
number of
retries
Board:
CIO 1908 bits 00 to
15 (port 1)
CIO 1918 bits 00 to
15 (port 2)
Unit:
n + 8 bits 00 to 15
(port 1)
n + 18 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.
Startup
At error
When
sequence
begins
Port setting
status
Board:
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)
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.
Startup
When sta-
tus is read
When pro-
tocol data
has been
success-
fully trans-
ferred
Name
Address
Meaning
Timing
Initialize
ON
OFF
Содержание SYSMAC CJ1W-SCU21-V1
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ...x...
Страница 15: ...xvi...
Страница 89: ...60 Basic Operating Procedure Section 1 9...
Страница 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Страница 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Страница 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Страница 277: ...248 Communications Frames Section 6 8...
Страница 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Страница 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Страница 391: ...362 Introduction Appendix A...
Страница 421: ...392 CompoWay F Master Protocol Appendix B...
Страница 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Страница 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Страница 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Страница 627: ...598 ES100 Digital Controller Protocol Appendix K...
Страница 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Страница 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Страница 717: ...688 Visual Inspection System Protocol Appendix O...
Страница 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Страница 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Страница 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Страница 781: ...752 Revision History...