Welcome, Guest
Username: Password: Remember me

TOPIC: Re:Proview as HMI to Siemens S7?

Re:Proview as HMI to Siemens S7? 12 years 1 month ago #3394

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3177
  • Thank you received: 502
  • Karma: 133
You only need to set the nodave bit, and if the plc is linked with the local opt file without error messages it should be ok.

/Claes
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 12 years 1 month ago #3395

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
Just tried rebuilding my node with these preferences but I am not seing any file options while building.

does any atributes have to be set in the plc thread?
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 12 years 1 month ago #3396

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
Just noticed that if i build the prd.bus node i see the message in terminal that the compiler is using the local option file but not if i build the sim.bus. i have set the buildoption to both in the directory view
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 12 years 1 month ago #3397

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3177
  • Thank you received: 502
  • Karma: 133
I recall there was some bug using multiple buildoption objects, but I thought it was fixed. Try with removing the buildoptions for prd.

/Claes
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 12 years 1 month ago #3398

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
Hah Just tried that in the meantime but the issue exist :(

still Failed to initialize io, %IO-E-ERRINIDEVICE, initialization device '%s*

what can cause this? just tried the sample program from libnodave and i can do the --readoutall option to see all blocks loaded in the cpu

but when using it in proview no luck :S

an update.

tried to make a new project reconfiguring everything with the same issues. only one build option on the sim.bus but no notification that the local option file is used.

if i investigate the .opt file is see this:

$pwrb_root/os_linux/hw_x86/exp/obj/rt_io_user.o -lpwr_rt -lpwr_pnak_dummy -lpwr_cifx_dummy -lpwr_usb_dummy -lpwr_usbio_dummy -lnodave
Last Edit: 12 years 1 month ago by HTRasmus. Reason: just an update
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 12 years 1 month ago #3399

  • frans
  • frans's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 49
  • Karma: 0
Hi Rasmus and Claes,

I tried it this evening. I have exact the same errors and the same text in the .opt file.
Maybe a simple question, how does the compiler/linker know where the libnodave files are located?
Does Proview just call the compiled libnodave examples or uses it the .h files to compile?
If so must these files and their path's be given somewhere?

Kind regards,

Frans
The administrator has disabled public write access.
Time to create page: 8.217 seconds