X hits on this document

96 views

0 shares

0 downloads

0 comments

26 / 37

MODBUS Communications Driver - Functions

KeyPort: Get/Set Hardware Key port

SYNOPSIS

status

Return Code

Integer

keyport

Hardware Key Port

Integer

short status = MB GetKeyport(short *keyport); short status = MB SetKeyport(short keyport); _ _

DESCRIPTION

By default, the Driver assumes that the Hardware Key is located on LPT1. However, you can tell the Driver to look for the Key on another parallel printer port with this command. keyport selects the port where the Key is located and can range from 1 (for LPT1) to the highest port number supported by your system (usually 3).

EXAMPLE

// Select LPT2 for Hardware Key MB SetKeyport(2);

_

Page 18

June 6, 1998

Revision 2.210

Document info
Document views96
Page views98
Page last viewedWed Dec 07 20:39:36 UTC 2016
Pages37
Paragraphs781
Words6172

Comments