OK that solved me....
Distribute function work like a charm....
Two additionnal remarks:
- the ra_plc_user.h seems not to be mentionned in the release note and have to be present in /pwrp/common/inc on the target o allow starting the plc.
- the /etc/init.d/pwr on the target is configured in a \"ubuntu\" way (sudo if user is not pwrp). I needed to remove all this as it is not usable on debian.
remaining problems:
when starting the rt_ini command on the target, quite everything seems OK except the following one :
[code:1]rt_logmod: mq_open : Function not implemented
E pwr_ini 1861 11-07-22 14:29:21.21 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
[/code:1]
which probably explains all the following which are all related to messageQ
[code:1]
E pwr_nacp 1864 11-07-22 14:29:22.79 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
E pwr_neth 1862 11-07-22 14:29:22.68 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
E pwr_linksup 1870 11-07-22 14:29:22.84 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
I pwr_linksup 1870 11-07-22 14:29:22.84 Adding application. aix: 2
E pwr_tmon 1866 11-07-22 14:29:22.77 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
E pwr_alim 1868 11-07-22 14:29:22.82 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
I pwr_alim 1868 11-07-22 14:29:23.01 Adding application. aix: 5
E pwr_bck 1869 11-07-22 14:29:22.83 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
E pwr_trend 1871 11-07-22 14:29:23.03 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
E pwr_emon 1867 11-07-22 14:29:23.10 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
E Unknown name 1872 11-07-22 14:29:23.30 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
I Unknown name 1872 11-07-22 14:29:23.30 Adding application. aix: 10
I pwr_fast 1872 11-07-22 14:29:23.30 No fast configuration, using base frequency 10 Hz
E rs_remhdl 1873 11-07-22 14:29:23.32 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
E pwr_sevhistmon 1881 11-07-22 14:29:23.41 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
/usr/pwrrt/exe/rt_webmon.sh: line 40: java: command not found
/usr/pwrrt/exe/rt_webmonelog.sh: line 41: /usr/local//bin/java: No such file or directory
I rs_remhdl 1873 11-07-22 14:29:23.45 Adding application. aix: 13
E Unknown name 1875 11-07-22 14:29:23.48 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
I Unknown name 1875 11-07-22 14:29:23.49 Adding application. aix: 14
I pwr_trend 1871 11-07-22 14:29:23.49 Couldn't get the DsTrendConf object. Used ScanTime = 1 s
E Unknown name 1880 11-07-22 14:29:23.51 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
I Unknown name 1880 11-07-22 14:29:23.51 Adding application. aix: 15
E Unknown name 1879 11-07-22 14:29:23.53 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
I Started pwr_plc_1_0, prio: 5, pid: 1934
file: plc_debarm_0001_00002
E pwr_plc 1934 11-07-22 14:29:24.22 Open messageQ, mq_open(/pwrlogqueue_1)
Function not implemented
I pwr_plc 1934 11-07-22 14:29:24.23 Adding application. aix: 19
I pwr_plc 1934 11-07-22 14:29:24.23 Setting subscription defaults to 1.000 seconds
I pwr_plc 1934 11-07-22 14:29:24.24 maxdelay: %f, tv_sec: 0, tv_nsec: -1610612736
I pwr_plc 1934 11-07-22 14:29:24.24 maxdelay: %f, tv_sec: 1, tv_nsec: 0
I pwr_plc 1934 11-07-22 14:29:24.24 Priority set, plc thread 100 ms, prio 22
I pwr_plc 1934 11-07-22 14:29:24.26 Init of IO agent VolArm:Nodes-Arm
I pwr_plc 1934 11-07-22 14:29:24.26 IO init: no read or write actions found for this process
I pwr_io 1865 11-07-22 14:29:24.29 Init of IO agent VolArm:Nodes-Arm
I pwr_io 1865 11-07-22 14:29:24.29 IO init: no read or write actions found for this process
I pwr_linksup 1870 11-07-22 14:29:24.29 No NodeLink objects
I pwr_linksup 1870 11-07-22 14:29:24.29 No nodes to supervise, exiting
I pwr_neth 1862 11-07-22 14:29:24.30 Process 2 @ 0.1.1.1 dissapeared, cleaning up
[/code:1]
Except this messageQ problem it seems that the plc is working but now I'm in the frustrated following situation.... how to test it (checking some real time variable from the database in ssh ?? or accessing from another station ?? or every other access to the hardware is welcome to check if software is working as expected ....
Anyway it's a big big step for me which has been done...
Many many thanks for this support..
Sanrf