Hello I use libnodave with VB6.0 to reed and write data from s7-1200 1212C PLC. but have a problem. Reading data from std tags (daveFlags) working OK but when I try to reed data from data blocks (daveDB) its no working OK and function daveReadBytes return code 10 (the desired item is not available in the PLC). What is wrong. Libnodave dosnt work with s7-1200?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm assuming it is a mixture of the S7200 and S7300 CPUs - I am hoping to get a unit for test purposes and to evaluate using libnodave. Since the programming environment is more like the Step7 I suspect that you will have multiple DBs as opposed to the one DB that you use when connecting to an S7200 CPU
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you send your connection parameters? I can't connect to S7 1200 (C#).
If you have DB's with only symbolic names libnodave may not to read this becouse there is no addresses like DBW0. Uncheck "Symbolic access only" option on "Add new block" window.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
fds.rfd = libnodave.openSocket(102, PlcIp);
fds.wfd = fds.rfd;
if (fds.rfd <= 0)
{
// some error
;
}
di = new libnodave.daveInterface(fds, "IF1", 0, libnodave.daveProtoISOTCP, libnodave.daveSpeed187k);
di.setTimeout(5000);
// res=di.initAdapter(); // does nothing in ISO_TCP. But call it to keep your programs indpendent of protocols
// if(res==0) {
dc = new libnodave.daveConnection(di, 0, rack, slot);
int cres=dc.connectPLC();
if (cres != 0)
{
throw new Exception(libnodave.daveStrerror(cres));
}
an I always getting cres=-1. What is wrong? Bad parameters?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-06-19
Check rack and slot
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-11-27
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-01-27
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-05-21
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-05-21
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-11-14
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-12-07
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did anyone communicate with an S7-1200 PLC using Ethernet connection and libnodave?
I would appreciate your help! Thanks in advance,
Miki
Yes,
Rack & Slot = 0. used the c# version in the latest download. The plc only needs the IP address set and some data blocks created
Hello I use libnodave with VB6.0 to reed and write data from s7-1200 1212C PLC. but have a problem. Reading data from std tags (daveFlags) working OK but when I try to reed data from data blocks (daveDB) its no working OK and function daveReadBytes return code 10 (the desired item is not available in the PLC). What is wrong. Libnodave dosnt work with s7-1200?
Hi,
did somebody fin a solution for 1200 series and libnodave ?
I'm assuming it is a mixture of the S7200 and S7300 CPUs - I am hoping to get a unit for test purposes and to evaluate using libnodave. Since the programming environment is more like the Step7 I suspect that you will have multiple DBs as opposed to the one DB that you use when connecting to an S7200 CPU
Can you send your connection parameters? I can't connect to S7 1200 (C#).
If you have DB's with only symbolic names libnodave may not to read this becouse there is no addresses like DBW0. Uncheck "Symbolic access only" option on "Add new block" window.
i use this code for connecting
an I always getting cres=-1. What is wrong? Bad parameters?
Check rack and slot