X hits on this document





10 / 37

MODBUS Communications Driver

Copy Protection

Unfortunately, software piracy is a problem that plagues all program developers: the temptation to copy an unprotected disk is great, and there is little actual danger to the pirate. But copy protection often of- fends users and sometimes involves unnecessary “hassles”. In order to keep everyone honest with a minimum of trouble for the user, ACS has decided to issue all of its single-user Driver products in copy-protected form.

Note. OEM versions of the Driver are not copy protected.

Hardware Lock

A Hardware Lock protects the single-user Driver. Programs protected with a Hardware Lock come on ordinary floppy diskettes. You can (and should) make backup copies of the protected files, using the DOS diskcopy command if you wish. The protection is incorporated into the files themselves and into the locking device.

The Hardware Lock itself is a small device resembling a “gender changer.” connectors on it, one male and one female.

It has two 25-pin

When you run a program protected with a Hardware Lock, the software will periodically examine your computer’s parallel printer port. If the correct Hardware Lock is found, the program runs normally. If the locking device is not present, the program will not operate.

To use the Hardware Lock, simply copy the original program diskettes into a directory on your hard disk. Next, plug the male end of the Hardware Lock device into your computer’s parallel printer port (LPT1). If there is a printer already attached to your system, simply plug its cable into the female end of the Hardware Lock.

Once you have attached the locking device, you are ready to run the software. Your computer should operate just as before; the device is only active when the software specifically queries it. The Lock is also transparent to printing.

By default, the Driver looks for the Hardware Key on printer port LPT1. To change the port where the Driver will look for the key, call MBDRV with the function synopsis:


where PORTN is the integer number of the parallel port where the key is located (1 to 3). See the description of the SetKeyport command below (page 18) for more details.

If you are using the default port, LPT1, there is no need to call the SetKeyport function. The Driver will return a status of -2 if the key is not detected.

Page 2

June 6, 1998

Revision 2.210

Document info
Document views118
Page views120
Page last viewedWed Jan 18 05:58:39 UTC 2017