The Boolean states will be referred to as "Exists", "Large", and "Broken" and these states are to be tracked by you, utilizing 3 separate BSL (bit shift left) instructions. In the initial exercise you will be asked to track the 3 Boolean values describing each bottle entering our process line. If we analyze the various ways that we might process these bottles, it should quickly become apparent that we will have ample information for making such decisions, assuming we keep track of it.Ī single BSR or BSL instruction can be used to track a single Boolean state (0 or 1) which in-turn can describe a unique property of a product. Essentially 3 Boolean states describing the properties of each bottle that enters the line. Sensors are provided to detect the presence of a new bottle, the bottle size, and whether the bottle is fully intact. In the bottle line simulation, we are faced with detecting and tracking a few Boolean details having to do with the bottles entering the line. Getting Started There are always numerous ways to accomplish tasks in programming, but a quick review of the Allen Bradley bit shift instructions should surely point to them as an ideal tool for use in this particular process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |