EasyManua.ls Logo

JTECH Premises - RS232 Programming Examples; RS232 Message Terminator; Visual Basic Code Example for RS232; Hex Data Stream Example for RS232

JTECH Premises
19 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9
Terminator: The terminator marks the end of message. The terminator character is
the Chr$(13) or Hex 0D.
Example Of Visual Basic Code: Below is an sample section from a Visual Basic
program. This example produces a non-inverted, non-priority page sent to a 512
baud Alphanumeric Pager.
MSComm1.PortOpen = True (Opens serial port for communication)
Preamble = Chr$(255) & Chr$(255) & Chr$(255)
FBit = Chr$(03) (Set Function bit #3 (non-priority for Alpha))
Cap Code = “1236789” (where ‘123’ is the cap code prefix and ‘6789’ is the Pager number)
Separator = Chr$(10) (This is an Non Inverted, 512 RF baud, Alpha Page)
PagerMessage = “This is a test Page”
Terminator = Chr$(13)
OutPutString = Preamble & Fbit & CapCode & Separator & PagerMessage & Terminator
MSComm1.Output = OutPutString
Example of Hex Data Stream Into Transmitter:
[FF FF FF 03 31 32 33 36 37 38 39 0A 54 48 49 53 20 49 53 20 41 20 54 45 53 54 20 50 41 47 45 OD]
Example Data Stream reads as:
| P | F | Cap Code:1236789 | S| Message: THIS IS A TEST PAGE | T |
P =Preamble
F = Function Bit
Cap Code = Seven Digits (the 3-digit cap code prefix should match the cap code prefix stored in the
Transmitter; the remaining 4 digits represent the Pager number)
S = Separator
Message = A maximum of 120 alphanumeric or 16 numeric characters (Function Bit determines
alphanumeric or numeric)
T = Terminator
Service
Assistance: For assistance, please contact JTECH Customer Care at
800-321-6221, fax at 561-995-2260 or email at wecare@jtech.com .
JTECH provides complete diagnostic technical support 24 hours a day, 7 days a
week.
Warranty: Equipment under warranty will be repaired without
charge.
Extended warranties are available. If the equipment is out of
warranty there will be a nominal service fee charged when the equipment has
been repaired and shipped.
Billing for Repairs: Terms are C.O.D. (company check), company billing or
credit card. If “advanced replacement” is required, replacement equipment will
arrive with a packing list and a Return Material Authorization Sheet (RMA). To
return the defective equipment and ensure proper credit, include the Return
Material Authorization (RMA) sheet in the shipment back to JTECH. Mark the
outside of the box with the Return Material Authorization (RMA) number. If
advance replacement of equipment service is used and the defective equipment
is not received back at JTECH within 10 days, JTECH will bill the amount of the
list price of the equipment to the Customer.
Shipping Costs: Costs to ship equipment from JTECH to the Customer paid by
JTECH. If Expedited shipping is needed, the Customer pays the additional
costs. Costs for shipping equipment from the Customer to JTECH are the
responsibility of the Customer. JTECH recommends using a shipping service
that is traceable in case shipping delays occur.
Service RS232 Programming

Related product manuals