markdyk
Member
Hi all,
I'm new on this forum and I tried to search for the answer of my question but I couldn't find it.
I want to write a program for a s7-200 plc that can communicate trough a RS232 connection.
There is a small program in de help file that uses interrupts, but I can't get it working.
For the RS232 connection i'm using the PPI/RS232 adapter. The PLC goes to freeport mode because i can't reach it when it's in run mode.
Probably it is a wrong setting in the dip switch on the ppi adapter. The PPI adapter works fine because it's possible to program the cpu (s7-216). When i change the settings to freeport mode then I'm get stuck. I tried the program from the help file, it has to echo the input but I don't get the echo in hyperterminal.
Maybe there is someone with a little demo program? Or does anyone know what I'm doing wrong?
I'm new on this forum and I tried to search for the answer of my question but I couldn't find it.
I want to write a program for a s7-200 plc that can communicate trough a RS232 connection.
There is a small program in de help file that uses interrupts, but I can't get it working.
For the RS232 connection i'm using the PPI/RS232 adapter. The PLC goes to freeport mode because i can't reach it when it's in run mode.
Probably it is a wrong setting in the dip switch on the ppi adapter. The PPI adapter works fine because it's possible to program the cpu (s7-216). When i change the settings to freeport mode then I'm get stuck. I tried the program from the help file, it has to echo the input but I don't get the echo in hyperterminal.
Maybe there is someone with a little demo program? Or does anyone know what I'm doing wrong?