Verbindung über OPC Systembus (CAN)

Voraussetzungen für den Verbindungsaufbau:

  • Der PC ist über einen CAN-Adapter mit dem Online-Gerät verbunden.

  • Der CAN-Adapter muss im Systembuskonfigurator eingetragen und aktiv sein.

  • So bauen Sie die Verbindung zum Online-Gerät auf:

  1. Auf den Windows™ Startbutton klicken.

  2. In die Kommandozeile den Befehl cmd eingeben.

    • Es wird eine neue Instanz des Windows Befehlsinterpreters gestartet.

  3. Befehl für den Verbindungsaufbau eingeben.

    Hinweis:

    Tragen Sie in den Befehl den Schriftzug " can:/dev <Knotenadresse des Online-Geräts> / " ein.

    Beispiel:

    start /d "<Programmpfad >" MaintenanceTool.exe -Connection d8f0e269-0760-4633-9a75-6605e7471c77\can:/dev1/

Programmbeispiel

Das folgende Programmbeispiel können Sie unter Beachtung der Syntax und des Programmpfades als Grundlage für die Erstellung einer Batchdatei verwenden:

@echo off

goto :EndOfComment

=================================================================

This batch file starts the EASY Starter 1.14

and inserts 1 online device over the connection 'OPC Systembus Server'.

Prerequisites:

The device must be connected via one of the following CAN adapters:

PC Systembus Adapter EMF2173IB

PC Systembus Adapter EMF2177IB

Ethernet CAN Adapter EMF2180IB

Modem CAN EMF2181IB

Gateway EL100

PC extension board Lenze MC-CAN2

PC extension board Lenze ISA CAN

PC extension board Lenze PCI CAN

PC extension board Lenze FC-CAN

The adapter to be used must be configured in the SystemBus Configuration Tool.

If there is more than one adapter configured, the adapter marked as

'Default' will be used.

How to specify the address of the device:

Specify 'can:/dev' followed by the Node ID and another '/', e.g. 'can:/dev1/'.

If there several adapters configured and active, and you do not want to use

the Standard adapter, you must also specify the ID of the adapter to be used,

e.g. 'can:/3/dev1/'.

=================================================================

:EndOfComment

start /d "C:\Program Files (x86)\Lenze\EASYStarter_1_14" MaintenanceTool.exe^

-Connection d8f0e269-0760-4633-9a75-6605e7471c77\can:/dev1/