I'm working on a simulated PLC (S7-300) and I try to use the function Cli_Download within a C code to download an OB into the virtual PLC.
However, when I try with a S7-315, the error code is "ISO : An error occurred during recv TCP : Connexion timed out".The message is the same using the clientdemo. If I try again, the message becomes "download sequence failed". The latter message is what I get when I try with other S7-300 versions.
I used the 1.3 and 1.4 versions, no differences.
Has anyone already encountered the same issue? Is it because the PLC is simulated?
Best regards,
JL
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have encountered the same problem with plc sim. I haven't tested yet with a real plc because at het moment i have no plc available. I will test it next week again with a real plc.
regards
Last edit: lapie 2015-11-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your answer. I tried it on a real plc S7-300 yesterday and it worked !!! I think this is because we have to disable a windows service with the simulated plc. Maybe this one is necessary to fully establish a connection.
Regards,
JL
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm working on a simulated PLC (S7-300) and I try to use the function Cli_Download within a C code to download an OB into the virtual PLC.
However, when I try with a S7-315, the error code is "ISO : An error occurred during recv TCP : Connexion timed out".The message is the same using the clientdemo. If I try again, the message becomes "download sequence failed". The latter message is what I get when I try with other S7-300 versions.
I used the 1.3 and 1.4 versions, no differences.
Has anyone already encountered the same issue? Is it because the PLC is simulated?
Best regards,
JL
Hi,
I have encountered the same problem with plc sim. I haven't tested yet with a real plc because at het moment i have no plc available. I will test it next week again with a real plc.
regards
Last edit: lapie 2015-11-06
Hi,
Thank you for your answer. I tried it on a real plc S7-300 yesterday and it worked !!! I think this is because we have to disable a windows service with the simulated plc. Maybe this one is necessary to fully establish a connection.
Regards,
JL