QUICKDESIGNER
ASCII Protocol
••••
251
Internal Tags
The ASCII protocol requires using internal tag variables. You must create a contiguous block of
internal tag variables using the name DMxxxx, where xxxx is a four digit count from 0001 to 9999.
These tag variables are assigned to the various operators used on the panels. For example, a pilot light
tag variable name might be DM0002. You cannot use dm0002 or DM002.
Tag Name
ID Number
DM0001
0001
DM0050
0050
DM0200
0200
DM0555
0555
Single Drop Limits
You must use DM0001 to DM9999 internal addresses.
The combined total of the internal addresses can not take up more than 10,000 words. To find the
approximate internal address space used, use the following procedure.
Add all the interger and float tags and multiply by 2. This value is Sum A.
Add the lengths of all string tags and divide by 2. This is Sum B.
Add Sum A and Sum B. Total cannot be greater than 10,000 words.
Strings are 0 to 127 characters in length.
QP1 Interger Range: -9,999,992 to 9,999,992
QP1 Floating Point Range: -9999999.999999 to 9999999.999999
QP2 Interger Range: -999,999,999 to 999,999,999
QP2 Floating Point Range: -9999999.999999 to 9999999.999999
No command can be longer than 1000 characters.
The Read command can read only one string at a time. The Write command can only write one string at
a time.
Triggering a Panel
A panel is made up of multiple operators, such as pilot lights and push buttons. Each panel is identified
by an ID number when it is saved. The panel ID number is used to trigger and untrigger selected
panels. When a panel is triggered it becomes the active screen.
The format for the command to trigger a panel is:
(^T) (Panel ID number) (^M)
(^T) is the combination of the CTRL key and the T key pressed together. This key combination
produces a code equivalent to 14 hex or 20 decimal. (Panel ID number) is the ID number of the panel
to be triggered. ^M is a CARRIAGE RETURN which indicates the end of the ASCII string. A
CARRIAGE RETURN code is equivalent to 0D hex or 13 decimal.
Example: ^T1^M (trigger panel with the ID of 1)
The following example is a BASIC statement that will send an ASCII string to trigger panel 8.
PRINT#1,CHR$(20);8;CHR$(13)