Libnodave is a library that provides the necessary functions to connect to and exchange data with Siemens S7 and S5 PLCs
Questions tagged [libnodave]
26 questions
3
votes
2 answers
libnodave error while reading from Siemens s7-1200 (0x8104)
While checking s7nodave's EPICS device support for S7-1200 I've encountered a problem that refers to libnodave. When I'm try to read any memory address in PLC, IOC console reports an error:
epics> 2014/05/19 14:20:41.964 Siemens-PLC error while…

user3653898
- 31
- 1
- 3
2
votes
2 answers
C# and PLC (S7-1200) Data Block Reading Error 33028
I am working on the connection between C# and a Siemens PLC (S7-1200). I've created a datablock (a.k.a. database) to which I need to read and eventually write. The connection to the PLC works, but I can't read anything from its datablock. It always…

Frysning
- 23
- 1
- 4
2
votes
1 answer
libnodave communication with S7-1200
For a couple of days i've been trying to use libnodave as communication library to communicate with a S7-1200 PLC of Siemens(CPU 1214C).
With the libnodave library there are a couple of things provided.
The Delphi application is working, the…

user3707349
- 31
- 1
- 2
2
votes
1 answer
libnodave getbit function not returning any value
I am using lazarus and the nodave component, and I want to read the status of a digital input e.g. I45.6 I am connecting via ethernet and as far as I can tell I have a connection the CPU is in slot 3 and the comms card is slot 5.
To do this I am…

Martin Walker
- 21
- 2
1
vote
0 answers
Write bytes to a PLC device
I'm working around a connection between a PLC device and my companies PC. The PLC is the known Siemens S7-200 and I'm using vb.NET. Probably I should use another language but vb.NET is the one I'm more comfortable with. To do so, I'm also using a…

Pspl
- 1,398
- 12
- 23
1
vote
1 answer
How to import and use .so file in NDK project ( Android Studio )
I am trying to import and use .so file in android studio NDK project. I have read the documentation of android studio, different blog, and answers on StackOverflow but none is working for me because most of them are outdated ( written or asked 3-4…

vardan Kaushik
- 11
- 1
- 3
1
vote
1 answer
Libnodave on value changed
I am using libnodave 0.8.4.4 library to connect to a S7 PLC and what I would like to know if how can I detect if a bit (e.g. DB100.DBX8.0) in PLC DB changes its value. What I did is to read this bit within a while loop but I would like to create an…

Willy
- 9,848
- 22
- 141
- 284
1
vote
3 answers
writeBytes returning -1025 using LibNoDave
I have a weird problem with my Connection from C# to my Simatic S7-1200.
I am using LibNoDave to connect and i want to set bits of my SPS with the C#-program.
This is working just fine but it only works 9 times and then the writeBytes(..) function…

Lukas N.
- 53
- 10
1
vote
0 answers
Libnodave and Android Studio - Importing libraries
Is there a way to import Libnodave library in Android Studio? The only downloadable libraries that I could find were *.tar.gz extension. Does Android Studio accept only *.jar files for importing libraries?

NNS
- 21
- 8
1
vote
1 answer
How to Read/Write struct from PLC with libnodave
i'm writing a little c# application that reads/writes some data to the DB memory of a S7-300 PLC. I'm using PLCSim simulator and DotNetSiemensPLCToolBoxLibrary to perform some tests. As you know DotNetSiemensPLCToolBoxLibrary is a layer over…

R3DLINE
- 95
- 3
- 11
1
vote
2 answers
is it possible to to communicate with OPC server from multiple threads in same application?
I am working on an automation project where I need to handle 21 fixed mount bar-code scanners in parallel(i.e. all the scanner will be running all the time) to achieve that I am using multi-threading. Here each thread will handle one bar-code…

V N Mishra
- 11
- 2
1
vote
1 answer
Libnodave - daveStart() Error using TCP Connection
I have established connection to a Siemens S7-300 PLC (simulated via PlcSIM) using the libnodave library. There are no issues connecting and writing data to the PLC. However, I am unable to change the status of the PLC from Start/Stop. I am…

Alex Hendren
- 446
- 1
- 5
- 18
1
vote
1 answer
Libnodave: connectPLC returns -1
I'm trying to connect to a Siemens CPU315-2 DP via Ethernet by a CP 343-1 Lean using Libnodave dll.
I've tried the example program "simpleISO_TCP.cs" contained in the download file. The function openSocket works just fine but the function connectPLC…
user1683186
1
vote
1 answer
Using LibNoDave libraries in Android, always receive 0 from PLC memory
I'm trying to communicate with my S7-1200 PLC with Android device (currently using simulator).
I found example program, and I have problem with making it work.
Here is main program:
public class Avvio extends Activity {
private final static String…

iluvatar
- 69
- 1
- 12
1
vote
1 answer
libnodave times out whenever I try to `writeBytes`
I am using the libnodave library to communicate with a Siemens S7 PLC. It works fine, until I try to write bytes. I almost always times out.
The code I have to connect:
fds.rfd = libnodave.openSocket(port, address.ToString());
fds.wfd =…

Bart Friederichs
- 33,050
- 15
- 95
- 195