user@optiplex7010:~/linuxcnc-master-02072021/configs/pyprofibus-master/linuxcnc-demo-cpv10-ge$ ./run-linuxcnc-demo.sh
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/user/linuxcnc-master-02072021/configs/pyprofibus-master/linuxcnc-demo-cpv10-ge/.'
Machine configuration file is 'linuxcnc-demo.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 769: can't load tool table.
Found file(REL): ./linuxcnc-demo.hal
Note: Using POSIX realtime
Unexpected realtime delay on task 0 with period 20000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
Found file(REL): ./profibus.hal
GSD parser warning in 'cpv_0A35.gse' at line 14:
FMS_supp = 0
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 63:
Unit_Diag_Bit(8) = "CPI-connection to output modul"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 64:
Unit_Diag_Bit(9) = "CPI-connection to input modul"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 65:
Unit_Diag_Bit(10) = "short circuit / overload output"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 66:
Unit_Diag_Bit(11) = "power load failure output module"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 67:
Unit_Diag_Bit(12) = "sensor power supply < 10V"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 68:
Unit_Diag_Bit(13) = "valve power supply < 20.4V"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 69:
Unit_Diag_Bit(14) = "valve power supply < 10V"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 70:
Unit_Diag_Bit(15) = "no update-mode"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 71:
Unit_Diag_Bit(16) = "failure main module"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 72:
Unit_Diag_Bit(17) = "failure 1. CP- module"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 73:
Unit_Diag_Bit(18) = "failure 2. CP- module"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 74:
Unit_Diag_Bit(19) = "failure 3. CP- module"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 75:
Unit_Diag_Bit(20) = "failure 4. CP- module"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 95:
Bit(1) 1 0-1
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 100:
Bit(7) 1 0-1
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 105:
BitArea(0-1) 0 0-2
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 110:
unsigned8 0 0-255
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 114:
unsigned16 0 0-65535
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 118:
unsigned32 0 0-16777215
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 122:
unsigned32 0 0-4294967295
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 126:
unsigned8 91 0-255
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 132:
Info_Text = "Base unit CPV-SC with 16 digital outputs (valve coils)"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 133:
1
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 143:
Info_Text = "String extension with 8 digital outputs"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 144:
2
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 153:
Info_Text = "String extension with 16 digital outputs"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 154:
3
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 163:
Info_Text = "String extension with 24 digital outputs"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 164:
4
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 173:
Info_Text = "String extension with 32 digital outputs"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 174:
5
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 183:
Info_Text = "String extension with 8 digital inputs"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 184:
6
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 191:
Info_Text = "String extension with 16 digital inputs"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 192:
7
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 199:
Info_Text = "String extension with 24 digital inputs"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 200:
8
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 207:
Info_Text = "String extension with 32 digital inputs"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 208:
9
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 215:
Info_Text = "tool change mode with 32 inputs and 32 outputs"
--> Ignored unknown line
GSD parser warning in 'cpv_0A35.gse' at line 216:
10
--> Ignored unknown line
pyprofibus: DP slave 8 output: 2 bytes
pyprofibus: DP slave 8 input: 0 bytes
Warning in GSD 'cpv_0A35.gse': DPv1 User_Prm_Data override ignored
pyprofibus: Running PROFIBUS-DP master...
pyprofibus: ready.
pyprofibus: Active DP slave (addr=8) pins:
pyprofibus: DP output: profibus.slave.8.output.bit.0.0
pyprofibus: DP output: profibus.slave.8.output.bit.0.1
pyprofibus: DP output: profibus.slave.8.output.bit.0.2
pyprofibus: DP output: profibus.slave.8.output.bit.0.3
pyprofibus: DP output: profibus.slave.8.output.bit.0.4
pyprofibus: DP output: profibus.slave.8.output.bit.0.5
pyprofibus: DP output: profibus.slave.8.output.bit.0.6
pyprofibus: DP output: profibus.slave.8.output.bit.0.7
pyprofibus: HAL configuration done
DPM1: Trying to initialize slave 8...
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 02 08 00 0A 16
DPM1: slave[08].state --> 'wait for diag'
DPM1: Requesting Slave_Diag from slave 8...
PHY-serial: TX 68 05 05 68 88 82 6D 3C 3E F1 16
note: MAXV max: 30.000 units/sec 1800.000 units/min
note: LJOG max: 30.000 units/sec 1800.000 units/min
note: LJOG default: 10.000 units/sec 600.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
PHY-serial: RX 68 0B 0B 68 82 88 08 3E 3C 02 05 00 FF 0A 35 D1 16
DPM1: slave[08].state --> 'wait for Prm'
DPM1: Sending Set_Prm to slave 8...
PHY-serial: TX 68 13 13 68 88 82 5D 3D 3E B8 1E 01 00 0A 35 01 00 00 00 82 00 00 00 7B 16
PHY-serial: RX E5
DPM1: slave[08].state --> 'wait for Cfg'
DPM1: Sending Chk_Cfg to slave 8...
PHY-serial: TX 68 06 06 68 88 82 7D 3E 3E 21 24 16
PHY-serial: RX E5
DPM1: slave[08].state --> 'wait for Data_Exchange-ready'
DPM1: Requesting Slave_Diag (WDXRDY) from slave 8...
PHY-serial: TX 68 05 05 68 88 82 5D 3C 3E E1 16
PHY-serial: RX 68 0B 0B 68 82 88 08 3E 3C 00 0C 00 02 0A 35 D9 16
DPM1: slave[08].state --> 'Data_Exchange'
DPM1: Initialization finished. Running Data_Exchange with slave 8...
PHY-serial: TX 68 05 05 68 08 02 7D 01 00 88 16
PHY-serial: RX E5
DPM1: Data_Exchange timeout with slave 8
PHY-serial: TX 68 05 05 68 08 02 7D 00 00 87 16
PHY-serial: RX E5
DPM1: Data_Exchange timeout with slave 8
DPM1: Data_Exchange timeout with slave 8
DPM1: Many errors in Data_Exchange. Requesting diagnostic information...
DPM1: slave[08].state --> 'wait for Data_Exchange-ready'
DPM1: Requesting Slave_Diag (WDXRDY) from slave 8...
PHY-serial: TX 68 05 05 68 88 82 7D 3C 3E 01 16
PHY-serial: RX 68 0B 0B 68 82 88 08 3E 3C 02 05 00 FF 0A 35 D1 16
DPM1: Slave 8 requests a new parameterization (Set_Prm).
DPM1: slave[08].state --> 'init'
DPM1: Trying to initialize slave 8...
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 02 08 00 0A 16
DPM1: slave[08].state --> 'wait for diag'
DPM1: Requesting Slave_Diag from slave 8...
PHY-serial: TX 68 05 05 68 88 82 5D 3C 3E E1 16
PHY-serial: RX 68 0B 0B 68 82 88 08 3E 3C 02 05 00 FF 0A 35 D1 16
DPM1: slave[08].state --> 'wait for Prm'
DPM1: Sending Set_Prm to slave 8...
PHY-serial: TX 68 13 13 68 88 82 7D 3D 3E B8 1E 01 00 0A 35 01 00 00 00 82 00 00 00 9B 16
PHY-serial: RX E5
DPM1: slave[08].state --> 'wait for Cfg'
DPM1: Sending Chk_Cfg to slave 8...
PHY-serial: TX 68 06 06 68 88 82 5D 3E 3E 21 04 16
PHY-serial: RX E5
DPM1: slave[08].state --> 'wait for Data_Exchange-ready'
DPM1: Requesting Slave_Diag (WDXRDY) from slave 8...
PHY-serial: TX 68 05 05 68 88 82 7D 3C 3E 01 16
PHY-serial: RX 68 0B 0B 68 82 88 08 3E 3C 00 0C 00 02 0A 35 D9 16
DPM1: slave[08].state --> 'Data_Exchange'
DPM1: Initialization finished. Running Data_Exchange with slave 8...
PHY-serial: TX 68 05 05 68 08 02 5D 01 00 68 16
PHY-serial: RX E5
DPM1: Data_Exchange timeout with slave 8
PHY-serial: TX 68 05 05 68 08 02 5D 00 00 67 16
PHY-serial: RX E5
DPM1: Data_Exchange timeout with slave 8
DPM1: Data_Exchange timeout with slave 8
DPM1: Many errors in Data_Exchange. Requesting diagnostic information...
DPM1: slave[08].state --> 'wait for Data_Exchange-ready'
DPM1: Requesting Slave_Diag (WDXRDY) from slave 8...
PHY-serial: TX 68 05 05 68 88 82 5D 3C 3E E1 16
PHY-serial: RX 68 0B 0B 68 82 88 08 3E 3C 02 05 00 FF 0A 35 D1 16
DPM1: Slave 8 requests a new parameterization (Set_Prm).
DPM1: slave[08].state --> 'init'
DPM1: Trying to initialize slave 8...
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 02 08 00 0A 16
DPM1: slave[08].state --> 'wait for diag'
DPM1: Requesting Slave_Diag from slave 8...
PHY-serial: TX 68 05 05 68 88 82 7D 3C 3E 01 16
PHY-serial: RX 68 0B 0B 68 82 88 08 3E 3C 02 05 00 FF 0A 35 D1 16
DPM1: slave[08].state --> 'wait for Prm'
DPM1: Sending Set_Prm to slave 8...
PHY-serial: TX 68 13 13 68 88 82 5D 3D 3E B8 1E 01 00 0A 35 01 00 00 00 82 00 00 00 7B 16
PHY-serial: RX E5
DPM1: slave[08].state --> 'wait for Cfg'
DPM1: Sending Chk_Cfg to slave 8...
PHY-serial: TX 68 06 06 68 88 82 7D 3E 3E 21 24 16
PHY-serial: RX E5
DPM1: slave[08].state --> 'wait for Data_Exchange-ready'
DPM1: Requesting Slave_Diag (WDXRDY) from slave 8...
PHY-serial: TX 68 05 05 68 88 82 5D 3C 3E E1 16
PHY-serial: RX 68 0B 0B 68 82 88 08 3E 3C 00 0C 00 02 0A 35 D9 16
DPM1: slave[08].state --> 'Data_Exchange'
DPM1: Initialization finished. Running Data_Exchange with slave 8...
PHY-serial: TX 68 05 05 68 08 02 7D 00 00 87 16
PHY-serial: RX E5
DPM1: Data_Exchange timeout with slave 8
PHY-serial: TX 68 05 05 68 08 02 7D 01 00 88 16
PHY-serial: RX E5
DPM1: Data_Exchange timeout with slave 8
DPM1: Data_Exchange timeout with slave 8
DPM1: Many errors in Data_Exchange. Requesting diagnostic information...
DPM1: slave[08].state --> 'wait for Data_Exchange-ready'
DPM1: Requesting Slave_Diag (WDXRDY) from slave 8...
PHY-serial: TX 68 05 05 68 88 82 7D 3C 3E 01 16
PHY-serial: RX 68 0B 0B 68 82 88 08 3E 3C 00 0C 00 02 0A 35 D9 16
DPM1: slave[08].state --> 'Data_Exchange'
DPM1: Initialization finished. Running Data_Exchange with slave 8...
PHY-serial: TX 68 05 05 68 08 02 5D 00 00 67 16
PHY-serial: RX 10 02 08 03 0D 16
pyprofibus: PROFIBUS fault:
Service not active on slave 8
DPM1: Data_Exchange timeout with slave 8
PHY-serial: TX 68 05 05 68 08 02 7D 00 00 87 16
PHY-serial: RX 10 02 08 03 0D 16
pyprofibus: Fatal fault detected
pyprofibus: Fatal PROFIBUS fault:
Service not active on slave 8
pyprofibus: LinuxCNC HAL module shutdown.
;*****************************************************************************;
; Geraetestammdatei fuer CPV-Ventilinsel mit direktem Profibus DP-Anschluß ;
; Hersteller: Fa. FESTO AG&Co., Ruiterstrasse 82, 73734 Esslingen ;
; FESTO Hotline-Tel.: 0711/347-3000 ;
;*****************************************************************************;
#Profibus_DP
GSD_Revision = 5
Vendor_Name = "Festo AG&Co."
Model_Name = "Festo CPV-DI02"
Revision = "28.06.06"
Ident_Number = 0x0A35
Protocol_Ident = 0
Station_Type = 0
FMS_supp = 0
Hardware_Release = "12.05"
Software_Release = "V1.3"
;
9.6_supp = 1
19.2_supp = 1
93.75_supp = 1
187.5_supp = 1
500_supp = 1
1.5M_supp = 1
3M_supp = 1
6M_supp = 1
12M_supp = 1
;
MaxTsdr_9.6 = 20
MaxTsdr_19.2 = 20
MaxTsdr_93.75 = 20
MaxTsdr_187.5 = 20
MaxTsdr_500 = 20
MaxTsdr_1.5M = 25
MaxTsdr_3M = 50
MaxTsdr_6M = 100
MaxTsdr_12M = 200
;
Redundancy = 0
Repeater_Ctrl_Sig = 2
24V_Pins = 0
Implementation_Type = "SPC3"
Bitmap_Device = "pb_dicpn"
;Bitmap_Diag = "pb_dicpd"
;Bitmap_SF = "pb_dicps"
;
Freeze_Mode_supp = 1
Sync_Mode_supp = 1
Auto_Baud_supp = 1
Set_Slave_Add_supp = 0
Min_Slave_Intervall = 0x0005
;
Modular_Station = 1
Max_Module = 0x05
Max_Input_Len = 0x04
Max_Output_Len = 0x06
Max_Data_Len = 0x000A
Modul_Offset = 1
;
Fail_Safe = 0
Slave_Family = 4
Max_Diag_Data_Len = 0x0010
;
Unit_Diag_Bit(8) = "CP-Anschluss zu Ausgangsmodul"
Unit_Diag_Bit(9) = "CP-Anschluss zu Eingangsmodul"
Unit_Diag_Bit(10) = "Kurzschluss/Ueberlast Ausgang"
Unit_Diag_Bit(11) = "Lastspg.ausfall Ausgangsmodul"
Unit_Diag_Bit(12) = "Sensorversorgung < 10V"
Unit_Diag_Bit(13) = "Versorgungsspg.Ventile < 20.4V"
Unit_Diag_Bit(14) = "Versorgungsspg.Ventile < 10V"
Unit_Diag_Bit(15) = "kein Update-Betrieb"
Unit_Diag_Bit(16) = "Fehler Basismodul"
Unit_Diag_Bit(17) = "Fehler 1. CP- Modul"
Unit_Diag_Bit(18) = "Fehler 2. CP- Modul"
Unit_Diag_Bit(19) = "Fehler 3. CP- Modul"
Unit_Diag_Bit(20) = "Fehler 4. CP- Modul"
;
Max_User_Prm_Data_Len = 0x1E
;------------------Definition der Parametertexte-----------------
PrmText = 1 ; Referenznummer 1
Text(0) = "inaktiv"
Text(1) = "aktiv"
EndPrmText
PrmText = 2 ; Referenznummer 2
Text(0) = "Ausgaenge zuruecksetzen"
Text(1) = "Ausgaenge Fault Mode"
Text(2) = "Ausgaenge Hold Last State"
EndPrmText
ExtUserPrmData = 1 "Monitor U-Last" ; Referenznummer 1
Bit(1) 1 0-1 ; Default = 1, Min = 0, Max = 1
Prm_Text_Ref = 1 ; Verweis auf Text-Definition 1
EndExtUserPrmData
ExtUserPrmData = 2 "Monitor Fehler CP-Line" ; Referenznummer 2
Bit(7) 1 0-1 ; Default = 1, Min = 0, Max = 1
Prm_Text_Ref = 1 ; Verweis auf Text-Definition 1
EndExtUserPrmData
ExtUserPrmData = 3 "Fault Mode" ; Referenznummer 3
BitArea(0-1) 0 0-2 ; Default = 0, Min = 0, Max = 3
Prm_Text_Ref = 2 ; Verweis auf Text-Definition 2
EndExtUserPrmData
ExtUserPrmData = 4 "Fault State 1byte" ; Referenznummer 4
unsigned8 0 0-255 ; Default = 0, Min = 0, Max = 255
EndExtUserPrmData
ExtUserPrmData = 5 "Fault State 2byte" ; Referenznummer 5
unsigned16 0 0-65535 ; Default = 0, Min = 0, Max = 65535
EndExtUserPrmData
ExtUserPrmData = 7 "Fault State 3byte" ; Referenznummer 7
unsigned32 0 0-16777215 ; Default = 0, Min = 0, Max = 16777215
EndExtUserPrmData
ExtUserPrmData = 8 "Fault State 4byte" ; Referenznummer 8
unsigned32 0 0-4294967295 ; Default = 0, Min = 0, Max = 4294967295
EndExtUserPrmData
ExtUserPrmData = 6 "Parameterbyte" ; Referenznummer 6
unsigned8 91 0-255 ; Default = 91, Min = 0, Max = 255
EndExtUserPrmData
;-------------------- Modultypen -------------------------
; <Module-Definition-List>
Module = "Basis:16DA" 0x21
1
Ext_Module_Prm_Data_Len = 7
Ext_User_Prm_Data_Const(0) = 0x00, 0x00, 0x00, 0x82, 0x00, 0x00, 0x00
Ext_User_Prm_Data_Ref(3) = 1
Ext_User_Prm_Data_Ref(3) = 2
Ext_User_Prm_Data_Ref(4) = 3
Ext_User_Prm_Data_Ref(5) = 5
EndModule
Module = "CP-A08" 0x20
2
Ext_Module_Prm_Data_Len = 3
Ext_User_Prm_Data_Const(0) = 0x5B, 0x00, 0x00
Ext_User_Prm_Data_Ref(0) = 6
Ext_User_Prm_Data_Ref(1) = 3
Ext_User_Prm_Data_Ref(2) = 4
EndModule
Module = "CP-A16" 0x21
3
Ext_Module_Prm_Data_Len = 4
Ext_User_Prm_Data_Const(0) = 0x5B, 0x00, 0x00, 0x00
Ext_User_Prm_Data_Ref(0) = 6
Ext_User_Prm_Data_Ref(1) = 3
Ext_User_Prm_Data_Ref(2) = 5
EndModule
Module = "CP-A24" 0x22
4
Ext_Module_Prm_Data_Len = 6
Ext_User_Prm_Data_Const(0) = 0x5B, 0x00, 0x00, 0x00, 0x00, 0x00
Ext_User_Prm_Data_Ref(0) = 6
Ext_User_Prm_Data_Ref(1) = 3
Ext_User_Prm_Data_Ref(2) = 7
EndModule
Module = "CP-A32" 0x23
5
Ext_Module_Prm_Data_Len = 6
Ext_User_Prm_Data_Const(0) = 0x5B, 0x00, 0x00, 0x00, 0x00, 0x00
Ext_User_Prm_Data_Ref(0) = 6
Ext_User_Prm_Data_Ref(1) = 3
Ext_User_Prm_Data_Ref(2) = 8
EndModule
Module = "CP-E08" 0x10
6
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5B
Ext_User_Prm_Data_Ref(0) = 6
EndModule
Module = "CP-E16" 0x11
7
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5B
Ext_User_Prm_Data_Ref(0) = 6
EndModule
Module = "CP-E24" 0x12
8
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5B
Ext_User_Prm_Data_Ref(0) = 6
EndModule
Module = "CP-E32" 0x13
9
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5B
Ext_User_Prm_Data_Ref(0) = 6
EndModule
Module = "Werkzeugw. A/E:32/32" 0x33
10
Ext_Module_Prm_Data_Len = 9
Ext_User_Prm_Data_Const(0) = 0x5B, 0x5B, 0x5B, 0x5B, 0x00, 0x00, 0x00, 0x00, 0x00
Ext_User_Prm_Data_Ref(0) = 6
Ext_User_Prm_Data_Ref(1) = 6
Ext_User_Prm_Data_Ref(2) = 6
Ext_User_Prm_Data_Ref(3) = 6
Ext_User_Prm_Data_Ref(4) = 3
Ext_User_Prm_Data_Ref(5) = 8
EndModule
; ----------------------------------------------- ;
; ;
; PROFIBUS configuration ;
; ;
; This file configures a pyprofibus instance. ;
; ;
; ----------------------------------------------- ;
; General settings
[PROFIBUS]
; Enable/disable debug mode.
; 0 -> no debugging.
; 1 -> DP debugging.
; 2 -> DP and PHY debugging.
debug=2
; PHY protocol layer configuration
[PHY]
; The PHY layer driver type.
type=serial
; The PHY device name/path.
; Can be a device like /dev/ttyS0 or /dev/ttyAMA0 for 'serial'.
dev=/dev/ttyS3
; The Profibus on-wire baud rate.
baud=19200
; FDL protocol layer configuration
[FDL]
; DP protocol layer configuration
[DP]
; The master device class. Either 1 or 2.
master_class=1
; The Profibus address of this device.
master_addr=2
; ---
; Slave configurations
; Add as many [SLAVE_xxx] sections as needed.
; ---
; First slave configuration
[SLAVE_0]
; Optional slave name. Will be stored in slaveConf.name and slaveDesc.name.
; pyprofibus does not use the name internally.
name=cpv10
; This slave's Profibus address
addr=8
; The path to the GSD file.
gsd=cpv_0A35.gse
; Boolean: Sync mode enabled/available?
sync_mode=1
; Boolean: Freeze mode enabled/available?
freeze_mode=1
; 8 bit integer specifying the Profibus group ident mask.
group_mask=1
; This slave's watchdog timeout, in milliseconds.
watchdog_ms=300
; Module configuration.
; For each module plugged into the slave, add a module_xxx
; entry with the name of the module.
; The module name must match the name from the GSD file (approximately).
; The modules are used in the order of the index number.
module_0=Base module:16DO
; The number of output bytes this slave transmits to the
; master in Data_Exchange.
; This usually depends on the modules plugged into the slave.
output_size=2
; The number of input bytes this slave expects to receive
; in Data_Exchange.
; This usually depends on the modules plugged into the slave.
input_size=0