Smart Home Systems

smart The Smartest DIY Home Improvements

house  Home Automation, Security & Energy Savings
         
 Phone Orders: 1-888-843-9103 | 631-361-3600
                                  
 
smart
Search
 
Shop


SAFE SHOPPING FOR ALL!

SmartHomeUSA now utilizes McAfee Secure technology (previously HackerSafe) to ensure all your transaction information is SAFE & SECURE within our checkout system.

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

Click on the logo above to verify our system's compliance with McAfee Secure.


  Shop > Sams Technical > HABPAB
x10
  Home Automation Basics: Practical Applications Using Visual Basic 6, Book
 
Home Automation Basics: Practical Applications Using Visual Basic 6, Book
Enlarge Image
by Tom E. Leonik
Includes CD-ROM
Pages: 386
Publisher: Prompt Publications
Publication Date: 07/2000
ISBN: 0790612143

Thomas Leonik is a licensed Professional Engineer in New Jersey, currently consulting in the areas of microprocessor design, data acquisition, specialized software, industrial controls, and automation. He is proficient in assembly language programming for several types of microprocessors and in ladder logic programming for several types of PLCs.
Item # HABPAB
$46.95  
Low Prices Guaranteed!
Free Technical Support
Shipping Rates
Availability:
Item is Available
Display All:
Sams Technical
Overview More Info Photos x10
 
Home Automation Basics: Practical Applications Using Visual Basic 6 Book
by Tom E. Leonik
Includes CD-ROM
Pages: 386
Publisher: Prompt Publications
Publication Date: 07/2000
ISBN: 0790612143

Table of Contents

Preface xi

About the Author xv
Chapter 1 Visual Basic Basics 1
Introduction 1
Getting Started 2
Integrated Design Environment 3
Variables 8
Keywords 13
Array Keyword Summary 13
Collection Object Keyword Summary 15
Compiler Directive Keyword Summary 15
Control Flow Keyword Summary 15
Conversion Keyword Summary 20
String Manipulation Keyword Summary 21
Variables/Constants Keyword Summary 24
Operators Keyword Summary 26
Dates & Times Keyword Summary 28
Input & Output Keyword Summary 29
Directories & Files Keyword Summary 32
Miscellaneous Keyword Summary 33
Conclusion 34
Chapter 2 Serial Communications Basics 37
Introduction 37
Serial Pin Out Description 40
Serial Interconnection 43
First Visual Basic Serial Port Examination Program 45
First Program 47
Second Serial Communication Program 56
General Purpose Serial Link 56
Conclusion/Exercise 76
Chapter 3 PLC Fundamentals 79
Introduction 79
Ladder-Logic Programming 80
Micro PLC 82
MicroLogix PLC Memory Map 82
MicroLogix Instruction Set 85
Conclusion 91
Chapter 4 Interfacing 93
Introduction 93
Ohm's Law 93
Interface Translators 95
Commercially Available Solid-State Converter Modules 98
Relays 98
Analog-Based Sensors 99
Conclusion 101
Chapter 5 Allen-Bradley Protocol 103
Introduction 103
The Protocol 103
Allen-Bradley Communication Packet Structure 106
Communication Packet Error Checking 107
Block Check Character (BCC) 107
Cyclic Redundancy Check (CRC) 108
Unprotected Write Command Structure 109
Unprotected Read Command Structure 111
Command/Response Exchange 112
First PLC Data-Acquisition Program 113
PLC Ladder Logic Requirements 114
Form Design 115
Form Controls 116
The Code 119
CRC Sub Procedure 120
Sub Form_Load0 Event Code 121
Sub Form_Unload0 Event Code 122
Animation of the Output-Status Lights 123
Animation of the Input-Status Lights 125
Communication Procedural Aspects 126
Conclusion/Exercise 135
Chapter 6 Home-Monitor Project 137
Introduction 137
PLC Task & Interconnection Diagram 137
Ladder Logic Software 143
Chapter 7 Home-Monitor Aquisition Module 153
Introduction 153
Task Description 153
The Code 154
Conclusion/Exercise 178
Chapter 8 Home-Monitor Animation Module 179
Introduction 179
Task Description 179
The Code 187
Conclusion/Exercise 194
Chapter 9 Home Animation: Wave Files 195
Introduction 195
Task Description 195
The Code 197
Conclusion/Exercise 204
Chapter 10 Data Log 205
Introduction 205
Task Description 205
The Code 206
Conclusion/Exercise 218
Chapter 11 Graphing the Data 219
Introduction 219
Task Description 219
The Code 227
Sample Graph Screens 235
Conclusion/Exercise 240
Chapter 12 Serial Alphanumeric Display 241
Introduction 241
Task Description 241
The Code 245
Conclusion 255
Sample Display Pages 256
Chapter 13 Control 259
Introduction 259
Task Description 259
The Code 262
Conclusion/Exercise 266
Chapter 14 Conclusion 267
Appendix 269
A Note on the Software 270
ASCII Table 271
Index 273


Return to Top
Contact Us |  Link To Us |  Copyright © 1997 - 2008 Smart Home Systems, Inc. All rights reserved |  Sitemap