I have the same problem. The testppi.exe works but the demo in delphi dose not. Has the demo got a bug in it or dose it not work with PPI? Is it possable for some one to post a small programme just to connect to the s7-200 PLC so i can make sure the component is correctly installed and working.
Thanks
Colin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello guys , I have tried the things you told me but I still can not communicate with the CPU222 and the delphi through PPI cable. What seems to be the problem?
Do you think is the usb-RS232 adaptor ?
Do you think is the PPI cable ?(because is not the official fro siemens)
Can anybody help me understand what is wrong?
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello , I have problem with connecting a CPU222 with the nodavedemo in delphi.
I am using the NoDaveDemo.exe in Delphi together with a CPU222 with a PPI cable(the PPI Cable is not made from Siemens) and a USB to RS232 converter.
I configure the NoDaveDemo settings for the communications as :
Protocol : PPI Protocol
Com Port : COM2
MPI Speed : 19.2 kbit/s
MPI Local : 1
Remote : 2
CPU-Rack : 0
Slot : 2
Timeout : 100
Interval : 1000
I also configure the communications settings of the CPU222 with the same
Address
Local : 1
Remote : 2
Network Parameters
Interface : PC/PPIcable(COM2)
Protocol : PPI
Mode : 11bit
HSA : 31
Transmition Rate
Baud Rate :19.2 kbit/s
I also do the same for the PC/PPI cable parameters from set PG/PC interface.
Why can not I communicate between the NoDaveDemo and the CPU222?
P.S
I can download and upload a program with my PPI cable and the USB-RS232 converter throught the Micro/WIN V4.0
Hi
I have the same problem. The testppi.exe works but the demo in delphi dose not. Has the demo got a bug in it or dose it not work with PPI? Is it possable for some one to post a small programme just to connect to the s7-200 PLC so i can make sure the component is correctly installed and working.
Thanks
Colin
Ok
You need to mod the NoDaveComponent.pas file and change the parity to even
DaveFDS.rfd:=SetPort(@Address[1], Speed, 'O');
To
DaveFDS.rfd:=SetPort(@Address[1], Speed, 'E');
You then need to change com speed to daveComSpeed9_6k in the Delphi object inspector. This allows yoy to connect the demo to an S7 200.
Colin
Hello guys , I have tried the things you told me but I still can not communicate with the CPU222 and the delphi through PPI cable. What seems to be the problem?
Do you think is the usb-RS232 adaptor ?
Do you think is the PPI cable ?(because is not the official fro siemens)
Can anybody help me understand what is wrong?
Regards
only works with serial lead
But the MicroWin4.0 works with the USB-RS232 converter.
-How can I make it work also with the delphi??
-Do I need a real RS232 card?
-Do you know any converter that works with the delphi?
Ohh and something else...
-Do you thing I will have the same problems if I buy and use the "PC/PPI (PCPPI) - USB + OI Version" from siemens together with Delphi??
Thank you very much
Regards