I am getting an error message "Invalid File Type Specified" in a subroutine (rung 1 ins 2). There may be a very simple explanation for it, as I 'dabble' in this about once every 2-3 years or so, and so get tied up on minor stuff, it seems.
The subroutine contains an SQO and the error message is pointing right at it - first time I've tried to use that command or anything similar. I've tried to figure out why I'm getting that message, but no joy yet, so coming to the experts for a little help. I'll admit, a little out of my element here, not even quite sure how to properly set up the data bits in the B3 file to establish the proper output sequence. Right now, forcing on the ones I want on.
Can't generate a pdf (might get some help with that tomorrow) so here's the text: (I might be able to supply a pdf later on)
SOR XIC B3:0/15 TON T4:1 1.0 2 2 EOR SOR XIC T4:1/DN SQO #B3:2 #B3:9 0:1/3 R6:0 4 1 EOR SOR XIC R6:0/DN RES T4:1 EOR SOR RET EOR SOR END EOR
It seems the problem is with #B3:2 or #B3:9.
The main program is running several sets of pneumatic valves, with some of these just repeating/looping for the duration of the program. To try and figure out the SQO command, I took a minimal part of the main program along with this subroutine, and once I have that figured out, will try to take the idea and transplant back into the main program.
Sorry if my lingo is not up to standards, but hope someone can help.
Thanks,
Brad
The subroutine contains an SQO and the error message is pointing right at it - first time I've tried to use that command or anything similar. I've tried to figure out why I'm getting that message, but no joy yet, so coming to the experts for a little help. I'll admit, a little out of my element here, not even quite sure how to properly set up the data bits in the B3 file to establish the proper output sequence. Right now, forcing on the ones I want on.
Can't generate a pdf (might get some help with that tomorrow) so here's the text: (I might be able to supply a pdf later on)
SOR XIC B3:0/15 TON T4:1 1.0 2 2 EOR SOR XIC T4:1/DN SQO #B3:2 #B3:9 0:1/3 R6:0 4 1 EOR SOR XIC R6:0/DN RES T4:1 EOR SOR RET EOR SOR END EOR
It seems the problem is with #B3:2 or #B3:9.
The main program is running several sets of pneumatic valves, with some of these just repeating/looping for the duration of the program. To try and figure out the SQO command, I took a minimal part of the main program along with this subroutine, and once I have that figured out, will try to take the idea and transplant back into the main program.
Sorry if my lingo is not up to standards, but hope someone can help.
Thanks,
Brad