Download presentation
Presentation is loading. Please wait.
Published byDominick McDowell Modified over 9 years ago
1
Copyright © 2002 Delmar Thomson Learning Chapter 17 Sequencer Instructions
2
Copyright © 2002 Delmar Thomson Learning Objectives Describe the function of a sequencer. Describe the operation of the SLC 500 sequencer output (SQO) instruction. Explain the function of each SQO status bit.
3
Copyright © 2002 Delmar Thomson Learning Objectives (cont’d.) Explain the role of the control (R6) file. Explain the role of the bit file while programming a sequencer instruction. Explain what a mask is and why it is used. Determine the appropriate hexadecimal mask for your application.
4
Copyright © 2002 Delmar Thomson Learning Sequencer Instructions
5
Copyright © 2002 Delmar Thomson Learning Sequencer Output Instruction (SQO) SQO is an output instruction. Each false to true transition causes the SQO instruction to increment to the next sequence step. Sequencer steps are stored in a reference data file.
6
Copyright © 2002 Delmar Thomson Learning SLC 500 PLC Sequencer Output Instruction
7
Copyright © 2002 Delmar Thomson Learning Bit File Containing Sequencer Step Data
8
Copyright © 2002 Delmar Thomson Learning Sequencer Operation
9
Copyright © 2002 Delmar Thomson Learning Sequencer Reference File #B3:0
10
Copyright © 2002 Delmar Thomson Learning SQO Control File Sequencer instructions do not have designated data files like timers or counters. Use R6 control file. Control file will store sequencer status bits, length, and position data.
11
Copyright © 2002 Delmar Thomson Learning Three-Word Control Element for the SQO
12
Copyright © 2002 Delmar Thomson Learning SQO and Associated Status Bits
13
Copyright © 2002 Delmar Thomson Learning SQO and Hexadecimal Masking Sequencers use hexadecimal masks similar to the MVM instruction to filter data from the sequencer reference file to the output destination.
14
Copyright © 2002 Delmar Thomson Learning Only Bits 0 through 7 Will Be Allowed to Pass through the Mask
15
Copyright © 2002 Delmar Thomson Learning Only Bits Set to a 1 Will Allow Data to Pass
16
Copyright © 2002 Delmar Thomson Learning Bit Pattern Translated to Hexadecimal
17
Copyright © 2002 Delmar Thomson Learning Only Bits 8 through 11 Will Be Allowed to Pass through the Mask
18
Copyright © 2002 Delmar Thomson Learning Selected Single Mask Bits Set to a 1
19
Copyright © 2002 Delmar Thomson Learning Bit Pattern Translated to Hexadecimal
20
Copyright © 2002 Delmar Thomson Learning Binary Bit Pattern and Hex Correlations
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.