Welcome, Guest
Username: Password: Remember me

TOPIC: Re:Proview as HMI to Siemens S7?

Re:Proview as HMI to Siemens S7? 10 years 6 months ago #5663

  • beloni
  • beloni's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 151
  • Karma: 0
Hello,

I wasn't seeing the "using local option file" message and solved the problem by putting "Plc" in the BuildOPtions PlcProcess field. Thus the name of the option file became plc_"NODE"_"BUS_ID"_plc.

Thanks very much,

Eduardo
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 10 years 6 months ago #5665

  • HTRasmus
  • HTRasmus's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 182
  • Karma: 0
your welcome :D
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 10 years 2 months ago #6028

  • beloni
  • beloni's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 151
  • Karma: 0
Hello,

How to read a single byte from the PLC via Nodave_Transaction?
There are ChanIi and ChanIo which are 32-bit, but we need to read/write a single byte from/to a PLC DB...

Eduardo Fiss Beloni
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 10 years 2 months ago #6036

  • frans
  • frans's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 49
  • Karma: 0
Hello,

I think it is not a problem to read an integer instead of a byte? You can split the integer into bytes and use the one You need.
For writing for example writing to byte 3: Read integer 0 (is byte 0, 1, 2 and 3) change the byte 3 part and write the complete integer.
It is a bit slower than just writing but may be this wil do?

Frans
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 10 years 2 months ago #6037

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3179
  • Thank you received: 502
  • Karma: 133
The Proview Io and Ii signals are 32-bit integers, but it's the Representation attribute in the ChanIi and ChanIo that defines the format in the message. Set this to Int8 and it will be a byte.

/Claes
The administrator has disabled public write access.

Re:Proview as HMI to Siemens S7? 9 years 8 months ago #6711

  • multiplex
  • multiplex's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
i've been studying this post and others to help solve my problems, but have come to the end of my abilities :(

i'm trying to use nodave much like the others, with a slight twist. I'd like to use Serial and AS511 as the protocol.

I have libnodave installed and can run the testAS511 program and access my PLC.

i'm using /dev/ttyUSB1 as my device and i've made sure its writeable by user pwrp.

i've added in the buildoptions for nodave and confirmed the option is added

when i start up the runtime and check messages, i see the typical error that others have reported

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

Thinking that maybe serial / AS511 wasn't fully supported I tried to use some of the other protocols even though I don't have a PLC available as such. That didn't seem to work either.

Any pointers you could offer would be appreciated
The administrator has disabled public write access.
Time to create page: 7.830 seconds