You are on page 1of 20

t

rin
Automation Studio Online Communication

ep TM211
rr
t fo
no
Introduction

t
rin
ep
rr
t fo

Requirements
no

Training modules: TM210 – The Basics of Automation Studio

Software: Automation Studio 3.0.80

Hardware: SG4 target system with AR V3.00 or higher

2 TM211 Automation Studio Online Communication


Introduction

Table of contents

1. INTRODUCTION 4

t
1.1 Training guide objectives 5

rin
2. THE BASICS OF ONLINE COMMUNICATION 6
2.1 Configuring the Ethernet interface on the PC 7
2.2 Online settings in Automation Studio 8
2.3 Configuring the Ethernet interface on the target system 9

3. AUTOMATIC CONNECTION 10
3.1 SNMP services

4. MANUAL CONNECTION
ep
4.1 Efficient configuration of the target system
4.2 Online settings
10

11
11
12
rr
5. REMOTE MAINTENANCE 14
5.1 Modem connection 14
5.2 Remote connection 15
5.3 Remote maintenance - Network / Internet 16

6. SUMMARY 17
t fo
no

Automation Studio Online Communication TM211 3


Introduction

1. INTRODUCTION
The online connection between Automation Studio and the B&R controller
is used to exchange data and perform diagnostics and programming.

Online

t
Regardless of physical connection or distance

rin
With an Ethernet network or other standard data transfer method, this work
can be performed from any location.

Machines and systems are often operated in remote locations. The ability
to perform remote diagnostics and remote maintenance considerably
reduces maintenance costs over the lifespan of the system.

ep
rr
t fo

Fig. 1 Automation Studio online communication


no

This training module shows how to establish an online connection between


Automation Studio and the target system - from the first commissioning to
the integration into a local or remote control system.

4 TM211 Automation Studio Online Communication


Introduction

1.1 Training guide objectives


Selected examples will highlight the various uses of the online connection
and teach you how to configure the controller and Automation Studio.

t
rin
You will learn how to…

… Configure the controller for an online connection

… Configure Automation Studio for an online connection

… Add Automation Studio to an existing network

ep
rr
Fig. 2 Overview
t fo
no

Automation Studio Online Communication TM211 5


The basics of online communication

2. THE BASICS OF ONLINE COMMUNICATION


Online communication refers to the connection between Automation
Studio and a B&R controller, regardless of the medium or the PC
client/server architecture.

t
Before online communication can take place, all the participants must be
configured correctly:

rin
• PC
• Automation Studio
• Controller

ep
If an interface on the controller is to be used for online communication with
the PC, the PC must have an interface of the same physical type.
rr
The connection between the PC and the controller uses a common
communication protocol, PVI.

PVI (Process Visualization Interface) is the basis for communication


between PC and controller and is an integral component of Automation
t fo

Studio.

Automation Studio Help: Communication / PVI


no

This training manual will show you how to connect Automation Studio
to the controller via the Ethernet interface.

6 TM211 Automation Studio Online Communication


The basics of online communication

2.1 Configuring the Ethernet interface on the PC


In order to establish an online connection with the target system, the IP
address and the subnet mask for the PC must be changed.

t
Please contact your system administrator for more detailed information
about changing the network settings.

rin
Task: Configure the PC's Ethernet interface

Set the PC's Ethernet interface to 10.0.0.1

ep
rr
Solution approach:
• Help chapter: Automation Software / Getting Started /
Creating programs with Automation Studio / First project
with an X20 CPU / Ethernet settings on the PC
• Work through each of the steps
t fo

Procedure:

• The dialog box for configuring the network is opened from the start
menu <Settings> / <Network Connections>.
no

The IP address must be unique within the network. Use the command
line program "ipconfig" to test the configured IP address on the PC (see
also 4.1.1 Testing the connection).

Automation Studio Online Communication TM211 7


The basics of online communication

2.2 Online settings in Automation Studio


Open the connection settings dialog box by selecting <Online> /
<Settings> from the menu.

t
rin
ep
Fig. 3: Automation Studio online settings

In this dialog box you can manage existing connections and add new
connections for various media.
rr
The connection name shown in bold type indicates the active connection
to the controller.

If there is an Ethernet connection between the PC and the X20 CPU, the
status of the online connection is shown in the status bar.
t fo

The project can now be edited or diagnosed and then transferred via the
online connection.
no

Automation Studio Help: Programming / Build & Transfer /


Establishing connection to the target system

8 TM211 Automation Studio Online Communication


The basics of online communication

2.3 Configuring the Ethernet interface on the target system


In order to establish a connection between the PC and the target system,
you must configure the interface on the target system to be used for online
communication.

t
With SGC (AR 2.30) and SG4 (AR 3.00) controllers or higher, it is also

rin
possible to establish a temporary online connection using SNMP
services
(see 3 Automatic connection).

The interface can be configured manually in the Physical View by selecting

ep
<Open IFx "Medium" Configuration> from the shortcut menu. "x" refers to
the interface and "medium" the type of physical connection.
rr
t fo

Fig. 4: Efficient configuration of the target system

Automation Studio Help: Communication / Ethernet / AR configuration (SG4)


no

Automation Studio Online Communication TM211 9


Automatic connection

3. AUTOMATIC CONNECTION
Controllers that are not part of an Ethernet network can be searched for in
the Automation Studio online settings.

This makes it possible to integrate a CPU into the

t
network and set up an online connection without
having to first make configurations.

rin
Features:

• Establish connection without a valid IP


configuration
• Temporarily change parameters on the target system without
downloading project



ep
Receive notification of invalid connection settings
Synchronize the target system with saved connections
Display network and hardware information

3.1 SNMP services


rr
The Simple Network Management Protocol is a network protocol that is
used to monitor and control devices in a network (e.g. routers, servers,
switches, printers, computers, etc.) from a central location.

SNMP handles the identification of B&R controllers (SGC AR 2.30 and SG4
AR 3.00 and up) based on the MAC address.
t fo

3.1.1 Restrictions
SNMP doesn't work if:

• The Ethernet interface on the target system is deactivated


• Using a router
• Using a gateway
• On SG3 target systems
no

Automation Studio Help:


Programming / Build & Transfer / Establishing connection to the target
system / Ethernet connection / Browse for targets

10 TM211 Automation Studio Online Communication


Manual connection

4. MANUAL CONNECTION
In order to set up the online connection manually, you must first configure
the interface on the target system.

The settings become active on the target system after

t
the project is transferred.

rin
4.1 Efficient configuration of the target system
The target system is started up the first time when
creating the CompactFlash card in Automation Studio
using the menu option <Tools> / <Generate
Compact Flash>.

ep
Procedure:

• Configure the interface on the target system


• Set up a CompactFlash card
• Online settings in Automation Studio
rr
For target systems with an IF1 interface, this interface is activated for
serial online communication by default.

Contact your system administrator if you have questions about valid IP


addresses, subnet masks, gateways and broadcast addresses.
t fo

Task: Configure the Ethernet interface on the CPU

Set the IP address of the Ethernet interface on the X20CP1485 CPU to


10.0.0.2
no

Solution approach:
• Create a new project for an X20CP1485 CPU
• Open the IF5 Ethernet configuration in the Physical View
• Change the IP address
• Save and perform build
• Create a CompactFlash card

Automation Studio Online Communication TM211 11


Manual connection

4.1.1 Testing the connection


Before you configure the online connection in Automation Studio the
network connection can be tested with a PING command from the
command line.

t
The command line is opened in Windows XP by selecting "Run..." from the
Start menu and then running the program "cmd".

rin
Task: Test the connection

Enter "ping 10.0.0.2" in the command line editor.

If the configuration is correct, the controller will respond.

ep
rr
4.2 Online settings
Once the controller has been started with a valid Ethernet configuration,
t fo

the online connection must be configured manually in Automation Studio.


no

Fig. 5: Testing the new online connection

12 TM211 Automation Studio Online Communication


Manual connection

Task: Set up an online connection

Once the network connections have been made on both the PC and the
controller, the online connection must be set up in Automation Studio.

t
Solution approach:

rin
• Open the online dialog box under <Tools> / <Settings>
• Add a new connection under the Ethernet tab
• Define a meaningful name for the connection
• Enter the IP address of the target system
• Right-click on the connection and select <Connect>

ep
rr
t fo

Result

If there is an Ethernet connection between the PC and the X20 CPU, the
status of the online connection is shown in the status bar.
no

If multiple PVI applications (visualization, Automation Studio, etc.)


communicate with a controller via Ethernet, each PC must have not only
its own IP address but also its own source address (source INA node
number).

Automation Studio Online Communication TM211 13


Remote maintenance

5. REMOTE MAINTENANCE
Using remote maintenance, a system can be monitored, configured, and
serviced via standardized communication media (modem, Intranet or
Internet).

t
rin
ep
Fig. 6: Remote maintenance via Internet

5.1 Modem connection


rr
Similar to Ethernet communication, a serial interface on the
controller must be configured for modem communication.

Modem support with Automation Runtime provides the


possibility to configure a modem. Different parameters can
be set for a connection with or without a modem.
t fo

In Automation Studio the online connection for a modem is configured


under the "Modem" tab in the online settings.

Fig. 7: Configuring a modem installed on the PC


no

Automation Studio Help: Communication / Remote maintenance / Modem

14 TM211 Automation Studio Online Communication


Remote maintenance

5.2 Remote connection


A remote connection makes it possible for Automation Studio to use an
existing PVI connection between the remote Windows PC and a controller.

t
rin
ep Fig. 8: Schematic of a remote connection
rr
The PVI to PVI connection between the Automation Studio PC and the PC
in the existing system is based on a standard TCPIP connection.

On the server PC, which is connected directly to the controller, the remote
function must be enabled in the PVI manager, and a free port number must
t fo

be defined.

In Automation Studio only the IP address and this port number must be
configured in order to establish the online connection from the server PC
to the remote controller.
no

Fig. 9: Online settings for remote connection

Automation Studio Online Communication TM211 15


Remote maintenance

5.3 Remote maintenance - Network / Internet


There are various ways to perform remote maintenance on a remote device
via a network or via the Internet / Intranet.

t
There are two types of physical connection used for remote maintenance:

rin
Private connections can be established using various types of physical
connections, including leased connections, modem dial-up connections, or
so-called cloud networks (point - point connection). A private connection is
established between two devices.

Public connections are established via the public network (Internet). In this case, a
device is connected via the shortest connection to the network (=POP,
Point Of Presence). As long as the device is connected to this network, any

ep
other device can be reached. All devices within this network can
communicate with each other.

The Automation Studio Help system explains several methods for


establishing a connection between two devices. The type of network
connection selected depends on the network structure of the system.
rr
Automation Studio Help:
Communication / Remote maintenance / Network / Internet
t fo
no

16 TM211 Automation Studio Online Communication


Summary

6. SUMMARY
A connection between Automation Studio and the target system can be
configured simply and consistently.

Unpack – Plug in – Online.

t
Whether you're connecting locally point-to-point or remotely over great

rin
distances, with Automation Studio the configuration is always the same.

ep
rr
t fo

Fig. 10: Online communication

For the Automation Studio user, remote maintenance doesn't involve any
additional configuring or programming

Regardless of what physical connections are used, the configurations made


no

on the target system and in Automation Studio remain the same.

The communication itself is based on standard Windows mechanisms. This


means that Automation Studio can connect to any peer station that can be
reached via Windows.

Online
Regardless of physical connection or distance

Automation Studio Online Communication TM211 17


Summary

Notes

t
rin
ep
rr
t fo
no

18 TM211 Automation Studio Online Communication


Summary

t
rin
ep
rr
Overview of training modules

TM210 – The Basics of Automation Studio TM600 – The Basics of Visualization


t fo

TM211 – Automation Studio Online Communication TM610 – The Basics of ASiV


TM213 – Automation Runtime TM630 – Visualization Programming Guide
TM220 – The Service Technician on the Job TM640 – ASiV Alarm System, Trend and Diagnostic
TM223 – Automation Studio Diagnostics TM670 – ASiV Advanced
TM230 – Structured Software Generation
TM240 – Ladder Diagram (LAD) TM700 – Automation Net PVI
TM241 – Function Block Diagram (FBD) TM710 – PVI Communication
TM246 – Structured Text (ST) TM711 – PVI DLL Programming
TM250 – Memory Management and Data Storage TM712 – PVIServices
TM261 – Closed Loop Control with LOOPCONR TM730 – PVI OPC

TM400 – The Basics of Motion Control TM800 – APROL System Concept


TM410 – The Basics of ASiM TM810 – APROL Setup, Configuration and Recovery
TM440 – ASiM Basic Functions TM811 – APROL Runtime System
no

TM441 – ASiM Multi-Axis Functions TM812 – APROL Operator Management


TM445 – ACOPOS ACP10 Software TM813 – APROL XML Queries and Audit Trail
TM446 – ACOPOS Smart Process Technology TM830 – APROL Project Engineering
TM450 – ACOPOS Control Concept and Adjustment TM840 – APROL Parameter Management and Recipes
TM460 – Starting up Motors TM850 – APROL Controller Configuration and INA
TM480 – Hydraulic Drive Control TM860 – APROL Library Engineering
TM865 – APROL Library Guide Book
TM500 – The Basics of Integrated Safety Technology TM870 – APROL Python Programming
TM510 – ASiST SafeDESIGNER TM890 – The Basics of LINUX
TM540 – ASiST SafeMC

Automation Studio Online Communication TM211 19


20
Summary

TM211
Weblink

Internationality
no Contact (Headquarters)

Copyright – Model number


t fo

Automation Studio Online Communication


Back cover (number of pages divisible by 4)

rr
ep
rin
TM211TRE.30-ENG
t 0410
©2010 by B&R. All rights reserved.
All registered trademarks are the property of their respective owners.
We reserve the right to make technical changes.

You might also like