Customer Reviews


13 Reviews
5 star:
 (4)
4 star:
 (4)
3 star:
 (2)
2 star:
 (2)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
Share your thoughts with other customers
Create your own review
 
 
Only search this product's reviews

The most helpful favorable review
The most helpful critical review


77 of 79 people found the following review helpful:
5.0 out of 5 stars Home Automation Basics
Home Automation Basics BY THOMAS E. LEONIK PE

Review

This book explores the world of Visual Basic 6 programming with respect to real world interfacing, animation and control on a beginner/intermediate level. The original title of the book was "Visual Basic 6 : Real World Interfacing, Animation and Control. The title was changed by the publisher's marketing...

Published on October 24, 2000 by Tom Leonik

versus
19 of 22 people found the following review helpful:
1.0 out of 5 stars Just use the softeware which comes with the PLC
I was very excited when I found this book and read the reviews. Chapter one was a small intro to visual basic. The first half of chapter two explained how to input and output with the serial port, great. Then I get to the second half of chapter two and I read that all I need to do is go and get a PLC interface. Why bother with the book then. If I'm going to spend hundreds...
Published on October 11, 2002 by ----neal M. Shaw


‹ Previous | 1 2 | Next ›
Most Helpful First | Newest First

77 of 79 people found the following review helpful:
5.0 out of 5 stars Home Automation Basics, October 24, 2000
By 
Tom Leonik (Mayville, NJ 08210) - See all my reviews
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
Home Automation Basics BY THOMAS E. LEONIK PE

Review

This book explores the world of Visual Basic 6 programming with respect to real world interfacing, animation and control on a beginner/intermediate level. The original title of the book was "Visual Basic 6 : Real World Interfacing, Animation and Control. The title was changed by the publisher's marketing department much to the Author's chagrin. This is VB book that demonstrates how to create an HMI (Human Machine Interface) from scratch. A Home Monitor application was selected to provide a broad appeal to all readers.

Most of the Visual Basic books on the market today and in the past do a very good job of describing the various control elements of Visual Basic and how they work. Typically examples are provided for programming some type of data base application of one sort or another. The focus of this book is interfacing to an external device via the serial port, showing the status of this device by animating objects on a Visual Basic form and then controlling this device. The Allen-Bradley Micrologix PLC by Rockwell Automation is one serial device that will be explored. An alphanumerical display is another serial device that will be investigated.

The acronym "PLC" stands for Programmable Logic Controller. PLC's are the fundamental building block in industrial control systems today. Typically a PLC consists of inputs, outputs, a central processing unit, user memory for control functions, a proprietary operating system and a serial port. With a PLC, input devices such as push buttons, limit switches to name a few are wired into inputs and output devices such a lights, horns, motor control relays and so on are wired to outputs. All the cross wiring required to implement some desired function is accomplished with software rather then hard wiring and additional components.

The intent of this book is Visual Basic but it will discuss to a certain degree the architecture and the programming of Programmable Logic Controller. The most popular language used to program a PLC is called "Ladder Logic". Ladder Logic is modeled from the way that one would actually wire up devices to relays. Input devices are represented as contacts and outputs are represented as relay coils. Essentially each rung of ladder logic is a graphical form of a Visual Basic IF THEN statement. Typically the PLC instructions set supports internal timers, counters, math functions (integer and real via floating point), move functions, Boolean functions and communication functions. The Rockwell Automation Micrologix PLC was selected because it is a popular, powerful, inexpensive PLC. Most of the material presented on the Micrologix PLC will also apply to other manufactured PLC's.

The application example presented in this book will be that of using the PLC as home monitor. This example is more appealing and easier to understand as opposed to implementing an example of a wastewater pumping station with level control using a variable frequency drive. It is inevitable that some day the PLC or some form of the PLC will be controlling all the electrical operations of a house.

As a home monitor the PLC will monitor the following digital inputs: front doorbell pushbutton, rear doorbell pushbutton, front door open sensor, rear door open sensor, first floor HVAC system on, second floor HVAC system on, water pump on, and mail box open sensor. In addition to the discrete digital inputs, five temperatures will be monitored (outside air, crawlspace, first floor, second floor and Great Room) and water pressure of the water pump will be monitored. Two PLC outputs will be used to drive a horn and turn on a blower fan under the control of the Visual Basic program.

First a Visual Basic 6 program will be developed that communicates serially with the PLC using Rockwell Automation Allen-Bradley protocol. This protocol will be considered to perform two tasks: an "unprotected read" and an "unprotected write". The structure of this binary protocol will be examined. The software developed to perform these tasks will be simply and clearly presented.

Another Visual Basic 6 program will be developed that interprets the collected information and animates objects on a Visual Basic form accordingly, such as a door shown in the open or closed position along with an associated time/date stamp as to when it was opened or closed. Temperature and other data information will be stored as monthly files on the harddrive in CSV(comma separated values) format. Microsoft Excel can then be used to provide a graphical representation of the data contained in these files. Wave files will be launched to provide audio annunciation of certain events.

A stand-alone full function-graphing program will be developed that interprets the data log files. This program will automatically update in conjunction with the data log file.

A second serial port will be used to provide textual based status information from the Visual Basic home monitor program to a remote alphanumerical display.

Through the process of developing the home monitor program many aspects of Visual Basic programming will be studied. Emphasis will be placed on keeping the software as simple as possible. The lessons learned in this book will be invaluable for future serial and animations projects.

All programs presented in this book and contained on the companion CD have been thoroughly tested. I hope you like it as much as I enjoyed writing it and creating the software. Tom Leonik

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


19 of 22 people found the following review helpful:
1.0 out of 5 stars Just use the softeware which comes with the PLC, October 11, 2002
By 
----neal M. Shaw (Oakville, Ontario Canada) - See all my reviews
(REAL NAME)   
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
I was very excited when I found this book and read the reviews. Chapter one was a small intro to visual basic. The first half of chapter two explained how to input and output with the serial port, great. Then I get to the second half of chapter two and I read that all I need to do is go and get a PLC interface. Why bother with the book then. If I'm going to spend hundreds of dollars on a PLC interface, just buy one which has software, and use the software which comes with it. Don't get me wrong, I'm sure for someone who already has a PLC and needs to revise their programs, this book would be valuable, however for the person who is interested in using the serial port to acquire ideas and tips for simple input/output application around the home, it is frustrating. Maybe the title should be Programming for the PLC in Visual Basic 6. That would be much more appropriate.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


11 of 12 people found the following review helpful:
5.0 out of 5 stars Great Book and reference, November 9, 2002
By 
Tim Singer (Scotsdale, AZ) - See all my reviews
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
I've read a lot of books on VB and PLC's but the book that I think about most and use as handy reference is Tom Leonik's --Home Automation Basics - Pratical apps using VB6. This book is fun and to the point. The example of a home monitor is cool and the material presented in the book can easily be applied to many different applications.

The one reviewer who stated that you needed PLC software... obviously did not read the book. PLC software is only needed to program the PLC. The PLC in this application performs conditioning of inputs and stores key information in non-volatile ram. The book creates a driver to communicate with the PLC in VB no other software is required. This is an amazing task and it works.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 9 people found the following review helpful:
4.0 out of 5 stars Nice Reference for my Visual Basic Manufacturing Apps., December 21, 2000
By 
Stanley D. Musick (Texas USA Email: StanMusick@aol.com) - See all my reviews
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
Credit is do to Mr. Leonik for producing this book. I'll use it as a nice reference for some of my manufacturing applications written in Visual Basic. The methods covered in this book can be applied to many real world events. Thanks for taking the time to share your knowledge.

Visual Basic Applications Programmer {Specializing in Data Acquisition & Process Control for QA and Industrial Environments.}

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 9 people found the following review helpful:
4.0 out of 5 stars Not just for home automation..., November 22, 2000
By 
Mark V Lane (Danville, Al United States Fluoronator@Yahoo.com) - See all my reviews
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
Great job! I found this book to be very useful for more than just home automation. I have read several OEM protocol manuals in attempt to learn PLC communication. Leonik's book truly cleared the water for me. The principles of serial communications are explained clearly and I was able to apply the examples even with my limited knowledge of Visual Basic. Although the book focuses on the Alan Bradley protocol, the clear explanation helped me to understand other protocols such as DirectNet and Modbus as well. I'll be reading everything Leonik writes from now on!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
5.0 out of 5 stars Communication Protocol's and VB, March 4, 2007
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
Mr. Leonik is correct in his feeling with regard to the title given to his book, it is in fact not representative of the material inside. I can't imagine someone just getting involved with home automation (or wanting to learn about the subject) choosing this book as a starting point. Visual Basic is a huge programming language that takes years to develop a proficiency in. Writing effective communication protocol software in any language is no easy task and it is only a small part of VB capability. As a Vb programmer I had heard about Mr. Leonik's book through the "VB Grapevine". I had been searching for a book that covered this subject for a Modbus project I was working on. Of the 50 or so VB books in my library none of them covered this subject, so when I learned about this book and after reading Mr. Leonik's writeup I knew this was a book that I had to have in my library. I was not disappointed -- the information and program contained in Chapter 5 was well worth every penny (just the algorithm for CRC computation was enormously helpful). This book filled a void (no pun intended) in my arsenal of VB knowledge (and my library). Thanks, Mr. Leonik, from myself and my fellow VB programmers for the useful knowledge.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
4.0 out of 5 stars Awesome Book, October 23, 2002
By 
Ed Cole (Columbus, Ohio) - See all my reviews
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
This is an awesome book. It shows how to render external events into a Visual Basic window. It even implements a communication link to an Allen-Bradley micro plc using only VB. There's nothing like it. Great Job, Tom Leonik. I even adapted the software to communicate with an AB micrologix 1200 and it worked great.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 4 people found the following review helpful:
2.0 out of 5 stars Home Automation for people with too much money, March 7, 2004
By A Customer
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
This book will leave you scratching your head. Do not pay too much for it and you won't be disappointed. When it gets right down to it you might as well look for a plc with o.e. software because that's what you will need. Nice discussions on electrical basics and interfacing but just not practical or user friendly.There are just too many different devices to chase down and no real guidance as to where to get them. Writers should have non-technical people read their material before they publish.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4.0 out of 5 stars Good book for interfacing RS232 devices, June 30, 2011
By 
Bruce E. Munck (Gaston, SC United States) - See all my reviews
(VINE VOICE)    (REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
I like this book, but wish the price were a bit lower. There is another very similar book covering lab instead of home automation equipment that actually goes into more depth on the VB6 programming side of things yet is about 1/4 the price. I own both books and refer to them both when needed. This book does a good job of documenting how to communicate over an RS232 connection via the mscomm32.ocx which is included in the VB6 professional and enterprise editions. Having said that, I can also tell you from experience that an internet search will turn up some very good information on this topic, so don't base your buying decision on only that part of the picture. The author's choice of an AB PLC shouldn't present too big a hurdle as each manufacturer employs a different command structure and methodology for communicating with their equipment. It is ultimately up to you to find the command language your equipment uses; if you aren't up to that then perhaps you aren't quite ready to tackle this kind of a project just yet. The point is, once you are comfortable using mscomm32 you should be able to use it with any PLC available as long as the PLC speaks RS232. If you would like a home automation system and the satisfaction that goes along with building your own this book will get you headed in the right direction and is the real reason for buying it. I can promise you that once you get started you will begin to see possibilities you never expected. The system you ultimately build and program will probably be much more complete and fulfilling than the one in the book. If you are in the dot-net world then this book will be of more limited use to you since MS decided to abandon their active-x platform. If you are one of the lucky ones who still owns VB6 then this book is a good addition to your library. Just remember that the big boys at MS are pulling the plug on VB6 support with any version of Windows past Win-7, so your project will run on Win-95 thru Win-7 but on nothing later. Of course there's Mac with Boot Camp and Linux with Wine if you want to run your program on something other than a Windows PC.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3.0 out of 5 stars Not really for Home Automation, January 8, 2009
By 
This review is from: Home Automation Basics - Practical Applications Using Visual Basic 6 (Sams Technical Publishing Connectivity Series) (Paperback)
Let's start with stating that I create HMI's/SCADA systems for a living. I have used all the major commercial software including Wonderware and iFIX. This book was interesting. At least it covered serial communications which others on this topic have not done. The book is based around using an industrial PLC (Programmable Logic Controller). It's probably over kill for the home, but then again finding something else for home use isn't easy either. It was helpful to me since I am planning on using it not for the home but more commercial and industrial applications. I think it should have a different title, but a more appropriate title might not get as many hits.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


‹ Previous | 1 2 | Next ›
Most Helpful First | Newest First

This product