Hi claes and frans.
this is my latest log for the plc
I pwr_plc 6124 12-03-21 22:03:40.59 Adding application. aix: 22
I pwr_plc 6124 12-03-21 22:03:40.59 Setting subscription defaults to 1.000 seconds
I pwr_plc 6124 12-03-21 22:03:40.59 maxdelay: %f, tv_sec: -1610612736, tv_nsec: 1069128089
I pwr_plc 6124 12-03-21 22:03:40.59 maxdelay: %f, tv_sec: 0, tv_nsec: 1072693248
I pwr_plc 6124 12-03-21 22:03:40.59 Priority set, plc thread 100 ms, prio 22
I pwr_plc 6124 12-03-21 22:03:40.59 Init of IO agent VolHome2:Nodes-Home2
E pwr_plc 6124 12-03-21 22:03:40.59 Nodave PLC, open socket error, VolHome2:Nodes-Home2-FYR
E pwr_plc 6124 12-03-21 22:03:40.59 Failed to inititalize io, %IO-E-ERRINIDEVICE, initialization device '%s'
I am Using ISOTCP protocol to a ethernet cp.
the chroot and chmod is done to the plc_sim.bus_0999_00007
The .opt file now states the -lnodave at the end of the first line.
if i go to my libnodave folder and call the following:
testISO_TCP --readoutall 20.20.20.21
i get connected to the PLC and reads all block on the cpu.
i guess this is done bye daveconnect with standard settings, rack 0, slot 2, port 102 etc.
but when proview calls the nodave it does not do it right.
Frans. how did you get the nodave connected and with which protocol/settings?
Are there something that need to be set changed regarding local ip adress or network device.?
im on the laptop and are trying to reach the plc over my wlan interface but i dont think this should be a problem.
i can ping the device and as I said if i run the libnodave directly I can readout all data from the plc.
Frans, did you set any of the mpi adress atributes or rack atributes?
also how about your atributes for byte ordering, Float representation, timeout etc. which plc thread did you connect to the nodave?