Mastersimulation for Starter- and Developerkits (English)
Add-Ons für Developerkit und Starterkit With 'add-on' we mean a collection of various components to get to a simple simulation of the Fieldbus resp. Industrial Ethernet side. An Add-on contains the necessary cables and if needed the corresponding hardware.
Inhaltsverzeichnis
Available Add on's
All add-ons include the necessary cables. Additional components listed here in detail:
- CANopen: Starterkit-Software-Module for CANopen + Special hardware.
- DeviceNet: Starterkit-Software-Module for DeviceNet + Special hardware.
- EtherCAT*: Software TwinCAT by Beckhoff.
- Ethernet/IP: Starterkit-Software-Module for EtherNet/IP.
- Ethernet (TCP/IP): Starterkit-Software-Module for Ethernet.
- Interbus: Starterkit-Software-Module for Interbus + Special hardware.
- LONWorks*: Software NodeUtil (Echelon® Node Utility) by Echelon Corporation + Special Hardware
- PROFIBUS DPV0: Starterkit-Software-Module for PROFIBUS + Special hardware.
- PROFINET: Starterkit-Software-Modul for PROFINET.
- FBRS232: Starterkit-Software-Modul for Serial protocols instead of fieldbus.
* Programms of third-party manufacturers. No component of the Starterkit Software by Deutschmann Automation GmbH & CO.KG
Mastersimulations
Here to follow a short description of the available master simulations, the starterkit modules.
CANopen
- Start the Starterkit-Software-Module for CANopen.
- Next to the Starterkit-software-module for CANopen, the window "Fieldbus CAN with RS232" opens. In the field "Port of RS-CAN-PC adapter ", the used COM port used must be selected. If there is no real COM port on the PC, a USB-to-RS232 converter is required. In the field "Baudrate (RS-Side RS-CAN-PC-Adapter) 38400" the baud rate must be set to 38400, if "UNIGATE® CAN-PC adapter" is used. This adapter is the special hardware required for the simulation of the fieldbus side. The settings can then be confirmed via the "OK" button.
- In order to ensure a correct data exchange, the "UNIGATE® CAN-PC-Adapter" and the UNIGATE® CL have to be set accordingly. Please see the example in the table below.
- The "Fieldbusside" of the UNIGATE® CAN-PC-Adapter has to be connected to the "Fieldbusside" of UNIGATE® CL. The application side of UNIGATE® CAN-PC-Adapter has to be connected to the PC.
- Afterwards the UNIGATE® CAN-PC-Adapter and the UNIGATE® can be started in "Data Exchange Mode". Bothe devices must be in the status "PreOperational" now.
- Via the menue item "Options" -> "SetOperational" both devices are set to the status "Operational".
- Now data may be entered in the enter field "Outputdata" and send via the button "Send" via CANopen to the UNIGATE®. These were displayed in the window below. A receipt of data is shown in the window Inputdata.
UNIGATE® CAN-PC-Adapter | UNIGATE® CL | Note | |
---|---|---|---|
Baudrate | 125 kBd | 125 kBd | Via the dip switch the baudrate has to be set to "11". |
Node ID | 2 | 1 | The Node-ID has to be set accordingly via the dip switch (from right to left). |
Operation Mode | Data Exchange Mode | Data Exchange Mode | Rotary Switch S4 + S5 = "00" |
DeviceNet
- Before it may be worked with the Starterkit-Software-Module for DeviceNet, both parameters "Blocklength filedbus input und output" have to be configured via the configuration software WINGATE.(Universalscript Deutschmann). These are read out by the Starterkit-Software-Modul for DeviceNet and are displayed under "Info". If 8 Byte are configured, automatically a cyclic poll for data exchange from the starterkit-software-module for DeviceNet is processed. If more then these 8 Bytes are configured, then the data on the fieldbus site as well as on the serial side has to change in order to process a data exchange.
- Start Starterkit-Software-Module for DeviceNet.
- Next to the Starterkit-Software-Module for DeviceNet the window "Feldbus" opens. In the field "Port of RS-CAN-PC-Adapter" the used COM-Port must be selected. If there is no real COM port on the PC, a USB-to-RS232 converter is required. In the field "Baudrate (RS-Side RS-CAN-PC-Adapter) 38400" the baud rate has to set to 38400, if "UNIGATE® CAN-PC-Adapter" is used. This adapter is the special hardware required for the simulation of the fieldbus side. The settings can then be confirmed via the "OK" button.
- Afterwards the UNIGATE® is started in "Data Exchange Mode".
- In order to ensure a correct data exchange, the "UNIGATE® CAN-PC-Adapter" and the UNIGATE® CL have to be set accordingly. Please see the example in the table below.
- The "Fieldbusside" of the UNIGATE® CAN-PC-Adapter has to be connected to the "Fieldbusside" of UNIGATE® CL. The application side of UNIGATE® CAN-PC-Adapter has to be connected to the PC.
- Afterwards the UNIGATE® CAN-PC-Adapter and the UNIGATE® can be started in "Data Exchange Mode".
- Now data may be entered in the enter field "Outputdata" and send via the button "Send" via Device Net to the UNIGATE ®. These were displayed in the window below. . A receipt of data is shown in the window Inputdata.
UNIGATE® CAN-PC-Adapter | UNIGATE® CL | Hinweis | |
---|---|---|---|
Baudrate | 125 kBd | 125 kBd | Via the dip switch the baudrate has to be set to "11". |
Node ID | 2 | 1 | The Node-ID has to be set accordingly via the dip switch (from right to left). |
Operation Mode | Data Exchange Mode | Data Exchange Mode | Rotary switch S4 + S5 = "00" |
EtherCAT
The software is the program "TwinCAT" by the company Beckhoff and can be loaded in the download/Software-area. Note: The software TwinCAT is not a part of the starterkit Software by Deutschmann Automation GmbH & CO.KG.
After the installation, the following must be observed before starting the program:
- After installation of TwinCAT, the XML-file by Deutschmann Automation has to be copied to the following Directory: C:\TwinCAT\3.1\Config\Io\EtherCAT
- Start TwinCAT.
- It has to be checked via the menue item "TwinCAT" whether the PC's present network card is compatible.
EtherNet/IP
- Start the Starterkit-Software-Module for EtherNet/IP.
- Next to the Starterkit-Software-Module for EtherNet/IP the window "EtherNet/IP Settings" opens.
- "IP-Adrdress Device": Here has to be entered the IP-Address of the connected UNIGATE®.
- "Own IP-Adress(Network)": Here has to be entered the IP-Address of the used network.
- "RPI-Intervall (both directions in ms)": Here can be set a time of 100, 200, 500 und 100 ms.
- "Connection Point": Here has to be entered the Assembly-Object-Numbers, if they are part of the script.
- "Data Size (Byte)": Here has to be entered the number of Input - and outputdata which have been either configured via WINGATE® or were entered in the script.
- After that the UNIGATE® is started in "Data Exchange Mode".
- The UNIGATE® can be searched via the menue item "Options" --> "Scan Device". When the UNIGATE® is found, a corresponding message will appear in the status bar e.g. "Device found 10.10.10.5".
- The connection can now be established via the menue item "Options" --> "Start Class 1 Connenction".
- Then you can enter data via the input field "Outputdata" and send it via Ethernet/IP to the UNIGATE® by using the button "Send". These are displayed in the window below. When receiving data they are displayed in the window Inputdata.
- The connection can be interrupted again via the menue item "Options" --> "Remove Class 1 Connenction". The message "disconnected" will appear in the status bar.
Ethernet
- Start the Starterkit-Software-Module for Ethernet.
- Via the menue item "Options" --> "Settings" the window "Ethernet Settings" opens. The following settings have to be done:
- Remote IP Address: That's the IP-Address of the UNIGATE®.
- Locale Port (decimal): The address stored in the script must be stored here.
- Remote Port (decimal): The address stored in the script must be stored here.
- Transport Protocol: Here can be selected between TCP/IP and UDP.
- Functionality: Here can be selected between Client and Server. Example: If the UNIGATE® should be Client , then here Server has to be set.
- Own IP Address: Here the IP-Address of the used PC or network card is displayed.
- Via the button "Ping Remote Host" a ping can be send to the UNIGATE® which will answer accordingly.
- Then the settings can be confirmed via the button "OK".
- Now the UNIGATE® has to be connected with the used Ethernet-Network and to be started in "Data Exchange Mode".
- The connection between Starterkit-Software-Module for Ethernet and UNIGATE® can be established via the menue item "Options" --> "Start".
- Then you can enter data via the input field "Outputdata" and send it via Ethernet to the UNIGATE® by using the button "Send".These are displayed in the window below. When receiving data they are displayed in the window Inputdata.
Interbus
- Start the Starterkit-Software-Module for Interbus.
- A window opens via the menue item "Options" --> "Interbus", here two settings have to be done first.
- Setting of COM-Port: The used COM-Port has to be entered via the field "Interbus Port "1-8" für COM1 - COM8". If there is no real COM port on the PC, a USB-to-RS232 converter is required.
- Setting of InterbusBaudrate: The InterbusBaudrate can be set tof "500kB" or "2MB".
- The settings are confirmed via the "OK" button.
- Now the hardware of the Add-on can be connected on the fieldbus side with the UNIGATE® and started in "Data Exchange Mode".
- Then you can enter data via the input field "Outputdata" and send it via Interbus to the UNIGATE® by using the button "Send". These are displayed in the window below. When receiving data they are displayed in the window Inputdata.
LONWorks
The software is the program "NodeUtil" (Echelon® Node Utility) by the Company Echelon Corporation. The software is not a part of the starterkit software by Deutschmann Automation GmbH & CO.KG.
PROFIBUS
- Start the Starterkit-Software-Module for PROFIBUS.
- A window opens via the menue item "Options" --> "Module", here some settings have to be done first.
- Setting of COM-Port: The used COM-Port has to be selected via the field "Profibus UART Port (COM1...COM8)". If there is no real COM port on the PC, a USB-to-RS232 converter is required.
- Setting of Slave-ID: The Slave-ID of the connected UNIGATE® has to be entered via the input field "Profibus Slave ID".
- Selection of GSD-file: The needed GSD-file has to be selected via the "Open File" button.
- Selection of Modules: The desired module can be selected via the field "Modulname".
- The settings are confirmed via the "OK" button.
- Now the hardware of the Add-on can be connected on the fieldbus side with the UNIGATE® and started in "Data Exchange Mode".
- Then you can enter data via the input field "Outputdata" and send it via PROFIBUS to the UNIGATE® by using the button "Send". These are displayed in the window below. When receiving data they are displayed in the window Inputdata.
PROFINET
- Start the Starterkit-Software-Module for PROFINET.
- The desired Network must first be selected via the menue item "Options" --> "Select Network".
- The UNIGATE® then can be started inim "Data Exchange Mode".
- Via the menue item "Options" --> "Scan/Set Device" can now be displayed all PROFINET-devices in this Network.
- In the following window "Settings" in the area "Device Data" under "Select MAC" are displayed all PROFINET-devices found . The desired PROFINET-device may be selected via the MAC-Address. The actual device name (if available) as well as the IP-Address are displayed below the MAC-address.
- The bus status LED of the selected PROFINET device is addressed via the "Signal" button and flashes red.
- It is now possible to assign a device name. This must be entered in the area "Program Setting" 'under "Devicename". Note: The device name can only contain lowercase letters as well as numbers and hyphens.
- The device name is then set in the PROFINET device via the "Set" button. This can be checked by a new scan.
- Außerdem gibt es 2 Möglichkeiten eine IP-Adresse zu vergeben. Möglichkeit 1: Die vom Starterkit-Software-Modul für PROFINET vorgeschlagene nächste freie IP-Adresse verwenden. Diese erscheint auf der Schaltfläche neben "IP-Address Proposal". Durch bestätigen der Schaltfläche wird diese IP-Adresse im Feld darüber (Device IP-Address) eingetragen. Über die Schaltfläche "Set" wird die IP-Adresse dann im ROFINET-Gerät gesetzt. Durch einen erneuten Scan kann dies überprüft werden. Möglichkeit 2: Die gewünschte IP-Adresse direkt im Feld (Device IP-Address) eintragen. Über die Schaltfläche "Set" wird die IP-Adresse dann im ROFINET-Gerät gesetzt. Durch einen erneuten Scan kann dies überprüft werden.
- Im Bereich "Data Size 1..512" muss die Datenlänge eingetragen werden. Standard sind 8 Byte Input und 8 Byte Output.
- Anschließend kann über den Menüpunkt "Options" --> "Start" die Verbindung gestartet werden. Bei einer korrekten Verbindung erscheint die Info "Running" in der Statusleiste.
- Jetzt können über das Eingabefeld "Outptdata" Daten eingetragen und mittels der Schaltfläche "Send" über PROFINET an das UNIGATE® gesendet werden. Diese werden im darunterliegenden Fenster angezeigt. Bei Empfang von Daten werden diese im Fenster Inputdata angezeigt.
- Die Verbindung kann über den Menüpunkt "Options" --> "Stop" gestoppt werden. In der Statusleiste erscheint die Info "Bus stopped".
- Über den Menüpunkt "Options" --> "FactoryReset" kann das ROFINET-Gerät auch wieder zurückgesetzt werden. Dabei wird der Gerätename gelöscht und die IP-Adresse auf 0.0.0.0 gesetzt.
FBRS232
- Starterkit-Software-Modul für RS starten.
- Über den Menüpunkt "Options" --> "Settings" wird ein Fenster geöffnet, indem zunächst diverse Einstellungen vorgenommen werden müssen.
- Einstellen des COM-Port: Über den Menüpunkt "Serial Options" muss der verwendete COM-Port ausgewählt werden. Wenn kein echter COM-Port mehr am PC vorhanden ist, wird ein USB-RS232-Konverter benötigt.
- Weitere serielle Einstellungen: Über den Menüpunkt "More Serial Options" können weitere Einstellungen für die serielle Schnittselle vorgenommen werden.
- Baudrate: 9600
- Startbits: 1
- Stopbits: 1
- Databits: 8
- Parity: none
- Danach können die Einstellungen über die Schaltfläche "OK" bestätigt werden.
- Anschließend kann das UNIGATE® im "Datenaustauschmodus" gestartet werden.
- Jetzt können Daten im Eingabefeld "Outputdata" eingetragen und mittels der Schaltfläche "Send" über die RS-Schnittstelle auf der Feldbusseite an das UNIGATE® gesendet werden. Diese werden im darunterliegenden Fenster angezeigt. Bei Empfang von Daten werden diese im Fenster Inputdata angezeigt.
Application
Mit dem Starterkit-Software-Modul RS232 kann der Datenaustausch eines UNIGATE® zwischen der Applikationsseite und der Feldbus- bzw. Industrial Ethernet-Seite simuliert werden.
RS232
Das Starterkit-Software-Modul RS232 dient dazu, über die Applikationsschnittstelle RS232 des UNIGATE® Daten zu senden oder zu empfangen.
- Starterkit-Software-Modul RS232 für die Applikationsschnittstelle RS232 starten.
- Über den Menüpunkt "Options" --> "Settings" wird ein Fenster geöffnet, indem zunächst diverse Einstellungen vorgenommen werden müssen.
- Einstellen des COM-Port: Über den Menüpunkt "Serial Options" muss der verwendete COM-Port ausgewählt werden. Wenn kein echter COM-Port mehr am PC vorhanden ist, wird ein USB-RS232-Konverter benötigt.
- Weitere serielle Einstellungen: Über den Menüpunkt "More Serial Options" können weitere Einstellungen für die serielle Schnittselle vorgenommen werden.
- Baudrate: 9600
- Startbits: 1
- Stopbits: 1
- Databits: 8
- Parity: none
- Danach können die Einstellungen über die Schaltfläche "OK" bestätigt werden.
- Anschließend kann das UNIGATE® im "Datenaustauschmodus" gestartet werden.
- Jetzt können Daten im Eingabefeld "Outputdata" eingetragen und mittels der Schaltfläche "Send" über die Applikationsschnittstelle RS232 an das UNIGATE® gesendet werden. Diese werden im darunterliegenden Fenster angezeigt. Bei Empfang von Daten werden diese im Fenster Inputdata angezeigt.