Ok thank you for this well developed explanation, I understand better.
in my system I will have 3 KRC2 bays with CP5613/14 profibus cards as a slave which communicates with a master PLC.
the "pfbms.ini" file for the 3 bays and as explained below.
Code: pfbms.ini
[CP_5613/14]
DEBUG=1
LOGFILE_PATH=init/profibus.log
ERROR_TEXT=English
FORCE_RESET=1
[MASTER]
MASTER_USED=0
DATABASE_PATH=init/brother.ldb
FIRMWARE_PATH=drivers/FW_5613.bin
WATCHDOG_TIME=3
MAPPING_USED=0
MAPPING_PATH=init/
[SLAVE]
MODUL_USED=1
MODUL_ADDRESS=15
;START_TIME=20
ERROR_ACTION=1
;STANDBY=0
;SLAVE_TIMEOUT=0
CHECK_CONFIGURATION_DATA=0
ACCEPTABLE_INPUT_LENGTH=244
ACCEPTABLE_OUTPUT_LENGTH=244
IO_DATA_BASE=0
CONSISTENCE=1
Display More
however, i have to adapt the code of the "iosys.ini" file to make the bays functional and independent.
Code: iosys.ini bay 1
[CONFIG]
VERSION=2.00
[DRIVERS]
;MFC=0,mfcEntry,mfcdrv.o
PBMASL=11,pbmsInit,pfbmsdrv.o
[MFC]
;INW0=0 ;$IN[33-48]
;OUTW0=0 ;$OUT[33-48]
;OUTW2=2 ;$OUT[49-64]
[INTERBUS]
[DEVNET]
[BOSCH]
[PERCEPTRON]
[SBIP]
[FIPIO]
[PROFISL]
[PROFIMA]
[RIO]
[LIBO]
[PBMASL]
;maitre
;inb0=2,0,x4 ;ET200LSC entrees 1 a 32
;outb0=2,0,x4 ;ET200LSC sorties 1 a 32
;inb4=5,0,x2 ;ET200L entrees 33 a 47
;outb4=5,0,x2 ;ET200L sorties 33 a 47
;esclave
inb1=61,0,x4 ; Automate ($IN[9-40])
outb1=61,0,x4 ; AUtomate ($out[9-40])
[DNSC1]
[DNSC2]
[DNSC3]
[DNSC4]
[DNSC5]
[DNSC6]
[DSEIO]
[INTERBUSPCI]
[CNKE1]
[END SECTION]
Display More
Code: iosys.ini bay 2
[CONFIG]
VERSION=2.00
[DRIVERS]
;MFC=0,mfcEntry,mfcdrv.o
PBMASL=11,pbmsInit,pfbmsdrv.o
[MFC]
;INW0=0 ;$IN[33-48]
;OUTW0=0 ;$OUT[33-48]
;OUTW2=2 ;$OUT[49-64]
[PBMASL]
;esclave
inb1=62,5,x4 ; Automate ($IN[9-40])
outb1=62,5,x4 ; AUtomate ($out[9-40])
[END SECTION]
Display More
Code: iosys.ini bay 3
;esclave
inb1=63,9,x4 ; Automate ($IN[9-40])
outb1=63,9,x4 ; AUtomate ($out[9-40])
I really hope I am not mistaken, if not that means that I did not understand everything.
Thank you very much for your advice and your patience.