You should realize that it is the same basic method that you said did not work 2 times before! The only difference was that I adjusted it for your specifc SLC 5/04's timer base 0.01 second availability. Normally it is your job to make that adjustment where you did not specify the SLC model up front.Thank you so much Lancie. I tested it out and works perfectly!
Are you sure that your Output is O:1/18? Normally there are only 16 bits (0 to 15) in each word address, so bit 18 would be bit 3 of the next word, O:2/3.
The SQO instruction requires a WORD address for both the File and Desitiantion addresses, not Bit addresses as you are trying to use. For your Output O:1/15 bit, you must use the word address O:1.0. When in doubt, check the RSLogix 500 software Help file for your specific instruction. To use the SQO but only control 1 Output bit, you must use a Mask to mask out all bits except the one you want to be turned on/off by the SQO. To mask out all except bit O:1/15, use Mask 8000 hexadecimal (1000 0000 0000 0000 Binary).I couldn't figure out why I was getting this error message: error: address must be specified to the word level! when typing in the output O:1/18 which is my actual solenoid output in I think the SQO or in the IOM instruction (not sure now).
SQO [Sequencer Output]
File is the address of the sequencer file. Make sure to use the file indicator (#). This file stores the reference data for monitoring inputs.
Mask is a hexadecimal code or the address of the mask word or file through which the instruction moves data. If the mask is a file, its length will be equal to the length of the sequencer file. The two files track automatically.
Destination is the address of the output word or file for a SQO to which the instruction moves data from its sequencer file.
Last edited: