Control from a Festo valve terminal
18 Dec 2022 15:23 #259825
by mgm
Replied by mgm on topic Control from a Festo valve terminal
I have now managed to get rid of the "file not found" error with absolute file paths for the directory and the two files , BUT ...
Something is not right on the system from me!
I get an error message that in the pyprofibus.conf file are invalid characters like ";" ...
I guess I'm just doing something very wrong when running the demo version.
What I have done is this:
- Downloaded zip from git and unzipped it
- Copied the unzipped folder into linuxcnc/configs folder
To call the demo versinon I open via applications and linuxcnc in the appearing list under pyprofibus-master / linuxcnc-demo-cpv10-g / linuxcnc-demo
Is this procedure right or wrong?
I have so far assumed that the demo goes WITHOUT Hardwaer is that right?
Something is not right on the system from me!
I get an error message that in the pyprofibus.conf file are invalid characters like ";" ...
I guess I'm just doing something very wrong when running the demo version.
What I have done is this:
- Downloaded zip from git and unzipped it
- Copied the unzipped folder into linuxcnc/configs folder
To call the demo versinon I open via applications and linuxcnc in the appearing list under pyprofibus-master / linuxcnc-demo-cpv10-g / linuxcnc-demo
Is this procedure right or wrong?
I have so far assumed that the demo goes WITHOUT Hardwaer is that right?
Please Log in or Create an account to join the conversation.
18 Dec 2022 17:16 #259839
by Aciera
Replied by Aciera on topic Control from a Festo valve terminal
The config doesn't work with the hardware attached. In that sense the word "demo" is a misnomer but you should get specific errors pointing to profibus not being able to configure the port. See my attached terminal output below.
Since I don't have the machine anymore that I used to test pyprofibus I just tried it on a machine with a RIP installation:
- Downloaded zip from git and unzipped it
- Copied the unzipped folder into linuxcnc/configs folder
then I run
$ linuxcnc
and select pyprofibus-master / linuxcnc-demo-cpv10-g / linuxcnc-demo
This is what I get with no hardware attached or correct port configured:
I did have to change 'profibus.hal' to this in order to find the file:
loadusr -Wn profibus ../pyprofibus-linuxcnc-hal pyprofibus.conf
So you might want to start linuxcnc from a terminal:
$ linuxcnc
That will give you more debug information.
Since I don't have the machine anymore that I used to test pyprofibus I just tried it on a machine with a RIP installation:
- Downloaded zip from git and unzipped it
- Copied the unzipped folder into linuxcnc/configs folder
then I run
$ linuxcnc
and select pyprofibus-master / linuxcnc-demo-cpv10-g / linuxcnc-demo
This is what I get with no hardware attached or correct port configured:
Warning: Spoiler!
Machine configuration directory is '/home/user/linuxcnc-dev/configs/sim/pyprofibus-master/linuxcnc-demo-cpv10-ge'
Machine configuration file is 'linuxcnc-demo.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 786: can't load tool table.
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod unlock_joints_mask=0x10
Note: Using POSIX non-realtime
Found file(LIB): /home/user/linuxcnc-dev/lib/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins
motion.c: Creating unlock hal pins for joint 4
Found file(lib): /home/user/linuxcnc-dev/lib/hallib/locking_indexer.hal
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: 4 bytes
pyprofibus: Fatal PROFIBUS fault:
Failed to open serial port:
Could not configure port: (5, 'Input/output error')
pyprofibus: LinuxCNC HAL module shutdown.
./profibus.hal:17: waitpid failed ../pyprofibus-linuxcnc-hal profibus
./profibus.hal:17: ../pyprofibus-linuxcnc-hal exited without becoming ready
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX non-realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/user/linuxcnc_debug.txt
and
/home/user/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
Machine configuration file is 'linuxcnc-demo.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 786: can't load tool table.
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod unlock_joints_mask=0x10
Note: Using POSIX non-realtime
Found file(LIB): /home/user/linuxcnc-dev/lib/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins
motion.c: Creating unlock hal pins for joint 4
Found file(lib): /home/user/linuxcnc-dev/lib/hallib/locking_indexer.hal
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: 4 bytes
pyprofibus: Fatal PROFIBUS fault:
Failed to open serial port:
Could not configure port: (5, 'Input/output error')
pyprofibus: LinuxCNC HAL module shutdown.
./profibus.hal:17: waitpid failed ../pyprofibus-linuxcnc-hal profibus
./profibus.hal:17: ../pyprofibus-linuxcnc-hal exited without becoming ready
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX non-realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/user/linuxcnc_debug.txt
and
/home/user/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
I did have to change 'profibus.hal' to this in order to find the file:
loadusr -Wn profibus ../pyprofibus-linuxcnc-hal pyprofibus.conf
So you might want to start linuxcnc from a terminal:
$ linuxcnc
That will give you more debug information.
Please Log in or Create an account to join the conversation.
18 Dec 2022 17:19 #259840
by Aciera
Replied by Aciera on topic Control from a Festo valve terminal
I'm sorry I meant to say
The config doesn't work WITHOUT the hardware attached!
Didn't want to edit the post above because I would likely have had to write the whole post again because of the crazy forum editor.
The config doesn't work WITHOUT the hardware attached!
Didn't want to edit the post above because I would likely have had to write the whole post again because of the crazy forum editor.
Please Log in or Create an account to join the conversation.
18 Dec 2022 19:00 #259845
by mgm
Replied by mgm on topic Control from a Festo valve terminal
Thanks for testing ....
I now get the same error message as you !
Ok then I have understood the demo differently.
Then I will make now times the hardware ready .... or get
I have two valve islands a 8 valves in cpv 14.
I now get the same error message as you !
Ok then I have understood the demo differently.
Then I will make now times the hardware ready .... or get
I have two valve islands a 8 valves in cpv 14.
Please Log in or Create an account to join the conversation.
01 Jan 2023 18:26 #260720
by mgm
Replied by mgm on topic Control from a Festo valve terminal
So now that I have my components together I have started testing.
As expected, there are of course schierigkeiten, which it is now to eliminate!
so I have this control unit: CPV14 GE DIO1-8
165811 R007
HW 2.11.00
SW 14.01.99
In addition the connector FSB-SUB-9-GS-DP-B
532216 R007
and a USB to RS485 TTL Serial
After I have wired and connected everything I have the following situation:
- at the valve island the power LED is permanently green
- the red BUS LED flashes every second!
- the DEMO of LCNC starts and I get the following in the terminal:
mizo@mizo-Aspire-S7-392:~$ linuxcnc
LINUXCNC - 2.9.0~pre0+git20221105.ffb6bda926
Machine configuration directory is '/home/mizo/linuxcnc/configs/pyprofibus-master/linuxcnc-demo-cpv10-ge'
Machine configuration file is 'linuxcnc-demo.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 786: can't load tool table.
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod unlock_joints_mask=0x10
Note: Using POSIX realtime
Found file(LIB): /usr/share/linuxcnc/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins
motion.c: Creating unlock hal pins for joint 4
Found file(lib): /usr/share/linuxcnc/hallib/locking_indexer.hal
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: 4 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 slave input: profibus.slave.8.output.bit.0.0
pyprofibus: DP slave input: profibus.slave.8.output.bit.0.2
pyprofibus: DP slave input: profibus.slave.8.output.bit.0.4
pyprofibus: DP slave input: profibus.slave.8.output.bit.0.6
pyprofibus: DP slave input: profibus.slave.8.output.bit.1.0
pyprofibus: DP slave input: profibus.slave.8.output.bit.1.2
pyprofibus: DP slave input: profibus.slave.8.output.bit.1.4
pyprofibus: DP slave input: profibus.slave.8.output.bit.1.6
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.0
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.1
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.2
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.3
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.4
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.5
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.6
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.7
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.0
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.1
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.2
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.3
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.4
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.5
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.6
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.7
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.0
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.1
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.2
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.3
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.4
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.5
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.6
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.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
note: MAXV max: 1.200 units/sec 72.000 units/min
note: LJOG max: 1.200 units/sec 72.000 units/min
note: LJOG default: 1.000 units/sec 60.000 units/min
note: AJOG max: 90.000 units/sec 5400.000 units/min
note: AJOG default: 45.000 units/sec 2700.000 units/min
note: jog_order='XYZABCUVW'
note: jog_invert=set()
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
The settings in the connector are as follows:
My first question would be:
- do I need another gse file?
As expected, there are of course schierigkeiten, which it is now to eliminate!
so I have this control unit: CPV14 GE DIO1-8
165811 R007
HW 2.11.00
SW 14.01.99
In addition the connector FSB-SUB-9-GS-DP-B
532216 R007
and a USB to RS485 TTL Serial
After I have wired and connected everything I have the following situation:
- at the valve island the power LED is permanently green
- the red BUS LED flashes every second!
- the DEMO of LCNC starts and I get the following in the terminal:
Warning: Spoiler!
mizo@mizo-Aspire-S7-392:~$ linuxcnc
LINUXCNC - 2.9.0~pre0+git20221105.ffb6bda926
Machine configuration directory is '/home/mizo/linuxcnc/configs/pyprofibus-master/linuxcnc-demo-cpv10-ge'
Machine configuration file is 'linuxcnc-demo.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 786: can't load tool table.
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod unlock_joints_mask=0x10
Note: Using POSIX realtime
Found file(LIB): /usr/share/linuxcnc/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins
motion.c: Creating unlock hal pins for joint 4
Found file(lib): /usr/share/linuxcnc/hallib/locking_indexer.hal
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: 4 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 slave input: profibus.slave.8.output.bit.0.0
pyprofibus: DP slave input: profibus.slave.8.output.bit.0.2
pyprofibus: DP slave input: profibus.slave.8.output.bit.0.4
pyprofibus: DP slave input: profibus.slave.8.output.bit.0.6
pyprofibus: DP slave input: profibus.slave.8.output.bit.1.0
pyprofibus: DP slave input: profibus.slave.8.output.bit.1.2
pyprofibus: DP slave input: profibus.slave.8.output.bit.1.4
pyprofibus: DP slave input: profibus.slave.8.output.bit.1.6
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.0
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.1
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.2
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.3
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.4
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.5
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.6
pyprofibus: DP slave input: profibus.slave.8.output.bit.2.7
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.0
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.1
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.2
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.3
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.4
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.5
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.6
pyprofibus: DP slave output: profibus.slave.8.input.bit.0.7
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.0
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.1
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.2
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.3
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.4
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.5
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.6
pyprofibus: DP slave output: profibus.slave.8.input.bit.1.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
note: MAXV max: 1.200 units/sec 72.000 units/min
note: LJOG max: 1.200 units/sec 72.000 units/min
note: LJOG default: 1.000 units/sec 60.000 units/min
note: AJOG max: 90.000 units/sec 5400.000 units/min
note: AJOG default: 45.000 units/sec 2700.000 units/min
note: jog_order='XYZABCUVW'
note: jog_invert=set()
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
The settings in the connector are as follows:
My first question would be:
- do I need another gse file?
Attachments:
Please Log in or Create an account to join the conversation.
01 Jan 2023 18:45 #260722
by mgm
Replied by mgm on topic Control from a Festo valve terminal
I can answer the question myself
Yes I need a new gse file named:
VI1000C9.GSE
Yes I need a new gse file named:
VI1000C9.GSE
The following user(s) said Thank You: endian
Please Log in or Create an account to join the conversation.
01 Jan 2023 20:27 #260727
by mgm
Replied by mgm on topic Control from a Festo valve terminal
I have now inserted the gse file into the Profibus.conf unfortunately no change of the described state
On the converter the RX LED flashes but the TX LED does nothing.
It looks like there is no connection to the module!
I have the two data lines on the module labeled A and B and connected to the converter with A and P so:
A --> A
B --> P
is that correct?
On the converter the RX LED flashes but the TX LED does nothing.
It looks like there is no connection to the module!
I have the two data lines on the module labeled A and B and connected to the converter with A and P so:
A --> A
B --> P
is that correct?
Please Log in or Create an account to join the conversation.
02 Jan 2023 12:03 #260761
by mgm
Replied by mgm on topic Control from a Festo valve terminal
Update:
I can not figure out what it is that I can not get a connection to the valve block!
currently I get the following error message in the terminal:
I can not figure out what it is that I can not get a connection to the valve block!
currently I get the following error message in the terminal:
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 (fragment) 00 00 00
DPM1: RX error: PHY-serial: Failed to get received telegram size: Invalid telegram format.
Please Log in or Create an account to join the conversation.
02 Jan 2023 12:59 #260763
by Aciera
Replied by Aciera on topic Control from a Festo valve terminal
Hard to say from afar but my first guess would be a misconfiguration of the RS485 adapter. Would help if you had a scope to see if it's actually putting out the data to the line.
Please Log in or Create an account to join the conversation.
02 Jan 2023 17:18 #260777
by mgm
Replied by mgm on topic Control from a Festo valve terminal
Now I have changed the converter and now I get the following output in the terminal:Nevertheless, there is still something wrong with the connection!
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 08 02 49 53 16
PHY-serial: TX 10 08 02 49 53 16
PHY-serial: RX 10 08 02 49 53 16
Please Log in or Create an account to join the conversation.
Time to create page: 0.152 seconds