<< Click to Display Table of Contents >> Manual > Device Connection Guide > Omron > Connection Procedure (RS-232C) > C/CV/CS1/CJ1/CJ2 Series (C Mode) > Connection example [C series] |
overview
This is a setting example for connecting to the C series via RS-232C.
Model used
item |
Model etc. |
PLC |
C200H |
Communication Unit |
LK202-V1 |
Configuration environment
item |
environment |
OS |
WindowsXP Professional 32Bit |
Configuration details
item |
setting |
Setting items |
Configuration Example |
PLC side settings |
Set with switch |
Transmission speed |
19200bps |
Byte Size |
7bits |
||
Stop bits |
2bits |
||
parity |
Even |
||
Unit No. |
Unit 0 |
||
PC settings |
Unit Settings |
COMPort |
Communication port number to connect to |
Transmission speed |
19200bps |
||
Byte Size |
7bits |
||
Stop bits |
2bits |
||
parity |
Even |
||
Folder and communication test settings |
Unit No. |
Unit 0 |
* Most of the settings on the computer will be adjusted to match the settings on the unit.
PLC side settings
Set up the "LK202-V1". Settings are made using the front and back switches.
1.Set the front switch as follows:
switch |
Setting contents |
Communication Channel |
Set to RS232 |
SW1 |
0 |
SW2 |
0 |
SW3 |
6 |
SW4 |
2 |
Back Switch |
1:N side |
SW24 |
OFF |
The default settings for CPU ports and peripherals are as follows. For details, please refer to the manual for your device.
Equipment used PLC : C200HE Peripheral Port Cable: CQM1-CIFO2
PC settings (PLC default settings) COM port: The communication port number to connect to PLC Transmission speed: 9600bps Byte size: 7 bits Stop bits: 2 bits Parity: Even Unit No.: Unit 0 |
PC settings
Use the Server application to connect to the PLC for which you have set up communications.
1.Right-click "Application" - "Driver" in the tree and select Add Driver.
2.Select the following units from the displayed driver list and add them:
3.Open the properties of the added unit (U01) and click Communication Settings.
4.Set "Communication Settings" as follows:
setting |
Setting contents |
COMPort |
Communication port number to connect to |
Transmission speed |
19200 |
Byte Size |
7bits |
Stop bits |
1bits |
parity |
Even |
5.Open "Other Settings" and make sure it is checked.
6.USB-RS-If you are using a 232C conversion cable, the COM port may be locked in the event of a communication error, so check the reopen setting.
7.Perform a connection test to check the connection
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.