Compare commits
2 Commits
S7PLCFW_1_
...
S7PLCFW_1_
Author | SHA1 | Date | |
---|---|---|---|
a5ed2fd234 | |||
f9b9b5192f |
11
drvS7plcFW.c
11
drvS7plcFW.c
@ -1,7 +1,7 @@
|
||||
/* $Date: 2012/06/18 12:25:19 $ */
|
||||
/* $Id: drvS7plcFW.c,v 1.3 2012/06/18 12:25:19 anicic Exp $ */
|
||||
/* $Date: 2012/12/05 08:49:08 $ */
|
||||
/* $Id: drvS7plcFW.c,v 1.4 2012/12/05 08:49:08 anicic Exp $ */
|
||||
/* $Name: $ */
|
||||
/* $Revision: 1.3 $ */
|
||||
/* $Revision: 1.4 $ */
|
||||
|
||||
/*
|
||||
* NOTE: s7plcFWwriteThread -is not used for writting (we write direct),
|
||||
@ -63,12 +63,13 @@
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
||||
#define STACK_SIZE 20000 /* io thread stack size */
|
||||
/* #define STACK_SIZE 20000 */ /* io thread stack size */
|
||||
#define STACK_SIZE epicsThreadGetStackSize(epicsThreadStackBig)
|
||||
#define CONNECT_TIMEOUT 5.0 /* connect timeout [s] */
|
||||
#define RECONNECT_DELAY 10.0 /* delay before reconnect [s] */
|
||||
|
||||
static char cvsid[] __attribute__((unused)) =
|
||||
"$Id: drvS7plcFW.c,v 1.3 2012/06/18 12:25:19 anicic Exp $";
|
||||
"$Id: drvS7plcFW.c,v 1.4 2012/12/05 08:49:08 anicic Exp $";
|
||||
|
||||
STATIC long s7plcFWIoReport(int level);
|
||||
STATIC long s7plcFWInit();
|
||||
|
@ -54,6 +54,7 @@ Besides the
|
||||
<li>new communication protocol (FETCH/WRITE)</li>
|
||||
<li>the modified <code>s7plcFWConfigure</code> function</li>
|
||||
<li>additional support for write-connection-status (see <a href="#stat"> <code>"s7plcFW stat2"</code> </a>)</li>
|
||||
<li>when using bi and bo bits 0-7 and 8-15 are swapped (i.e. for bit 3 use 3+8=11, or for bit 13 use 13-8=5)</li>
|
||||
</ol>
|
||||
there should be no other differences.
|
||||
<br><br>
|
||||
|
Reference in New Issue
Block a user