Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n ....

18
2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Proface AGP3200T to Omron CJ/CS ETN. PURPOSE: This document will show how to configure AGP3200T using GpProEx V2.0 to communicate over Ethernet to an Omron CJ1 Ethernet Adapter (ETN Module) using CX- Programmer V7.0. REQUIRED EQUIPMENT: 1. CJ1W-PA205 Omron Power Supply 2. CJ1M-ETN11 Omron CPU w/Ethernet 3. CJ1W-ID211 Omron Digital Input 4. CJ1W-OC211 Omron Digital Output 5. AGP-3200T Xycom AGP HMI REQUIRED SOFTWARE: 1. CX-Programmer Omron PLC Programming Software 2. GPPROEX V2.0 Xycom HMI Programming Software REQUIRED CABLES: 1. Ethernet Ethernet Cable 2. CS1W-CN226 Omron Toolbus Cable 3. CA3-USBCB-01 USB Programming Cable DISK: Proface AGP3200T to Omron CJ1 ETN.doc The file you are reading 3200t_etn_TC.prx GPPROEX program file Cj1_etn_TC.cxp CX-P program file HELPFUL MANUALS: W394 – Omron CJ1 Reference Manual Reference Manual – Proface Reference Manual

Transcript of Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n ....

Page 1: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Proface AGP3200T to Omron CJ/CS ETN. PURPOSE: This document will show how to configure AGP3200T using GpProEx V2.0 to communicate over Ethernet to an Omron CJ1 Ethernet Adapter (ETN Module) using CX-Programmer V7.0. REQUIRED EQUIPMENT:

1. CJ1W-PA205 Omron Power Supply 2. CJ1M-ETN11 Omron CPU w/Ethernet 3. CJ1W-ID211 Omron Digital Input 4. CJ1W-OC211 Omron Digital Output 5. AGP-3200T Xycom AGP HMI

REQUIRED SOFTWARE: 1. CX-Programmer Omron PLC Programming Software 2. GPPROEX V2.0 Xycom HMI Programming Software REQUIRED CABLES:

1. Ethernet Ethernet Cable 2. CS1W-CN226 Omron Toolbus Cable 3. CA3-USBCB-01 USB Programming Cable

DISK: Proface AGP3200T to Omron CJ1 ETN.doc The file you are reading 3200t_etn_TC.prx GPPROEX program file Cj1_etn_TC.cxp CX-P program file HELPFUL MANUALS: W394 – Omron CJ1 Reference Manual Reference Manual – Proface Reference Manual

Page 2: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

INSTRUCTIONS: Start a New Project or just follow along with supplied program. Set the IP Address of the HMI to 10.0.0.240 Go to the System Tab and Click Device/PLC

Page 3: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Device/PLC1 The correct driver is CS/CJ Series Ethernet.

Page 4: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Click on the Settings Button

Configure the Ethernet for the PLC The IP Address of the CJ1M-ETN11 is 10.0.0.89 NOTE: Set the Node to equal the last octet of the IP Address.

OK, now we have set up the Communications, we can move on to making a simple test page.

Page 5: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Click on the Screen Tab and open Screen 1. Make a Header. Let’s place a Lamp for testing purposes

Page 6: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Switch Lamp - Lamp Set up the colors for the Lamp and assign the address.

Page 7: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Switch Lamp – Bit Switch Set up the Shape for the Bit Switch and assign the address.

Page 8: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Place a Data Display on the screen.

Page 9: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Data Display – Numeric Display Set up the Numeric Display and assign the address.

Page 10: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Save the project and click the Transfer Project button.

Page 11: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Transfer Tool window will pop up. Click on Transfer Settings

Page 12: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Transfer Settings Window Select LAN

Page 13: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Now click on Send Project

Page 14: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

The Select Display Unit window will pop up. Check the box that contains the IP Address and say OK.

We are now done with GP Pro EX V2.0 and we can now move onto CX-Programmer V7.0.

Page 15: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Start a New Project or just follow along with supplied program. Set the IP Address of the PLC to 10.0.0.89 Go Online and place the PLC in Stop/Program Mode. (use Toolbus cable) Double click on IO Table and Unit Setup.

Page 16: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

In the PLC IO Table window Options - Create This will scan the rack and tell the PLC what IO it has and the Unit Number It will automatically transfer all the data to the PLC.

Page 17: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Double click on the CJ1M-ETN11 unit to setup. Fill in the IP Address and Sub-net Mask. Click Transfer [PC to Unit] This will Transfer all the data to the card and then Restart the card.

Page 18: Proface AGP3200T to Omron CJ1 ETN€¦ · infoPLC.net w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3 Create a small program

2 7 9 1 1 C l e m e n s R o a d W e s t l a k e , O h i o 4 4 1 4 5 infoPLC.net

w w w . l a k e w o o d a u t o m a t i o n . c o m ( 4 4 0 ) 8 0 8 – 4 8 2 0 4 4 0 . 8 9 9 . 0 4 9 3

Create a small program like below Download the program and place the PLC back in the Run Mode.

At this point make sure the HMI is plugged into the Ethernet network and the PLC is plugged into the Ethernet network. The screen should come up with no communication errors, and the SD and RD lights on the ETN adapter should be blinking also the link and status lights on the AGP3200 rj-45 connector should be blinking as well.