Connection via OPC system bus (CAN)

Requirements for establishing the connection:

  • The PC is connected to the online device via a CAN adapter.

  • The CAN adapter must be entered and active in the system bus configurator.

  • This is how you establish the connection to the online device:

  1. Click on the Windows™ Start button.

  2. Enter the command cmd in the command line.

    • A new instance of the Windows command interpreter is started.

  3. Enter the command for establishing the connection.

    Note:

    Enter " can:/dev <node address of the online device> / " in the command.

    Example:

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

Programme example

You can use the following programme example as a basis for creating a batch file, taking into account the syntax and the programme path:

@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 system bus adapter EMF2173IB

PC system bus 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 are 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/