Table of Contents
Chapter 1 - Setting up AB serial communications. In this first chapter you will configure the In-Gear32 driver for communicating with an Allen Bradley Micrologix 1000 Programmable Logic Controller (PLC). The In-Gear32 driver comes with example applications written in Visual Basic which you may use for reading and writing words or bits to the PLC.
Chapter 2 - This chapter will walk you through the creation of a HMI application that sets and re-sets a bit in the Programmable Logic Controller (PLC). By controlling this bit in the PLC we will turn a lamp on and off on the trainer. In this chapter we will use the In-Gear32 Allen Bradley ocx or activex control for PLC data transfer and communications.
Chapter 3 - In this chapter we will create a HMI/SCADA application with a Access Switchboard form that lets us select different forms within our application. You will develop a form that displays the level in a tank with command buttons for filling and draining the tank. We will also monitor data in the PLC and if there is a change in status these events will be logged to a database. We will also have a recipe form for selecting the data to be loaded into the PLC. We will also introduce the use of Instrumentation AciveX controls, and the Symbol Factory software.
Chapter 4 - In this chapter you will be shown how to write code to handle errors that happen during run-time in MS Access. Run time errors can occur when there is a loss of communications with the PLC, tables or records that are not available or can't be found, trying to read or write to a non-existent PLC address, or numerous other factors.
Chapter 5 - In this chapter you will be shown how to use the Immediate Pane, Add Watch Window, and Calls Window. You will learn how to Step through your code and set Breakpoints in the code.
Appendix A - Settings for GE, Modicon, & Omron PLC's.
Appendix B - Ladder Logic used in this book.
Appendix C - Shortcut keys and Function Keys.