Hi Claes
Recently I have a serious trouble that "sched_setschedualer:Operation not permitted: /usr/pwr48/.../exp/exe/rt_webmon.sh" ,it is not to solve when I use your guide method named "chown....plc_",so I have to open a new topic to ask you.
First I create a project and my simulation program is normal runing.so I begin to connect the plc.the hardware detail as follows:
Operation system: Ubuntu12.04 LTS(My Computer name:feel)
Proview Version: pwr48
PLC: Siemens ET200M,IM-153-1 and I/O
Communication Bus: Profibus
Second: Hardware Config:
step-1: Config Siemens and set bus address:64(Fig-07),and Connect Industrial PC to Siemens by profibus
Step-2: install profiboard driver according to the Guide book ,and Open driver(Fig-05)
Third: Proview Config
Step-1:I create a project named light,then I config plant and config node
Step-2: add the pb_profiboard named Master under $Node and create a slave named Slave under pb_profiboard,
Step-3: Config the slave ,I edit the bus address:64 and add M1,M2,M3(pb_module),M4(Siements_et200m_Do16)
Step-4: add ChanDo named CDo1,CDo2,CDo3 respectively under M4
Step-5: connect ChanDo(i) Object to Do(i) Object
last Step :bulding and runtime.
Note: PB_profiboard had been renamed "P1"(there is a wrong named "Master" in Figure)
In Proview Development Console show some detail:
I reading volume file /usr/pwr48/.../load/vollight.dbs
I loading vollume vollight()....
I reading volume file /usr/pwr48/.../load/rt.dbs
I loading vollume rt()....
I reading volume file /usr/pwr48/.../load/pwrs.dbs
I loading vollume pwrs()....
I reading volume file /usr/pwr48/.../load/basecompent.dbs
I loading vollume basecompent()....
I reading volume file /usr/pwr48/.../load/Siemens.dbs
I loading vollume Siemens()....
I reading volume file /usr/pwr48/.../load/profibus.dbs
I loading vollume profibus()....
everything is ready,but it also not runtime.
Question#1: the Nodes-P1-slave console reminds me "no connection between IPC and Siemens ,and not runtime"
But the Console remind me some question as Figure(the detail in Figure) and log
Question#2:
/usr/pwr48/os_linux/hw_x86_64/exp/exe/rt_webmon.sh :line41:/java: no such file or directory
/usr/pwr48/os_linux/hw_x86_64/exp/exe/rt_webmonmh.sh :line40:/java: no such file or directory
/usr/pwr48/os_linux/hw_x86_64/exp/exe/rt_webmonelog.sh :line41:/java: no such file or directory
Question#3:
sched_setscheduler: Operation not permitted
failed to set pid 14120's policy
......
......
I am looking forward to you reply me!
thanks
/JavKin