ok1052-c tick per second revision
This commit is contained in:
parent
72a90da815
commit
0b35613eb3
|
@ -9,7 +9,7 @@ static char* Address="192.168.250.252"; // plc 250.8, pc 250.252
|
|||
static int Rack = 0, Slot = 1; // Default Rack and Slot
|
||||
static int Area = S7AreaDB, DBNumber = 13, Start = 0, Amount = 4, WordLen = S7WLByte; // Default Rack and Slot
|
||||
static int bRead = 1; // By default read
|
||||
static int bWrite = 0; // By default not write
|
||||
static int bWrite = 1; // By default not write
|
||||
|
||||
static int CliConnect()
|
||||
{
|
||||
|
@ -63,7 +63,7 @@ void s7_demo(int argc, char *argv[])
|
|||
{
|
||||
Address = argv[1];
|
||||
}
|
||||
printf(" Connected to : %s", Address);
|
||||
printf(" Connected to : %s\n", Address);
|
||||
// Client Creation
|
||||
Client = Cli_Create();
|
||||
|
||||
|
|
Loading…
Reference in New Issue