| |
PROFIBUS - CFG Files
There are some configuration files involved. One central
file for the definition of the hardware being used is:
EC.ECD
In this file youll find a section [PROFIBUS].
It has 3 lines which define |
| - |
The number of adapters. In the current
version only one adapter is supported. This value has been included
for future compatibility reasons. For each adapter there has be a
section [ADAPTER]. |
| - |
DPM Address defines the location of
the dual ported memory where the data exchange takes place between
the application program running on the PC and the firmware of the
CIF30. Make sure that you have set the address on the CIF board correctly
and that there is no collision with other hardware components in the
PC system. Furthermore exclude this 2K memory block from being used
by EMM386 by making an appropriate statement in the DOS configuration
file CONFIG.SYS |
| - |
BoardType specifies the actual type
of the adapter. The CIF30 comes in different versions regarding the
size of the DPM. Legal values are 2 and 8. If the wrong value is given,
the FMS software will not be able to detect the adapter |
#****************************************************************************
#** EC ********************************************************************
#****************************************************************************
#* *
#*
FILENAME: EC.ECD Version: 1.00 Date: 15.02.1999 *
#*
*
#*
MODULE DESCRIPTION: *
#*
EC device description file *
#*
*
#*
CHANGES: *
#*
Date Name Ver. Comments *
#*
________ ____ ____ __________________________________________________
*
#*
*
#*
*
#****************************************************************************
#****************************************************************************
#
[
System ]
TimerInterruptValue
= 10
#============================================================================
#
Ports
#
COM1, COM2 ... COM8, LPT1, LPT2, DIG1, DIG2
#============================================================================
[
Ports ]
Port,
Adr, Irq, Type
COM1,
3f8, 4, STANDSERIAL
COM2,
2f8, 3, STANDSERIAL
COM3,
3e8, 5, STANDSERIAL
COM4,
2e8, 12, STANDSERIAL
DIG1,
220, 0, DIGITAL
0
# End of port specifications
#
[
Multiserial ]
Board
= HOSTESS # Supported Boards are HOSTESS and DIGIBOARD
Adress
= 140
0
#============================================================================
#
Ethernet adapters
#============================================================================
[
Ethernet ]
Number
of ethernet adapters = 1
#
#
Valid Types:
#
"SMC8XXX" , "3COM3C503",
#
"NE2000" , "NE2000PCMCIA",
#
"3COM3C509", "3COM3C589PCMCIA",
#
"SMC91C9X" , "SMC91XPCMCIA",
#
"LANCE" , "ETHEREXPRESS",
#
"CS89X0" , "PACKET",
#
"LOOPBACK" , "SLIP_UART",
Board
type = 3COM3C509
Board
IRQ = 10
Board
IO address (hex) = 300
Own
IP address = 148.203.147.174
Subnet
mask = 255.255.252.0
Number
of default gateways = 1
Default
gateway 1 = 148.203.147.1
Additional
Options = FTP, TELNET
#
[
PROFIBUS ]
Number
of adapters = 1
#
[
ADAPTER ]
DPM
Address = CC00
BoardType
= 2
#
#****************************************************************************
#****************************************************************************
|
| |
Project file APPL.PRJ
The internal system function for FMS communication will be enabled
in the section [PLC]
by specifying PBFMS as the PLCTYPE.
The value DB, 100 specifies the data block, which will be used as
the control block.
Note: the value offset in the line "CB
adress = DB,100, 8" has no special meaning since with profibus
it is not possible to read or write from/to an object, which contains
an array, while using an offset. This is a difference to the PLC functionality
known from the VIPA or the MODBUS implementation. The value offset
(8) is disregarded.
#***********************************************************************/
#** D.
Kuske, I.C.S., Lehre, Germany ***********************************/
#***********************************************************************/
#* */
#*
DATEINAME: APPL.PRJ Version: 1.0 Datum: 17.12.1993 */
#*
*/
#*
MODULBESCHREIBUNG: */
#*
Projektdatei fr "APPL KSR" */
#*
*/
#*
MODIFIKATIONEN: */
#*
Datum Name Ver. Kommentare */
#*
________ ____ ____ _______________________________________________
*/
#*
*/
#**********************************************************************/
#
#**********************************************************************/
$
0. DOKUMENTATION
#**********************************************************************
#
Projekt................ : APPL
#
Anlage................. :
#
Ersteller.............. : D. Kuske
#
Firma.................. : I.C.S. Germany
#
Abteilung.............. :
#
last change............ : 99-11-20
#
#**********************************************************************
[
System ]
Trace
level = 8
SysLog
= 1
Station
= KSR1
License
= NPQCKJDQCK
#**********************************************************************
[
Display ]
#Display
= SEARCH, 1024, 768, 256
Display
= VGA640x480
#Display
= VESA1024x768X
#**********************************************************************
[
Tracer ]
Window
= ON
# Trace window ON / OFF at system start
Lines
= 21
# number of lines in trace window
ExclChan
= 66
# Exclude channel 47
Logfile=
ON
# send trace to logfile
MaxSize=
1
# MaxFileSize 1...10 megabytes
Extern
= OFF
# serial tracer output enabled / disabled
Port
= COM1, 9600, 8, E, 1 # port parameters for extern trace terminal
#**********************************************************************
[
Plc ]
Type
= PBFMS
CB
adress = DB,100, 8
NW
adress = DM.15.0.0.0.0
#**********************************************************************
[
Applications ]
Number
of applications = 1
#======================================================================
#[
Application ]
Type
= PMON
CPU
channels = 0, 0 # number of channels, first channel
Local
channels = 19,60
Configuration
= PMON
Trace
level = 3
Drivers
= 2
[
Driver ]
Type
= UDP, FIS1
Port
= NET1
Max.
length = 512
Configuration
= REM_HOST
Trace
level = 3
[
Driver ]
Type
= UDP, MAINT
Port
= NET2
Max.
length = 512
Configuration
= REM_HOST
Trace
level = 3
#======================================================================
#[
Application ]
Type
= GD
CPU
channels = 0, 0 # number of channels, first channel
Local
channels = 1, 79
Configuration
= GD
Trace
level = 0
Drivers
= 0
#======================================================================
#[
Application ]
Type
= DBF
CPU
channels = 0, 0 # number of channels, first channel
Local
channels = 1, 80
Configuration
= DBF
Trace
level = 0
Drivers
= 0
#======================================================================
[
Application ]
Type
= APP1
CPU
channels = 16, 0
Local
channels = 21, 30
Configuration
= APPL
Trace
level = 5
Drivers
= 0
#
PROJEKTDATEI ENDE
|
| |
Configuration APPL.CFG
In this file we are defining the channel configuration for the specific
application APPL. The addresses for the order blocks of channels 0
through 15 must match the parameterization of the PROFIBUS!
#**********************************************************************/
#* */
#* DATEINAME:
APPL.CFG Version: 1.0 Datum: 02.07.1999 */
#* */
#* MODULBESCHREIBUNG:
*/
#* Konfigurationsdaten
fuer Applikation APPL */
#* */
#* MODIFIKATIONEN:
*/
#* Datum
Name Ver. Kommentare */
#* ________
____ ____ _________________________________________________ */
#* 31.03.99
KU 1.00 */
#* =======================================================================
*/
#* Achtung:
fehlerhafte oder fehlende Eintraege in dieser Datei fuehren bei
*/
#* Start
der Software zu einem Abbruch der Verwaltungsapplikation. */
#***************************************************************************/
#Kan, Ber,
Bas, Offs, Buf ,Port, I Verb, Priority, Station, Kan.-Typ I
#---,----,----,-----,-----,----,---I------,--------,-----------I
[ Channels
]
0,
DB, 101, 10, 256, 1, 0, PLC , XXXX , PLC_1
1,
DB, 111, 10, 256, 1, 0, PLC , XXXX , PLC_2
2,
DB, 121, 10, 256, 1, 0, PLC , XXXX , PLC_3
3,
DB, 131, 10, 256, 1, 0, PLC , XXXX , PLC_4
4,
DB, 141, 10, 256, 1, 0, PLC , XXXX , PLC_5
5,
DB, 151, 10, 256, 1, 0, PLC , XXXX , PLC_6
6,
DB, 161, 10, 256, 1, 0, PLC , XXXX , PLC_7
7,
DB, 171, 10, 256, 1, 0, PLC , XXXX , PLC_8
8,
DB, 181, 10, 256, 1, 0, PLC , XXXX , PLC_9
9,
DB, 191, 10, 256, 1, 0, PLC , XXXX , PLC_10
10,
DB, 201, 10, 256, 1, 0, PLC , XXXX , PLC_11
11,
DB, 211, 10, 256, 1, 0, PLC , XXXX , PLC_12
12,
DB, 221, 10, 256, 1, 0, PLC , XXXX , PLC_13
13,
DB, 231, 10, 256, 1, 0, PLC , XXXX , PLC_14
14,
DB, 241, 10, 256, 1, 0, PLC , XXXX , PLC_15
15,
DB, 251, 10, 256, 1, 0, PLC , XXXX , PLC_16
#
30,
PC, 0, 0, 256, 1, 60, PMONM , BEZD , PMOND1
31,
PC, 0, 0, 256, 1, 61, PMONS , BEGV , PMOND2
32,
PC, 0, 0, 256, 1, 62, PMONM , BEKG , PMOND3
33,
PC, 0, 0, 256, 1, 63, PMONM , BEKU , PMOND4
34,
PC, 0, 0, 256, 1, 64, PMONM , RKZD , PMOND5
35,
PC, 0, 0, 256, 1, 65, PMONS , RKEA , PMOND6
36,
PC, 0, 0, 256, 1, 66, PMONM , RKNF , PMOND7
37,
PC, 0, 0, 256, 1, 67, PMONM , RKEL , PMOND8
38,
PC, 0, 0, 256, 1, 68, PMONS , RKAA , PMOND9
39,
PC, 0, 0, 256, 1, 69, PMONM , RKAS , PMOND10
40,
PC, 0, 0, 256, 1, 70, PMONM , RKAL , PMOND11
41,
PC, 0, 0, 256, 1, 71, PMONM , BAZD , PMOND12
42,
PC, 0, 0, 256, 1, 72, PMONM , BAFP , PMOND13
43,
PC, 0, 0, 256, 1, 73, PMONS , BASZ , PMOND14
44,
PC, 0, 0, 256, 1, 74, PMONS , RKDZ , PMOND15
45,
PC, 0, 0, 256, 1, 75, PMONS , XXXX , PMONLZ
46,
PC, 0, 0, 256, 1, 76, PMONM , BASZ , PM_STATE
47,
PC, 0, 0, 256, 1, 77, PMONM , RKDZ , PM_FIFO
48,
PC, 0, 0, 256, 1, 78, PMONM , XXXX , PM_LIFE
49,
PC, 0, 0,2500, 1, 79, GD , XXXX , GD
50,
PC, 0, 0, 500, 1, 80, DBF , XXXX , DBF
#
[
Parameter ]
TIME_LZ=720.
Timeout for Lifesign
# |
back to previous page
Next: Profibus CIF
| |