Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Distribute problem [solved]

Distribute problem [solved] 15 years 10 months ago #243

  • siamect
  • siamect's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 116
  • Thank you received: 1
  • Karma: 1
Dear All
I got the Demo to work without problems on a Ubuntu binary installation. When I try to make my own little application I run into problems.. Compilation seems ok:

pwrp@proview/mp/-.login> pwrs VolMP
Argc: 4
Sleepycat Software: Berkeley DB 4.4.20: (February 24, 2006)
info get: 0
Build node mp
-- Creating bootfile for node mp
plc_mp_0999_00023
-- Plc thread generated priority 20, scantime 0.100 s, 1 plcpgm's
-- Plc process compiled for x86_linux optimized -O3 Dummy
-- Plc program linked for x86_linux node plc_mp_0999

But when I run distribute then i get:
sh: source: not found
sh: source: not found

In the log I get 10 warnings beginning with this one:
file not found $pwrp_load/trr_crr_000_001_002_002.dat

If I try to start rt_ini:

pwrp@proview/mp/-.login> rt_ini &
[1] 29879
pwrp@proview/mp/-.login>
Proview/R Version V4.5.0 for Linux on Unknown Hardware
Copyright � 23-NOV-2007 16:00:00 by SSAB Oxel�sund AB

Proview/R is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License.

This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

PROVIEW/R Process Environment
Configuration: SMD-V4.5.0 BMD-V4.5.0 WB-V4.5.0 LFF-V4.5.0


[1]+ Exit 98 rt_ini
pwrp@proview/mp/-.login> ps -el |grep rt
pwrp@proview/mp/-.login> ps -el |grep rt

It fails and the processes are not created.

Must be something silly I guess but I have tried now for a couple of evenings... and my wife wants me back...
Although I'm still on square 1, I really like this package.

Thanks and hej, Lever-pastej!

Post edited by: siamect, at: 2008/06/01 16:01
The administrator has disabled public write access.

Re:Distribute problem [solved] 15 years 10 months ago #245

  • siamect
  • siamect's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 116
  • Thank you received: 1
  • Karma: 1
Dear All
I just uninstalled both the packages demo and develop.
I reinstalled only the develop pack and created my own project.

It works but I still get the same messages when I distribute and when I start the rt_ini I get also some messages about policy...
But it works...

Thanks
Martin
The administrator has disabled public write access.

Re:Distribute problem [solved] 15 years 10 months ago #247

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hej Martin !

As I understand, you're starting runtime on the development station. In this case you actually don't have to do any distribution because the runtime works with the same project tree as the development. The distribution has to be done when you generate a process or operator station separate from the development station. You can configure the distribution with the Distribute object in the directory volume under the NodeConfig object. If files are configured here, and not found in the project, you get the warningmessages you have seen. There are for example no crossreference files, which are created by the 'create rttfiles' command in the navigator. They are very useful when you need to debug your PLC program.

The sheduling policy error messages at runtime startup appears when you start on the development station because only root can change sheduling policy and set priority on processes, but this will not appear when the pwrrt package is installed on an process or operator station.

Another hint:
When runtime startup up fails. Start with

>rt_ini -i

Then you will get consol messages in the terminal window.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.276 seconds