Beckhoff TwinCAT. Configuring the TwinCAT I/O System



Similar documents
BECKHOFF. Application Notes. BC9000: Getting Started Guide. For additional documentation, please visit.

Beckhoff TwinCAT. Assigning IP Addresses to Beckhoff Ethernet Devices

INTEGRATION GUIDE. Bluetooth Connection Instructions for CR2300/CR2600/CR3600 VERSION 03 RELEASE DATE: MARCH 2016

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

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

DUKANE Intelligent Assembly Solutions

1. Installing The Monitoring Software

AV Management Dashboard

Beckhoff TwinCAT. Creating Boot Projects for TwinCAT

FRONTPAGE FORMS

1. Introduction Fixture exterior view Connecting the Robe Universal Interface Software update of the fixture...

5.4.8 Optional Lab: Managing System Files with Built-in Utilities in Windows 7

Colorfly Tablet Upgrade Guide

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

VIP-102B IP Solutions Setup Tool Reference Manual

Application Note. Example of user log on Magelis HMI with XB5S5B2L2 biometric switch. Advanced Technical Support - Brazil. Version: 1.

PCLinq2 Hi-Speed USB Bridge-Network Cable. Quick Network Setup Guide

Beckhoff onboard SATA-RAID

SIEMENS S

13 Managing Devices. Your computer is an assembly of many components from different manufacturers. LESSON OBJECTIVES

Diamante WiFi Wireless Communication User Guide. Linksys E1200

Select Correct USB Driver

PP8X Printer Driver Installation Instruction

Virtual Office Remote Installation Guide

BASLER ACE QUICK INSTALLATION GUIDE

Absolute rotary encoder GEL 235EC

OSM 2007 MONITORING SOFTWARE

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

TwinCAT Manual Quick Start V.1

Installing a printer in Windows 95.

Network DK2 DESkey Installation Guide

How to setup a network printer using HP Universal Printer Driver

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

UPS Monitoring and Management Software

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel Fax Page 1 of 14

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

This is a training module for Maximo Asset Management V7.1. It demonstrates how to use the E-Audit function.

How-To-Do. Hardware Configuration SLIO CPU 014

USB Driver. Installation Manual

How To Install Galaxy Desktop On A 64 Bit Computer (For A 64Bit) On A 32 Bit Computer Or Ipad Or Ipa (For An Ipa) On An Ipad (For Pc) Or Ipac (For Mac) On

POWERLINK High Power Wireless LAN b/g/n USB Adapter User Manual

Adding a File Attachment to a CFS Requisition

Windows XP Chinese Character Support Installation Instruction

About This Guide SolarEdge Configuration Tool Software Guide. About This Guide

1 Installation. Note: In Windows operating systems, you must be logged in with administrator rights to install the printer driver.

FrontDesk Installation And Configuration

User s Guide for version 5 Page

How do I configure the wireless printer using a USB or Ethernet cable and install the printer driver in Windows?

QuickPanel Control DeviceNet Master Communications Card (IC754DVNM01) Quick Start Guide. Thursday September 20, 2007

AXIS Camera Station Quick Installation Guide

Wireless LAN g USB Adapter

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

CONFIGURING VIRTUAL TERMINAL: This is the screen you will see when you first open Virtual Terminal

Amcrest 960H DVR Quick Start Guide

SATO Network Interface Card Configuration 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

Tutorial How to upgrade firmware on Phison S5 controller MyDigitalSSD

The following pages will help you to solve issues linked to the installation and first use of the Wintech Manager software and Wintech USB computer.

SATA+Ultra ATA RAID CONTROLLER RC212. User Manual

2010 Document Template Administration. User Guide. Document Template Administration

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

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

Live Recording with M7CL or PM5D Via EtherSound. Using Steinberg Cubase 4 or Nuendo 4

Installing PowerLink on Windows 7 64-bit

DSX-HSCS Hot Swap Comm Server

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP

How To Set Up A Raid On A Hard Disk Drive On A Sasa S964 (Sasa) (Sasa) (Ios) (Tos) And Sas964 S9 64 (Sata) (

USER S MANUAL. AXIS Mobile Monitor

VIP-102B IP Solutions Setup Tool Reference Manual

RcWare SoftPLC Modbus server mapping editor User manual

Networking. General networking. Networking overview. Common home network configurations. Wired network example. Wireless network examples

Ethernet Module Manual

Extracting an S/MIME certificate from a digital signature

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Configuring the Beckhoff BK9000 Network Parameters

First Time On-Campus Remote Desktop Connection ipad Edition

Rako Lighting Driver. For use with: Driver software written and provided by:

rev. 31 (applies to CyBro OPC Server v3.0.4 and later)

MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.

Winlead Dialer Software Users Manual Addendum 3 Installing Winlead Dialer Software on the Windows 2000 System

Rapid Assessment Key User Manual

Diamante WiFi Wireless Communication User Guide. CradlePoint CTR35

Keri USB-A Connection and Configuration

Central Management System

USB Driver Installation for Windows XP

Brady IP Printer Installation Instructions

icom Software Update Guide Updating the icom using the Service Tool (ist)

**Please read this manual carefully before you use the product**

How To Use Ticket Validation Software On A Pc Or Mac Or Macbook Or Ipad (For Acedo) On A Computer Or Ipa (For An Ipa) On An Ipad Or Macintosh (For Macintosh) On Pc

To use your Brother machine in an ad hoc network, complete the steps listed below:

FC5A Modbus Communication Training

Fleet Manager Quick Guide (Non Maintenance Mode)

Connecting to a Soundweb TM. London Network

Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

32 Transferring Projects and Data

Tube-U(G) Long-Range Outdoor IEEE g USB Adapter User s Guide

MT-350 SMS. Operation Manual. PORTech Communications Inc.

Software version 1.1 Document version 1.0

4 Backing Up and Restoring System Software

SiS964/SiS180 SATA w/ RAID User s Manual. Quick User s Guide. Version 0.3

Transcription:

Beckhoff TwinCAT Configuring the TwinCAT I/O System Revision: 1.1 Updated: 16 November 2004

Table Of Contents 1. Introduction...3 2. Configuration of TwinCAT I/O System...4 2.1. Scan Devices Automatically... 4 2.2. Scan Boxes Automatically... 6 2.3. Scan Terminals Automatically... 8 3. Manual Network Configuration... 11 3.1. Add Device Manually... 11 3.2. Add Boxes Manually... 13 3.3. Add Terminals Manually... 15 4. Active TwinCAT System Configuration... 18 4.1. Generate Mappings... 18 4.2. Check Configuration... 19 4.3. Activate Configuration... 20 5. Testing the TwinCAT I/O System... 22 5.1. Free-Run Mode... 22 5.2. Testing Digital Inputs... 24 5.3. Testing Analogue Inputs... 25 5.4. Testing Digital Outputs... 26 5.5. Testing Analogue Outputs... 28 Key Device a master controller for a fieldbus network, usually fitted in the PC Box a slave device connected to the fieldbus network Terminal an I/O terminal block fitted to a bus coupler 1. Numbered statements are actions that the user should perform in TwinCAT Updated: 19/11/2004 Page 2 of 29 Revision: 1.1

1. Introduction The TwinCAT System Manager is used to configure: The PC-based communications hardware, e.g. PROFIBUS-DP master controller, Ethernet master controller, etc Devices connected to the communications system, e.g. BK3100, BC9000, etc I/O terminals connected to bus coupler devices This allows all inputs and outputs on the system to be made available for use by a higher-level controller, such as TwinCAT PLC or a custom-written external control program. Updated: 19/11/2004 Page 3 of 29 Revision: 1.1

2. Configuration of TwinCAT I/O System TwinCAT System Manager has a Scan Devices function that allows it to: Scan the PC for known communication devices and place them in System Manager under I/O Devices. Scan the network connected to a device, find any known boxes and place them in System Manager under the appropriate device. Scan the terminals connected to a bus coupler box, e.g. BC9000 Ethernet or BK2000 Lightbus, and place them in System Manager under the appropriate box. 2.1. Scan Devices Automatically To scan the PC for recognised devices: 1. Right-click on I/O Devices 2. Select Scan Devices Updated: 19/11/2004 Page 4 of 29 Revision: 1.1

System Manager will scan the PC for known devices, and place them under I/O devices. It will also scan the network for any known boxes, and determine the configuration of any known boxes that are found. In the example below, System Manager has found an FC2001 Lightbus card in the PC, with a BK2000 (with 4 I/O terminals fitted) connected to the Lightbus network. NOTE: automatic scanning does not detect all types of hardware within a PC, e.g. Virtual Ethernet Interface. In this case, the master controller or device must be added manually. Refer to section 3.1 on page 11. Updated: 19/11/2004 Page 5 of 29 Revision: 1.1

2.2. Scan Boxes Automatically If the box configuration has been changed on a network, or a device has been added manually, System Manager can re-scan the boxes connected to the network and update the network configuration. In our example, a Virtual Ethernet master device has been added manually, so System Manager will not have found any Ethernet boxes connected to the Ethernet port. To scan or re-scan the Ethernet network: 1. Right click on the Ethernet device. ( Ethernet Master in out example below.) 2. Select Scan Boxes. Updated: 19/11/2004 Page 6 of 29 Revision: 1.1

System Manager will scan the Ethernet network and show a list of known boxes that have been found on the network. 3. Select the devices that need to be added to System Manager and click OK System Manager will add the device(s) selected to the master device. In our example, a BC9000 has been added to Ethernet Master. Updated: 19/11/2004 Page 7 of 29 Revision: 1.1

2.3. Scan Terminals Automatically Before I/O terminals can only be re-scanned, all existing I/O terminals must be deleted from the configuration. If a box has been added manually, it will not have any terminal configuration and steps 1 to 3 are not required. To delete an existing terminal configuration: 1. Right click on terminal. 2. Select Delete Terminal. 3. Repeat for each terminal. End Term (KL9010) does not need to be deleted. Updated: 19/11/2004 Page 8 of 29 Revision: 1.1

To scan the terminals connected to a bus coupler and update the I/O terminal configuration. 4. Right click on the box. (BC9000-22 in the example below.) 5. Select Scan Terminals. Updated: 19/11/2004 Page 9 of 29 Revision: 1.1

System Manager will re-scan the bus coupler and update the I/O terminal configuration for the selected box. Updated: 19/11/2004 Page 10 of 29 Revision: 1.1

3. Manual Network Configuration System Manager can also be configured manually before any hardware is attached to the PC. This allows a TwinCAT system to be designed in software while the hardware is being built and wired up. 3.1. Add Device Manually To add a device to System Manager manually: 1. Right click on I/O Devices 2. Select Append Device Updated: 19/11/2004 Page 11 of 29 Revision: 1.1

3. Select the required device from the list of all currently supported hardware devices in the Insert Device screen. 4. Give the device a name and click OK. Our example system requires a Virtual Ethernet Interface, and it has been given the name Ethernet Master. Updated: 19/11/2004 Page 12 of 29 Revision: 1.1

3.2. Add Boxes Manually To add a box to the device in System Manager manually: 1. Right click on the device. (Ethernet master in the example below.) 2. Select Append Box Updated: 19/11/2004 Page 13 of 29 Revision: 1.1

3. Select the required device from the list of all currently supported hardware devices for the network in the Insert Box screen. 4. Give the box a name and click OK. For our example system, select the BC9000 and give it a name. System Manager shows that Ethernet Master with one box (BC9000-22) attached to it. Updated: 19/11/2004 Page 14 of 29 Revision: 1.1

3.3. Add Terminals Manually To add a terminal to the box in System Manager: 1. Right click on the box. (BC9000-22 in the example below.) 2. Select Append Terminal to add an I/O terminal. Updated: 19/11/2004 Page 15 of 29 Revision: 1.1

3. Double click on the type of I/O terminal required (or click once on the + symbol, as shown below) in the Insert Terminal screen. 4. Select the required terminal from the list of available terminals in the category. KL 1002, 2Ch. Input (24V, 3.0ms) is required for our example. 5. Specify the number of terminals of this type that are required. For our example, 2 * KL1002 terminals are required. 6. Give the terminal a name and click OK. Updated: 19/11/2004 Page 16 of 29 Revision: 1.1

7. System Manager will add this terminal to the terminal configuration list for BC9000-22. 8. Repeat steps 1 to 6 for each terminal required for the BC9000-22. The fully configured example system is shown below. Updated: 19/11/2004 Page 17 of 29 Revision: 1.1

4. Activate TwinCAT System Configuration When a system configuration has been completed, it should be saved to disk and saved. To activate the new system configuration, 3 steps must be performed: Generate mappings Check configuration Activate configuration 4.1. Generate Mappings The first step to activating a TwinCAT I/O system configuration is to generate the mappings. This refreshes all links and I/O points within System Manager. 1. Click the Generate Mappings icon ( ) on the TwinCAT System Manager toolbar. Updated: 19/11/2004 Page 18 of 29 Revision: 1.1

4.2. Check Configuration The second step is to check the configured system for errors. TwinCAT System Manager will scan the entire system configuration to ensure that the configuration is valid. 1. Click the Check Configuration icon ( ) on the TwinCAT System Manager toolbar. TwinCAT may give the warning message shown below. This message appears because the system has not yet been linked to a TwinCAT device that will drive the TwinCAT system. This does not prevent the TwinCAT I/O system from being activated. 1. Click OK to clear the warning message. Updated: 19/11/2004 Page 19 of 29 Revision: 1.1

4.3. Activate Configuration The third step is to activate the TwinCAT I/O system. TwinCAT System Manager will scan the entire system configuration to ensure that the configuration is valid. 1. Click the Activate Configuration icon ( ) on the TwinCAT System Manager toolbar. TwinCAT will ask for confirmation to activate the configuration. 2. Click OK to continue system activation. TwinCAT may also display the warning seen during he Check Configuration sequence. 3. Click OK to continue system activation. Updated: 19/11/2004 Page 20 of 29 Revision: 1.1

TwinCAT will ask for confirmation to restart the TwinCAT system in Run Mode. 4. Click OK to restart the TwinCAT I/O system. TwinCAT will restart the system in the RUN mode. This can be seen in the bottom right of the screen, where Running will be displayed in white text on the green background. Updated: 19/11/2004 Page 21 of 29 Revision: 1.1

5. Testing the TwinCAT I/O System 5.1. Free-Run Mode As the TwinCAT I/O system has not been linked to another device that can drive the I/O, it must put into Free-RUN mode. This is a special mode that activates all the I/O terminals and allows each input and output to be tested. To enter Free-Run mode: 1. Click the Set/Reset TwinCAT to Config Mode icon ( ) on the TwinCAT System Manager toolbar. 2. Click OK to restart TwinCAT I/O System in Config mode. 3. Click Yes to load the I/O Devices. Updated: 19/11/2004 Page 22 of 29 Revision: 1.1

4. Click Yes to Activate Free Run mode. The TwinCAT I/O System will restart in Config Mode with Free Run active. This can be seen in the bottom right hand corner of System Manager where the status window will alternate between Config Mode on blue and Free Run on red. Updated: 19/11/2004 Page 23 of 29 Revision: 1.1

5.2. Testing Digital Inputs To check the state of a digital input: 1. Double click on the digital input terminal name. 2. Double click on the digital input channel. 3. Select the digital input channel name. ( Input in the example below.) 4. Select the Online tab. The Value field will show the current status of the digital input, and the oscilloscope display will show the recent history of the digital input. Updated: 19/11/2004 Page 24 of 29 Revision: 1.1

5.3. Testing Analogue Inputs To check the state of an analogue input: 1. Double click on the analogue input terminal name. 2. Double click on the analogue input channel. 3. Select the analogue input channel name. ( Data In in the example below.) 4. Select the Online tab. Updated: 19/11/2004 Page 25 of 29 Revision: 1.1

5.4. Testing Digital Outputs To toggle the state of a digital output: 1. Double click on the digital output terminal name. 2. Double click on the digital output channel. 3. Select the digital output channel name. ( Output in the example below.) 4. Select the Online tab. 5. Click on the Write button. TwinCAT System Manager will display the Write Value screen. As digital outputs are boolean, they can only be set to 0 or 1: 6. Click the 1 or 0 buttons to set and reset the digital output. Updated: 19/11/2004 Page 26 of 29 Revision: 1.1

TwinCAT System Manager will set the digital output value to 1 and display the new output status. The status light on the digital output terminal will also switch on. Updated: 19/11/2004 Page 27 of 29 Revision: 1.1

5.5. Testing Analogue Outputs To toggle the state of a digital output: 1. Double click on the analogue output terminal name. 2. Double click on the analogue output channel. 3. Select the analogue output channel name. ( Data Out in the example below.) 4. Select the Online tab. 5. Click on the Write button. TwinCAT System Manager will display the Write Value screen. As digital outputs are boolean, they can only be set to 0 or 1: 6. Enter the new value in the appropriate box. Updated: 19/11/2004 Page 28 of 29 Revision: 1.1

TwinCAT System Manager will set the analogue output value to the new value and display the new output status. +32767 is the full scale positive value, so 16384 will produce +5V on a KL4032 analogue output terminal. Updated: 19/11/2004 Page 29 of 29 Revision: 1.1