Products » UNIGATE@Chip
UNIGATE@Chip
Profibus extension for Beck starterkit DK60
UNIGATE@CHIP: DK60 as PROFIBUS Slave
This application note describes how to use the PROFIBUS function kit from Deutschmann Automation GmbH & Co. KG on the DK60. This function kit consists of a PROFIBUS slave module (UNIGATE IC PROFIBUS) and the UNIGATE@CHIP adapter. Please note, that the UNIGATE modules have the advantage of using a script language for customizing the serial port protocol. A tool for downloading customized scripts to the UNIGATE modules is available from Deutschmann Automation GmbH & Co. KG.
This application note is based on the contents of the accompanying ZIP-archive "AN_Unigate_Example_V1.0.zip". It only describes the communication between the IPC@CHIP and the PROFIBUS function kit based on the serial protocol explained in chapter "Concept".
Background
The PROFIBUS function kit utilizes the connectors for UART0 (S40 & S42), UART1 (S41 & S43) and CAN1 (S38). For data communication between the PROFIBUS module and the IPC@CHIP® SC143 only UART0 and two PIOs (14 & 15) are used. The connection to UART1 is only for mechanical purposes and does not affect communication on this port in any way. The application within the accompanying ZIP-archive shows an example of how to initialize the field bus module and read and write data from / to the bus. For getting this example application working it is necessary to have a PROFIBUS master system (PLC), which loops back the received data to the slave. The aim is to write the current state of the DIP switch on the DK60 to the field bus, get it read back from the master and show it on the LEDs on the DK60.
This is done in a strictly response-by-request basis which means every single request has to follow a response, before another request can be send. This should be taken into account when setting up a communication concept based on this application note, because a communication where telegrams could be send and received in an arbitrary order would need an own and more complex message handling system.
Order data
| Order designation | Description | Order no. |
| Board for Beck DK 60 with Unigate IC-ProfibusDPL | V3668 |
