Hi everyone,
I'm having an issue with sin in step7. I tested the code in plcsim and it works fine. When i download it to the actual cpu it doesn't. I'm thinking it's something to do with an old cpu (315-2ag10). Attached is a screen shot of the code. As soon as it reaches sin it returns 7f800000.
Any help greatly appreciated.
Regards,
Barry.
I'm having an issue with sin in step7. I tested the code in plcsim and it works fine. When i download it to the actual cpu it doesn't. I'm thinking it's something to do with an old cpu (315-2ag10). Attached is a screen shot of the code. As soon as it reaches sin it returns 7f800000.
Any help greatly appreciated.
Regards,
Barry.