Mastersimulation for Starter- and Developerkits (English): Unterschied zwischen den Versionen
Reith (Diskussion | Beiträge) |
Biegel (Diskussion | Beiträge) |
||
Zeile 180: | Zeile 180: | ||
== Weblinks == | == Weblinks == | ||
− | *[ | + | *[https://www.deutschmann.de/downloads/Software/Starterkit/SetupStarterkit.zip Starterkit Software] (Zip-Datei) |
*[http://www.beckhoff.com. Software TwinCAT von Beckhoff] | *[http://www.beckhoff.com. Software TwinCAT von Beckhoff] | ||
*[http://deutschmann.de/produkte/download.php?file_id=551 Software NodeUtil (Echelon® Node Utility) von Echelon Corporation] (Zip-Datei) | *[http://deutschmann.de/produkte/download.php?file_id=551 Software NodeUtil (Echelon® Node Utility) von Echelon Corporation] (Zip-Datei) |
Version vom 5. Dezember 2017, 12:37 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.
Inhaltsverzeichnis
Available Add-ons
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 "Ping Remote Host" button a ping can be send to the UNIGATE® which will answer accordingly.
- Then the settings can be confirmed via the "OK" button.
- 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.
- 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.
- Data length has to be entered in the area "Data Size 1..512". 8 Byte Input and 8 Byte Output is standard.
- 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.
- 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.
- The connection can be stopped via the menue item "Options" --> "Stop". The info "Bus stopped" will appear in the status bar.
- 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
- Start the Starterkit-Software-Module for RS.
- A window opens via the menue item "Options" --> "Settings", here some settings have to be done first.
- 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.
- 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
- These Settings can be confirmed via the "OK" button.
- Now the UNIGATE® can be started in "Data Exchange Mode".
- 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®.
- Start the Starterkit-Software-Module RS232 for Application Interface RS232.
- A window opens via the menue item "Options" --> "Settings", here some settings have to be done first.
- 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.
- 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
- Then the settings can be confirmed via the '"OK"' button.
- The UNIGATE® can then be started in the "data exchange mode".
- 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.