Professional Documents
Culture Documents
As 126135 SR-1000 SR-X SR-2000 CM C97GB WW GB 2022 1
As 126135 SR-1000 SR-X SR-2000 CM C97GB WW GB 2022 1
A u t o - I D Te c h n i c a l G u i d e
SR-X300/X100/5000/2000/1000 SERIES
OMRON CJ-2 SERIES
1 EQUIPMENT USED
USB cable*2
Chapter
2 CONNECTION METHOD
Ethernet cable
2
3 Change the settings to those of the desired fixed IP
address.
Chapter
4
CONFIGURING OMRON PLC CJ2
SERIES SETTINGS
Ethernet
3
2 Set the PLC IP address. 3 Use Network Configurator to upload the network
configuration.
Double-click “I/O Table and Unit Setup” in the project workspace. Right-click “[1500] CJ2M-EIP21” under “Built-in Port/Inner Board” in
the I/O table window, go to “Start Special Application” on the menu
that appears, and then click “Start with Settings Inherited.”
Click the “TCP/IP” tab, and then set the IP address and subnet
mask of the PLC. Then, click “Transfer[PC to Unit]” to transfer the
parameters to the unit.
* Before you can transfer the parameters, you have to put the CJ2 Series in online
mode.
* The fourth number in the IP address (192.168.0.xxx) has to match the value of the In Network Configurator, in the “Network” menu, click “Connect.”
rotary switch on the front of the unit.
Restart the unit to enable the transferred parameters. After the unit
restarts, click “OK” in the “Edit Parameters” window (shown in the
above figure).
For the interface selection, set “Port Type” to “USB,” “Port” to “OMR0,”
and “Baud Rate” to “115200 Bit/s.”
4
Next, click “Back Plane,” “#0 CJ2B-EIP21,” and then “TCP:2.” A search will be performed for the devices connected to the same
Then, click “OK.” network as the PC, and then these devices will be displayed.
Click “OK” to finish the network upload.
Select “Use the existing network” under “Target Network,” and then
click “OK.”
Select the path to, and install the code reader EDS file.
When the file is installed correctly, the code reader icon is displayed
as shown in the lower-right figure.
* The code reader EDS file is in the AutoID Network Navigator installation folder.
5
5 Configure the tag settings for the sending/receiving
area. 6 Set the tag association between the PLC and
the SR.
Right-click the PLC icon in the network window of Network Click the “Connections” tab on the “Edit Device Parameters” screen.
Configurator, go to “Parameter” on the menu that appears, and then Under “Unregister Device List,” click the code reader, and then click “”
click “Edit.” to register the device to the “Register Device List” window.
Click the “Tag Sets” tab, and then click “Edit Tags.”
After the registration is complete, click “OK” on the tag editing screen
to register the added tags as a tag set.
6
Set the connection I/O type, originator device, and target device Chapter
TRANSFERRING SETTINGS AND
as shown below, and then click “Regist.” When the registration is
5 MONITORING READING DATA
finished, click “Close.”
Set the reading start request bit, the eighth bit of “D01200,” to ON to
Output Tag Set D01200 – [76Byte] Input Tag Set Output_101 – [76Byte]
Connection Type Point to Point connection start reading with the code reader. Then, check that the reading data
is stored in data memory starting at “D01022.”
* For details on code reader data assignment, see “Cyclic Communication” in the
Return to the “Edit Device Parameters” screen, and then click “OK.” SR-X300/X100/5000/2000/1000 user’s manual.”
When the connection is assigned correctly, the IP address of the PLC In the “PLC Memory” screen, double-click “D.”
is displayed below the code reader icon as shown in the following
figure.
7
To display memory in binary format, click the binary icon . The reading data is stored in data memory starting at “D01022.”
Also, set “Start Address” to “1200.” Set “Start Address” to “1000” to check the reading data.
* To display the contents of memory as text, click the text icon .
When the data is read correctly, the details of the reading data are
displayed as shown below.
Set the reading start request bit, the eighth bit of “D01200,” to ON to
start reading with the code reader. To stop reading, set the reading
start request bit, the eighth bit of “D01200,” to OFF.
If the reading operation fails, “ERROR” is displayed as shown below.
Sample code
KEYENCE
8
Specifications are subject to change without notice.
KEYENCE CORPORATION
1-3-14, Higashi-Nakajima, Higashi-Yodogawa-ku, Osaka, 533-8555, Japan PHONE: +81-6-6379-2211 www.keyence.com/glb
AUSTRIA FRANCE ITALY POLAND TAIWAN
Phone: +43 (0)2236 378266 0 Phone: +33 1 56 37 78 00 Phone: +39-02-6688220 Phone: +48 71 368 61 60 Phone: +886-2-2721-8080
BELGIUM GERMANY KOREA ROMANIA THAILAND
Phone: +32 (0)15 281 222 Phone: +49-6102-3689-0 Phone: +82-31-789-4300 Phone: +40 (0)269 232 808 Phone: +66-2-078-1090
BRAZIL HONG KONG MALAYSIA SINGAPORE UK & IRELAND
Phone: +55-11-3045-4011 Phone: +852-3104-1010 Phone: +60-3-7883-2211 Phone: +65-6392-1011 Phone: +44 (0)1908-696-900
CANADA HUNGARY MEXICO SLOVAKIA USA
Phone: +1-905-366-7655 Phone: +36 1 802 7360 Phone: +52-55-8850-0100 Phone: +421 (0)2 5939 6461 Phone: +1-201-930-0100
CHINA INDIA NETHERLANDS SLOVENIA VIETNAM
Phone: +86-21-3357-1001 Phone: +91-44-4963-0900 Phone: +31 (0)40 206 6100 Phone: +386 (0)1 4701 666 Phone: +84-24-3772-5555
CZECH REPUBLIC INDONESIA PHILIPPINES SWITZERLAND
Phone: +420 220 184 700 Phone: +62-21-2966-0120 Phone: +63-(0)2-8981-5000 Phone: +41 (0)43 455 77 30
A4WW1-MAN-2121
Copyright (c) 2022 KEYENCE CORPORATION. All rights reserved. 193318GB 2022-1 C97GB Printed in Japan
*C97GB-1*