I am using Linux OS.
S7-200
Address = 9
SlotNo = 1
RackNo = 0
Speed = 9.6Kbps
(i am using testPPI file and PLC connected to the computer with PPI cable...)
How i must fill parameters in functions
fds.rfd=setPort(argv[adrPos],"9600",'E'); //What is E?
fds.wfd=fds.rfd;
di = daveNewInterface(fds, "IF1", localPPI, daveProtoPPI, daveSpeed19k);
dc =daveNewConnection(di, plcPPI, 0,9);
daveConnectPLC(dc);
i still can't connect!
Can anybody help me to resolve this problem?
Thanks;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using Linux OS.
S7-200
Address = 9
SlotNo = 1
RackNo = 0
Speed = 9.6Kbps
(i am using testPPI file and PLC connected to the computer with PPI cable...)
How i must fill parameters in functions
fds.rfd=setPort(argv[adrPos],"9600",'E'); //What is E?
fds.wfd=fds.rfd;
di = daveNewInterface(fds, "IF1", localPPI, daveProtoPPI, daveSpeed19k);
dc =daveNewConnection(di, plcPPI, 0,9);
daveConnectPLC(dc);
i still can't connect!
Can anybody help me to resolve this problem?
Thanks;
'E' -> means even
'O' -> means odd
try with
di =daveNewInterface(fds, "IF1", localPPI, daveProtoPPI, daveSpeed187k);
dc =daveNewConnection(di, plcPPI, 0, 0);
where plcPPi = 9
bye