Mastersimulation for Starter- and Developerkits (English): Unterschied zwischen den Versionen

Aus Deutschmann Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
  
 
'''Add-Ons für Developerkit und Starterkit'''
 
'''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.  
+
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.  
  
 
== Available Add on's ==
 
== Available Add on's ==

Version vom 17. Februar 2017, 11:14 Uhr

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.

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

  1. Start the Starterkit-Software-Module for CANopen.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Via the menue item "Options" -> "SetOperational" both devices are set to the status "Operational".
  7. 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.
  1. Start Starterkit-Software-Module for DeviceNet.
  2. 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.
  3. Afterwards the UNIGATE® is started in "Data Exchange Mode".
  4. 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.
  5. 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.
  6. Afterwards the UNIGATE® CAN-PC-Adapter and the UNIGATE® can be started in "Data Exchange Mode".
  7. 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:

  1. 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
  2. Start TwinCAT.
  3. It has to be checked via the menue item "TwinCAT" whether the PC's present network card is compatible.

EtherNet/IP

  1. Start the Starterkit-Software-Module for EtherNet/IP.
  2. 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.
  1. After that the UNIGATE® is started in "Data Exchange Mode".
  2. 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".
  3. The connection can now be established via the menue item "Options" --> "Start Class 1 Connenction".
  4. 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.
  5. 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

  1. Start the Starterkit-Software-Module for Ethernet.
  2. 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 "Ping Remote Host" button a ping can be send to the UNIGATE® which will answer accordingly.
  1. Then the settings can be confirmed via the "OK" button.
  2. Now the UNIGATE® has to be connected with the used Ethernet-Network and to be started in "Data Exchange Mode".
  3. The connection between Starterkit-Software-Module for Ethernet and UNIGATE® can be established via the menue item "Options" --> "Start".
  4. 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

  1. Start the Starterkit-Software-Module for Interbus.
  2. A window opens via the menue item "Options" --> "Interbus", here two settings have to be done first.
  3. 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.
  4. Setting of InterbusBaudrate: The InterbusBaudrate can be set tof "500kB" or "2MB".
  5. The settings are confirmed via the "OK" button.
  6. Now the hardware of the Add-on can be connected on the fieldbus side with the UNIGATE® and started in "Data Exchange Mode".
  7. 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

  1. Start the Starterkit-Software-Module for PROFIBUS.
  2. A window opens via the menue item "Options" --> "Module", here some settings have to be done first.
  3. 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.
  4. Setting of Slave-ID: The Slave-ID of the connected UNIGATE® has to be entered via the input field "Profibus Slave ID".
  5. Selection of GSD-file: The needed GSD-file has to be selected via the "Open File" button.
  6. Selection of Modules: The desired module can be selected via the field "Modulname".
  7. The settings are confirmed via the "OK" button.
  8. Now the hardware of the Add-on can be connected on the fieldbus side with the UNIGATE® and started in "Data Exchange Mode".
  9. 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

  1. Start the Starterkit-Software-Module for PROFINET.
  2. The desired network must first be selected via the menue item "Options" --> "Select Network".
  3. The UNIGATE® then can be started inim "Data Exchange Mode".
  4. Via the menue item "Options" --> "Scan/Set Device" can now be displayed all PROFINET-devices in this Network.
  5. 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.
  6. The bus status LED of the selected PROFINET device is addressed via the "Signal" button and flashes red.
  7. 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.
  8. The device name is then set in the PROFINET device via the "Set" button. This can be checked by a new scan.
  9. In addition, there are 2 ways to assign an IP address. Option 1: Use the next free IP-address proposed by the Starterkit-Software-Module for PROFINET. This appears on the button next to "IP-Address Proposal". By confirming the button this IP-address is entered in the field above(Device IP-Address). The IP-address is then set in the PROFINET-device via the "Set" button. This can be checked by a new scan. Option 2: Enter the desired IP-adress directly in the field (Device IP-Address). The IP-address is then set in the PROFINET-device via the "Set" button. This can be checked by a new scan.
  10. Data length has to be entered in the area "Data Size 1..512". 8 Byte Input and 8 Byte Output is standard.
  11. The connection now can be started via the menue item "Options" --> "Start". If the Connection is o.k., the infon "Running" will appear in the status bar.
  12. Then you can enter data via the input field "Outputdata" and send it via PROFINET to the UNIGATE® by using the "Send" button. These are displayed in the window below. When receiving data they are displayed in the window Inputdata.
  13. The connection can be stopped via the menue item "Options" --> "Stop". The info "Bus stopped" will appear in the status bar.
  14. The PROFINET-device can also be reset via the menue item "Options" --> "FactoryReset". The device name is deleted and the IP-address ist set to 0.0.0.0.

FBRS232

  1. Start the Starterkit-Software-Module for RS.
  2. A window opens via the menue item "Options" --> "Settings", here some settings have to be done first.
  3. Setting of COM-Port: The used COM-Port has to be selected via the menue item "Serial Options". . If there is no real COM port on the PC, a USB-to-RS232 converter is required.
  4. Further Serial Settings: More settings for the serial interface can be done via the menue item "More Serial Options".
  • Baudrate: 9600
  • Startbits: 1
  • Stopbits: 1
  • Databits: 8
  • Parity: none
  1. These Settings can be confirmed via the "OK" button.
  2. Now the UNIGATE® can be started in "Data Exchange Mode".
  3. Then you can enter data via the input field "Outputdata" and send it via RS-interface to the UNIGATE® by using the "Send" button. These are displayed in the window below. When receiving data they are displayed in the window Inputdata.

Application

With the Starterkit-Software-Module RS232, the data exchange of a UNIGATE® can be simulated between the application side and the Fieldbus resp. Industrial Ethernet side.

RS232

The Starterkit-Software-Mmodule RS232 is used to send or receive data via the application interface RS232of the UNIGATE®.

  1. Start the Starterkit-Software-Module RS232 for Application Interface RS232.
  2. A window opens via the menue item "Options" --> "Settings", here some settings have to be done first.
  3. Setting COM-Port: The used COM-Port has to be selected via the menue item "Serial Options". If there is no real COM port on the PC, a USB-to-RS232 converter is required.
    1. More serial settings: Further settings for the serial interface can be made via the menu item "More Serial Options".
  • Baudrate: 9600
  • Startbits: 1
  • Stopbits: 1
  • Databits: 8
  • Parity: none
  1. Then the settings can be confirmed via the '"OK"' button.
  2. The UNIGATE® can then be started in the "data exchange mode".
  3. Now data can be entered in the input field '"Outputdata" and sent via the application interface RS232 to the UNIGATE® via the "Send" button. These are displayed in the window below. When data is received, they are displayed in the Inputdata window.

Weblinks