RMA
Member
I've got a couple of FBs which are virtually identical, in fact one is a copy of the other with only a single parameter changed when calling the FC sub-routine.
These programs both compile and save OK Offline, but when I try to download them I get a message saying that it was not possible to copy the file. According to the error message Help file the most likely causes are:
1) The files already exist, but cannot be deleted, for some reason. - No, online neither file exists (I've had this problem since day one, so no version has ever made it to the CPU)
2) I'm using an instruction which is not allowed on the CPU concerned. Well the only thing slightly exotic, which I'm using is SFC108 - Alarm_D and commenting it out made no difference.
3) I'm trying to access Periphery at an address higher than exists on the CPU concerned.
Well this last one might be a possibility, but I'm using indirect addressing here. I would have expected the fault to be generated at Run-Time, or is this sort of thing checked at Download time?
What makes life a bit harder is that simply jumping round bits of the program doesn't solve the problem. i.e. putting
SPA sorry, JU exit
on the first line doesn't clear the fault, it looks as though I need to go through and comment out everything, which is a major pain in the neck!
Any thoughts on what the problem might be and any more convenient way to track it down, other than working my way though the whole program and commenting out line by line.
These programs both compile and save OK Offline, but when I try to download them I get a message saying that it was not possible to copy the file. According to the error message Help file the most likely causes are:
1) The files already exist, but cannot be deleted, for some reason. - No, online neither file exists (I've had this problem since day one, so no version has ever made it to the CPU)
2) I'm using an instruction which is not allowed on the CPU concerned. Well the only thing slightly exotic, which I'm using is SFC108 - Alarm_D and commenting it out made no difference.
3) I'm trying to access Periphery at an address higher than exists on the CPU concerned.
Well this last one might be a possibility, but I'm using indirect addressing here. I would have expected the fault to be generated at Run-Time, or is this sort of thing checked at Download time?
What makes life a bit harder is that simply jumping round bits of the program doesn't solve the problem. i.e. putting
SPA sorry, JU exit
on the first line doesn't clear the fault, it looks as though I need to go through and comment out everything, which is a major pain in the neck!
Any thoughts on what the problem might be and any more convenient way to track it down, other than working my way though the whole program and commenting out line by line.