BECKHOFF. Application Notes. www.beckhoffautomation.com. BC9000: Getting Started Guide. For additional documentation, please visit.



Similar documents
Beckhoff TwinCAT. Configuring the TwinCAT I/O System

Beckhoff TwinCAT. Assigning IP Addresses to Beckhoff Ethernet Devices

Section 5: Installing the Print Driver

Ethernet/IP Comms between a WAGO and a Mettler Toledo JAGXTREME Terminal Application note

Connecting the DG-102S VoIP Gateway to your network

Beckhoff TwinCAT. Creating Boot Projects for TwinCAT

Application & Quick-Start Guide

ENET-710. ENET Ethernet Module ENET-710 JAN / 06 FOUNDATION

BASLER ACE QUICK INSTALLATION GUIDE

Ultra Thin Client TC-401 TC-402. Users s Guide

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

Configuring the Beckhoff BK9000 Network Parameters

Section 5: Connecting the Laser to Your Computer

QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

1. Installing The Monitoring Software

Starting Guide - Poseidon 3265 First steps for remote monitoring with Poseidon & GSM

for both the Verbatim Gateway and Catalyst Autodialer EtherNet Options

E-Mon Communication Gateway Utility Instructions for BACnet/mstp

Setting Up Your FTP Server

EASE Scan Tool Customers. SECTION I - Installation

OSM 2007 MONITORING SOFTWARE

32 Transferring Projects and Data

CMP-102U. Quick Installation Guide

TwinCAT Manual Quick Start V.1

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

Table of Contents. 1. Overview Materials Required System Requirements User Mode Installation Instructions..

Configuring NXT Hardware with Mercury Inside into Doors.NET TM Application Note

IntraVUE Plug Scanner/Recorder Installation and Start-Up

Course: WIN310. Student Lab Setup Guide. Summer Microsoft Windows Server 2003 Network Infrastructure (70-291)

How To Use Mview On A Powerline 2.2 (Powerline) On A Pc Or Macbook 2 (Powerplst) On An Iphone Or Ipa 2 (Aldo) On Your Iphon 2 (

How-To-Do. EtherCAT Communication with CPU 300S

SATO Network Interface Card Configuration Instructions

OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher

NVMS User Manual

How To Install And Configure Windows Server 2003 On A Student Computer

2 Setting Up the Hardware for a Wired Ethernet Network Setting Up the Software for an Ethernet Network... 21

Setting Up the EntraPass Mirror Database and Redundant Server

Enabling Internet Connection Sharing on Windows Enabling ICS On Windows XP As The Host 4 Enabling ICS On Windows XP As The Client 11

Victoria Combo Remote Control

DRO-210i LOAD BALANCING ROUTER. Review Package Contents

The FlexiSchools Online Order Management System Installation Guide

Connecting System Platform to TOP Server. Using the SuiteLink DI Object

OS X LION SET UP THE SYSTEM

Omni 56K USB Lite Quick Start Guide

Deployment Guide: Transparent Mode

How To Connect A300 To A300 Time Clock On A Pc Or Mac Computer

Online Monitoring User Guide

Ethernet Module Manual

SA-9600 Surface Area Software Manual

Application Note: Connecting to a 2500 Series Processor using PLC Workshop

Table of Contents. 0. Internet Connectivity Assumptions Identifying the Network Wall Jack Identifying the Ethernet Cable..

Quick Start Guide NVR DS-7104NI-SL/W NVR. First Choice For Security Professionals

Ethernet Interface Manual Thermal / Label Printer. Rev Metapace T-1. Metapace T-2 Metapace L-1 Metapace L-2

Table of Contents. Chapter1. Introduction Before Installation System Requirements... 1

Beckhoff TwinCAT The Windows Control and Automation Technology. TwinCAT NC PTP Examples

Mitsubishi Electric Q Series PLC Ladder Monitor. Operation Manual

Installing Global Logger USB Drivers

CS 326e F2002 Lab 1. Basic Network Setup & Ethereal Time: 2 hrs

BUS-WATCH R1001/R4001 Quick Guide Series

Using the Communication Ports on the DG-700 and DG-500 Digital Pressure Gauges

GV-Data Capture V3 Series User's Manual

Deploying Windows Streaming Media Servers NLB Cluster and metasan

Technical Note. Monitoring Ethernet Traffic with Tolomatic ACS & Managed Switch. Contents

Medical Vacuum Systems-PXMI

3.5 EXTERNAL NETWORK HDD. User s Manual

Self Help Guide IMPORTANT! F5D Setting Up An Ad Hoc Connection. Please read the following carefully;

Self Help Guide IMPORTANT! Configuring Your Router With Your Modem. Please read the following carefully; This Guide refers to the following Products:

To perform Ethernet setup and communication verification, first perform RS232 setup and communication verification:

TECHNICAL NOTE TNOI32

Beckhoff onboard SATA-RAID

R&S AFQ100A, R&S AFQ100B I/Q Modulation Generator Supplement

Colorfly Tablet Upgrade Guide

Volume AGKSOFT. Wayne Nucleus Back Office Software. Nucleus Guide

UBIQUITI BRIDGE CONFIGURATION PROCEDURE (PowerStation & NanoStation Units ONLY)

Vantage RADIUS 50. Quick Start Guide Version 1.0 3/2005

Technical Note. Setting ACS drive IP address automatically with Rockwell BOOTP/DHCP Server. Contents

Ethernet Radio Configuration Guide

Advanced Aircraft Analysis 3.6 Network Floating License Installation

DCS DCS 6000 Digital Conference System Firmware Upgrade & Feature License Key Manual. Upgrade Manual. Digital Conference System

Brady IP Printer Installation Instructions

User Manual. Thermo Scientific Orion

BabyWare Imperial PC Software

Quick Installation Guide

PLA Series. User s Guide. Quick Start Guide. Powerline Ethernet Adapters. PLA4101, PLA4111, PLA4201, PLA4201 v2, PLA5205, PLA5215, PLA5206, PLA5405

Allworx Installation Course

SETTING UP REMOTE ACCESS FOR Q-SEE DVR SYSTEMS MODEL NUMBER: QC40198

DUKANE Intelligent Assembly Solutions

ScanWin Installation and Windows 7-64 bit operating system

IP SERIAL DEVICE SERVER

JKW-IP. IP Video Entry System. QuikStart Guide

Operating Instructions

TRILOGI 5.3 PLC Ladder Diagram Programmer and Simulator. A tutorial prepared for IE 575 by Dr. T.C. Chang. Use On-Line Help

APPENDIX 8 EAZY NETWORKING

PIGCHAMP MOBILE. PigCHAMP Knowledge Software. Installation Guide for Mobile Units

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

Twido Simulator - Online Help Scope What's in this Part? Twido Simulator Overview What's in this Chapter? How to Use Twido Simulator

SCADAPack E ISaGRAF 3 User Manual

Installation and Operation Guide

Western Digital Backup Drive Installation Instructions

Operating Instructions

Transcription:

BECKHOFF Application Notes www.beckhoffautomation.com BC9000: Getting Started Guide BC-AppNote-002 1.0 27 August 2007 This application note is intended for the first time user of the BC9000 and TwinCAT PLC who wants to control digital inputs and outputs with ladder logic in TwinCAT PLC. The procedure utilizes a 2 channel 24VDC input terminal (KL1002) and a 2 channel 24VDC output terminal (KL2012). It does not include TwinCAT programming details and methodology. This application note is for default settings only on the BC9000. Refer to BC9000 first steps located on the CD included with the BC9000 for modification of BC9000 system parameters For additional documentation, please visit www.beckhoffautomation.com For further assistance, please contact Beckhoff USA support at supportusa@beckhoff.com Beckhoff Automation 12150 Nicollet Avenue South Burnsville, MN 55337 Phone: + 1 952 / 890 0000 Fax: + 1 952 / 890 2888 beckhoff.usa@beckhoff.com

Overview Sample Files There are no sample files required for the procedure Key Concepts Use Hyperterminal to simulate or monitor the RS232 communication. Use the Beckhoff Modbus Monitor program or Modscan to analyze the system before attempting specialized programming. Refer often to the KL6001 and BK/BC9000 documents to determine the mapping for the terminal. 16 April 2008 Beckhoff Application Notes 2

Procedure PC and PLC Setup Procedure Configure and program the BC9000 CPU by installing TwinCAT PLC 2.10 build 1244 or higher. TwinCAT is available via the Beckhoff website, www.beckhoff.com, free of charge, for 30 days. Please contact your sales representative for quoting TwinCAT and purchasing a registration number to license TwinCAT PLC beyond the 30 days. Configure your PC Ethernet port for a dedicated IP address by selecting start, My Network Places, and View Network Connections. Right click on Local Area Connection and select Properties. Scroll down in the selection box to Internet Protocol (TCP/IP) and select Properties. Set the parameters to: IP Address: 172.16.17.1 Sub Net Mask: 255.255.0.0 Default Gateway: 0.0.0.0. (See figure below.) Select "OK" Install KL1104, KL2612, and then KL9010 on the BC9000. Connect 24VDC @ 2A from power supply to 24V and OV to the coupler. Connect 24VDC up to 10A for I/O load power to pins marked + and -. Connect an Ethernet 10/100BaseT, Cat 5e, crossover cable to the PC Ethernet port and the BC9000. 16 April 2008 Beckhoff Application Notes 3

Initialize/Setup the BC9000 The following parameterizations can be carried out without using configuration software and with the aid of the DIP switches and the end terminal (KL9010). This parameterization mode is active only if just one end terminal (KL9010) is inserted. Otherwise, the normal settings apply. Restoring the manufacturer's settings Switch off the Bus Coupler, and plug in just the end terminal (KL9010). Set all the DIP switches to ON, and switch the Bus Coupler on again. Once the default parameters have successfully been set, the Error LED lights, and the I/O Run and I/O Error Led's flash alternately. You can then switch the Bus Coupler off, connect the Bus Terminals, and continue as usual. Deleting the boot project (only BC9000) Switch off the Bus Coupler, and plug in just the end terminal (KL9010). Set DIP switches 1 to 9 to ON, DIP switch 10 to OFF, and switch the Bus Coupler on again. Once the boot project has been successfully deleted, the I/O Run and I/O Error Led's flash alternately. "You can then switch the Bus Coupler off, connect the Bus Terminals, and continue as usual. Setting the Ethernet Parameters Switch off the Bus Coupler, and plug in just the end terminal (KL9010). Set all the DIP switches to OFF, and switch the Bus Coupler on again. The I/O RUN and I/O Error Led's light steadily. Make the desired setting in accordance with the following table. DIP Switch Parameters Selection Setting Comment 1 Buad Rate 10 MBaud OFF (0) 100MBaud ON (1) Default 2 Auto-Baud- Disable OFF (0) Rate Enable ON (01) Default 16 April 2008 Beckhoff Application Notes 4

DIP Switch Parameters Selection Setting Comment 3 Transmission Type Half Duplex OFF (0) Full Duplex ON (01) Default To accept the values, set DIP switch 10 to ON. The Bus Coupler indicates that it has accepted the parameters by flashing the I/O RUN and I/O ERR Led's You can then switch the Bus Coupler off, connect the Bus Terminals, and continue as usual. Configure the BC9000 from within TwinCAT PLC 1. Click on the icon in the lower right Windows menu bar (see below) select System Manager. 2. On the left side of this new window under I/O - Configuration, right click on I/O Devices and then select Append Device. The following image will appear: 16 April 2008 Beckhoff Application Notes 5

3. In the window, select Ethernet and then select Virtual Ethernet Interface.Note the name at the bottom of the window. While it can be renamed, it is most often not changed. Please note as well that the BC9000 is not capable of being used in a Real-Time Ethernet or EtherCAT (Direct Mode) situation. 4. Click OK 5. The following image shows the Device 1 (Virtual-Ethernet) selection: 16 April 2008 Beckhoff Application Notes 6

6. Right click on Device 1 (Virtual-Ethernet) and select Scan Boxes (see image below). 16 April 2008 Beckhoff Application Notes 7

7. Once the selection has been made, TwinCAT will go out and search for all the PLC's on the Ethernet network. In this instance, there is only one (see the image below: 8. Note that the name of the PLC was automatically assigned as BC9000-2 (172.16.17.2). Obviously, the PLC is a BC9000. The -2 at the end identifies the last portion of the Ethernet Node address as Node 2. This is further confirmed with the display of the full Node address of 172.16.17.2. Place a check mark in the box for this PLC and then click OK. 16 April 2008 Beckhoff Application Notes 8

9. System Manager will then look like this: Note the BC9000-2 entry under Device 1-Image. 16 April 2008 Beckhoff Application Notes 9

10. Double click on BC9000-2 to see if all the Bus Terminals have been found, identified, and listed below the BC9000-2 heading. 16 April 2008 Beckhoff Application Notes 10

11. Right-click on BC9000-2 and select Export Variables Info... 12. When you click Export Variable Info..., a Save As window opens. Find the folder to save this project information to, then click Save. The image below illustrates this task. Please note that the name of the PLC (BC9000-2) has already been entered automatically into the name space. Once saved, the document will have an "exp" file extension attached. 16 April 2008 Beckhoff Application Notes 11

Note: This "exp" document must be saved with the System Manager file (tsm file extension) as well as the PLC program file (pr6 file extension) in the same folder. The tsm and pr6 files must also have the same names. 13. At this point, everything about the hardware for this PLC is known. At the top left corner of the TwinCAT window, select File and Save As. Find the folder of the previous step and then type in the name for this project. Click Save and this file will be saved as a tsm file. Program the PLC Using TwinCAT PLC Click on the icon in the lower right Windows menu bar (see below) SelectPLC Control. When the TwinCAT PLC Control windowopens, there may be a program already open from a previous effort. If so, go to the File menu and select New. 16 April 2008 Beckhoff Application Notes 12

14. The Choose Target System Typewindow (shown below) will open.select BC via AMS and click OK 15. The New POU window appears to allow for the selection of the name for the new POU, the type of POU, and the Language of the POU. Generally speaking, the first POU should be MAIN as there has to be one POU in the program named MAIN and it must also be a selected as a program. Also, a Language for the POU must be selected. Here, Ladder Diagram (LD) was selected: 16 April 2008 Beckhoff Application Notes 13

16. The main window now appears (TwinCAT PLC Control): 16 April 2008 Beckhoff Application Notes 14

17. Select Import... under the Project menu. 16 April 2008 Beckhoff Application Notes 15

18. When Import... is selected, the Import Project windowappears. Find the project folder and the BC9000-2.expfile. SelectOpen. 16 April 2008 Beckhoff Application Notes 16

The main window, TwinCAT PLC Control, will appear unchanged. But, in fact, it has. At the bottom left of the window is a tab labeled R... The R stands for Resources. Click on this tab, then on the Global Variables folder, and then click on TwinCAT_Import. What appears in the larger central window are all the variables for the I/O modules. Those variables at the top of the list are the status and control bits associated with the respective Bus Terminal I/O modules. Those at the bottom (see the next image) are the actual I/O points. Also shown are the physical addresses within TwinCAT. 16 April 2008 Beckhoff Application Notes 17

For the most part, these items at the end of the list are what you will use in the PLC program. 19. At the bottom of the main window, TwinCAT PLC Control, select "P..." This "P" stands for POU. Selecting this will return you to the program screen where you may begin entering your program in the language you have selected. 16 April 2008 Beckhoff Application Notes 18

20. Before continuing with programming, it would be wise to save everything established thus far. Under File, click Save As, browse for your project folder, and then name the program. Again, make sure the name for this file is the same as the TwinCAT System Manager file. 21. In the main window is the main form for starting a Ladder Diagram program. The top section of the main window on the right is a place for declaring variables. In the middle is where the program is entered. At the bottom is where the status of the program is displayed. 16 April 2008 Beckhoff Application Notes 19

To insert a contact, coil, or Function Block, right click in the dotted rectangle, and a menu will appear (see below). Select Contact and a contact will appear on the rung with three question marks above it. 16 April 2008 Beckhoff Application Notes 20

With the contact inserted, click on the three question marks, and then enter a new variable name or press F2. F2 opens the Help Manager window, which has a list of all the variables associated with the I/O Bus Terminals described before. There is another way of entering contacts and coils. At the top and center of the main window is a small bar (see below) for making that selection. If a new variable name is entered, a new window will appear to aid in the declaration of the variable name. The Declare Variable window (see below) allows for entry of all the detailed information required to declare the variable. When entered, click OK and the variable name and Type will appear in the small window at the top. 16 April 2008 Beckhoff Application Notes 21

22. After the program is entered, select Project and then Rebuild All. This will compile the logic to be downloaded to the BC9000. If there are any errors, they will be reported at the bottom of the main window. Do not forget to save the program regularly Load the PLC Program to the BC9000 and Run At the Menu bar select Online and then Choose Run-Time System...Another window will open (see below). Double click on BC9000-2, click on Run-Time 1 (Port 800), and then click OK. At the bottom of the main window will be a red colored bar with the name of the PLC inside. At the Menu bar select Online and then Login. TwinCAT will issue prompts saying there may be no program or a different program in the BC9000. Select OK to all prompts. At the Menu bar select Online and then Run. If all is well, the PLC program will now be running. Evidence of this will appear at the bottom of the main window with a green bar that says RUN. 16 April 2008 Beckhoff Application Notes 22