PROFIBUS Slave
Protocol Software
|
PROFIBUS DP and PROFIBUS PA are used in
process control and Factory Automation as major standards. PROFIBUS PA
is targeted mainly to process control while PROFIBUS DP is serving the
needs of factory automation. PROFINET finally is the bridge into the
world of TCP/IP. However the solutions offered by Borst Automation are
supporting all of these.
With a PROFIBUS slave it is not possible to
provide a 'sale-and-forget-product' because the application environments
are too different. Therefore we offer the development of a
communication stack for the individual device based on existing software
components. |
|
  |
-
Very low
resource requirements.
-
Very fast 'data
exchange service' implementation.
-
Does not
require an operating system.
-
Very low CPU
clock possible for PROFIBUS PA.
-
PROFIBUS PA and
DP.
-
PC Simulation
Test Client
-
Single
Processor Solution Supported
|
Source Code Example
case SD3:
/* Syntax: SD3, DA, SA, FC,
addr_ext, data_bytes */
if(ucLen ==
SD3_LEN)
{
if(((pucRxData[1] & 0x7F) == g_FMA_ucThisStationAddress) ||
((pucRxData[1] &
0x7F) == BROADCAST)
)
{ /*
Destination address is own address or all stations */
m_pucActAddr = (unsigned
char *)&pucRxDat[1];
m_ucActDataLen =
SD3_LEN-1-3;
/*
if request frame, call decoder. otherwise ignore frame */
if(isValidAddr()
&& (pucRxData[3] & FC_REQBIT))
{ bIsRespToSend
= decodeFrame();
}
else
{ deleteReply();
}
}
else
{ /*
request to another responder: del FCB if request frame */
deleteReply();
}
}
break; |
The above shown piece of code can only be used, if the data link layer is
realized in software (e.g. a two wire transmitter for Profibus PA). If you need
the Profibus running on an SPC4 a completely different solution is
required because the SPC4 is handling all of the low level communications.
Another example is the integration of the update of cyclic user data. Using
the SPC4 this is easily handled by an update function of the chip itself. If
the data link layer is realized by software a special low level interface to the
data link layer is required, which is updating the communication buffers with
the newest user data.
Therefore the price for C Source code of a Profibus Slave is within a region of
5000.- to
40000.- Euro depending on the application requirements and the embedded system
environment interfaces and resources. In addition you may require services for
other issues like testing or the integration into a PC simulation.
If you like to purchase a Profibus implementation please send all details to
the email address
info@hart-profibus.com
and ask for an individual quotation.
Notes:
PROFIBUS is a registered trademark of the PROFIBUS user organization.
|
|