![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262290.webp)
14 Serial Communications
14-12
CP2E CPU Unit Software User’s Manual(W614)
Built-in RS-2
3
2C, Built-in RS-4
8
5 or Serial Port Tab Page
Parameter
Setting
Communications
Settings
Set the communications settings to the same values as the connected device.
If the connected device is set to 9,600 bps, two stop bits, and even parity, select the
Cu
s
tom
Option, set the baud rate to 9,600 and format to
7,2,E
.
Mode
Select
RS-2
3
2C
.
End Code
•
To specify the number of bytes of received data, select Received
byte
s
and set the
number of bytes from 1 to 256.
•
To use CR+LF as the end code, set CR+LF.
•
To set the end code to any value between 00 to FF hex, set a value between
0x0000 and 0x00FF.
14-3-4 Related Auxiliary Area Bits and Words
Address
Name
Details
A
3
92.04
Serial Port 1/Built-in RS-2
3
2C
Port Communications Error
Flag
ON when a communications error occurs at the serial port 1 or built-in
RS-2
3
2C port. The port must be restarted when this flag turns ON.
A
3
92.05
Serial Port 1/Built-in RS-2
3
2C
Port Send Ready Flag
(No-protocol mode)
ON when the serial port 1 or built-in RS-2
3
2C port is able to send data
in no-protocol mode.
A
3
92.06
Serial Port 1/Built-in RS-2
3
2C
Port Reception Completed
Flag
(No-protocol mode)
ON when the serial port 1 or built-in RS-2
3
2C port has completed the
reception in no-protocol mode.
•
When the number of bytes was specified: ON when the specified
number of bytes is received.
•
When the end code was specified: ON when the end code is received
or 256 bytes are received.
A
3
92.07
Serial Port 1/Built-in RS-2
3
2C
Port Reception Overflow Flag
(No-protocol mode)
ON when a data overflow occurred during reception through the serial
port 1 or built-in RS-2
3
2C port in no-protocol mode.
•
When the number of bytes was specified:
ON when more data is received after the reception was completed but
before RXD was executed.
•
When the end code was specified:
ON when more data is received after the end code was received but
before RXD is executed.
ON when 257 bytes are received before the end code.
If a start code is specified, ON when the end code is received after
the start code is received.
A
3
92.12
Serial Port 2/Built-in RS-4
8
5
Port Communications Error
Flag
ON when a communications error has occurred at the serial port 2 or
built-in RS-4
8
5 port. The port must be restarted when this flag turns
ON.
A
3
92.1
3
Serial Port 2/Built-in RS-4
8
5
Port Send Ready Flag
(No-protocol Mode)
ON when the serial port 2 or built-in RS-4
8
5 port is able to send data in
no-protocol mode.
A
3
92.14
Serial Port 2/Built-in RS-4
8
5
Port Reception Completed
Flag
(No-protocol Mode)
ON when the serial port 2 or built-in RS-4
8
5 port has completed the
reception in no-protocol mode.
•
When the number of bytes was specified: ON when the specified
number of bytes is received.
•
When the end code was specified: ON when the end code is received
or 256 bytes are received.
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......