Menu

use-example

Pavel Pisa

PBMaster:Example use

From PBMasterWiki

Model production line - (1 master + 2 slaves)

The video shows a model production line running Profibus DP using PBMaster. The drivers emulates a master station with a OX16PCI954 integrated PCI card running at 1.5Mbps (it is possible to run up to 12Mbps without any problem, the limitation is caused by one of slave stations). The configuration is as follow:

 PC:
   - AMD Athlon 64 Processor 2800+, 512MB RAM
   - Linux Debian with 2.6.26 Vanilla kernel

 1 master:
   - PBMaster drivers + OX16PCI954 integrated PCI card
   - baud rate: 1.5Mbps

 2 slaves:
   - WAGO 750-301 (right block) :      7 x 750-400: Digital Input (sensors)
                                       4 x 750-512: Digital Output (servos)
   - WAGO 750-333 (left block)  :      7 x 750-400: Digital Input (sensors)
                                       2 x 750-512: Digital Output (servos)

Source codes of the production line can be found in src/pbm_test/model/prodline1/ of the latest release.

Video at YouTube

Embedded systems and Multi-Master communication - (2 masters + 2 slaves; 2 masters + 1 slave)

The panel shows two Profibus networks. The first network consists of two embedded boards based on ARM microcontrollers. Each board runs in Profibus Master mode and takes control over one Wago slave device. The second network consists of 2 masters, a UART integrated PCI card running in Profibus master mode on a PC and another master by Siemens. The master on the PCI card takes control over the slave device by Wago. The communication speed of this network is 12 Mbps.

The panel shows a simple way to integrate Profibus with another networks as the microcontrollers used to have many interfaces (CAN, I2C, SPI, Ethernet, ..). This is a big advantage of using the software implementation. The panel has been presented at PICC Meeting in Krakow

Master-Slave Communication and Bus Monitoring

The figure shows several Profibus networks. One network consists of an ARM based board running in master mode, a slave station with digital inputs/outputs and an analyzer running in bit mode. The network communication speed is 19200 bps. The second network consists of two Profibus nodes communicating at 12 Mbps. One node simulates a master station, the second node runs in frame analyzer mode. The rest 4 unconnected ports are masters running at 187.5 kbps, 500 kbps, 1.5 Mbps and 6 Mbps. All nodes run simultaneously. Configuration of the computer hardware is the same as above.

Master-Slave Communication and Bus Monitoring

Remote Bus Monitoring

The figure shows two Profibus networks. There is one master, one slave and one bit analyzer on the first network running at 19200 bps. The second network consists of one master and one frame analyzer station running at 12 Mbps. Data from the analyzer is sent over the Internet network to the analyzer and monitoring program running on a notebook.

Two Networks - (2 masters; 1 master + 1 slave)

In the following figure are illustrated 2 networks of Profibus DP. The first consists of a personal computer using a simple converter of RS-232 to RS-485
and a slave station running on 19200 bps. The second network consists of the PBMaster using PCI card and a programmable Master DP from Siemens running on 6.0 Mbps.


Related

Wiki: Home
Wiki: hardware-embedded-boards
Wiki: linux-16pci950

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.