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 #3383

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
You have set Process to plc for the nodave objects as io_comm is not linked with libnodave.

/Claes
The administrator has disabled public write access.

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

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
Thanks Claes.

But if i set the process to plc i get the error:

Failed to initialize io, %IO-E-ERRINIDEVICE, initialization device '%s* from the plc thread.

Is there anyway to test if the libnodave is installed correctly to my system. have been reading through the documentation but as said previously im not experienced in c programming at all
The administrator has disabled public write access.

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

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
You should have the files /usr/lib/libnodave.so and /usr/include/nodave.h.
To build it with the plc there should be an .opt file on $pwrp_exe with -lnodave that is generated from the OptionsBuild object, and when you build the node you should see a text that the local options file is used.
For the configuration you have to state the device /dev/... in the nodave_plc object and you need write access to the device.

/Claes
The administrator has disabled public write access.

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

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
Okay Those files are there i checked after the installation.

the opt file is generated and the file has the link to -lnodave at the end of the file. when building i have not noticed any notes about options. i will try it again tonight.

im a bit insecure of the device as i was trying to built the project with the ethernet capabilities. :S
The administrator has disabled public write access.

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

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
For ethernet you don't have to set the device. Set the Connection attribute to TCP and insert the Port and IP_Address.

/Claes
The administrator has disabled public write access.

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

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
I already did this. but still no clue what is going wrong.

How much is needed to be filled in in the buidoption. have read the help-class but i cant seem to figure out if i need to set an any of the atributes
The administrator has disabled public write access.
Time to create page: 9.128 seconds