Translation Equation Entry; Direction Of Translation; Entering Match And Substitution Strings - Black Box CMA005A Manual

User programmable cap
Hide thumbs Also See for CMA005A:
Table of Contents

Advertisement

USER PROGRAMMABLE CAP
• List All — Here's a sample of what appears on
your screen when you select this option:
TRANSLATION KEY:
TRANSLATIONS IN PORT A TO PORT B DIRECTION
(PRESS ANY KEY TO SCROLL, PRESS RETURN TO
RETURN TO MENU)
#: TRANSLATION:
001
M-CATALOG
S - DIR
002
M - LISTFILE
S - TYPE
• Clear All — This option lets you delete all
equations from memory. The unit asks you "Do
you really want to do this? Y/N." Entering Y
deletes all equations. Entering N or any other
key returns you to the Main Menu.
• Upload Translation Table — This option causes
the unit to upload its internal translation table
for storage on a PC.
• Download Translation Table — This option lets
the User Programmable CAP be programmed
by downloading a translation table stored on a
PC. It overwrites any existing translation
equations currently stored in the unit.
• Set Partial String Timeout — This option allows
the User Programmable CAP to pass a partially
matched string through the unit if the
remainder of the string was not received within
the time period set by the user. This timeout can
be set in the range of 1 second to 5 minutes or
disabled.
• Set Special Flow Control Modes — This option
allows you to set the function of the RTS
andDTR control leads on Port A and Port B.
There are three optons available for each of the
leads: normal operation, always high, and always
low.
DTR Normal Operation — If this option is
selected, DTR is on after reset. DTR will remain
on unless the User Programmable CAP buffer
fills, then DTR will turn off drop until there is
more room in the buffer, then it will turn on
again.
16
M - Match String
S - Substitute String
F - Function Code
DTR Always High — This option turns DTR on
after reset and it will remain on unless it is
changed by a function code.
DTR Always Low — This option turns DTR off
after reset and it will remian off unless it is
changed by a function code.
RTS Normal Operation — If this option is
selected, RTS is off after reset. RTS will remain
off until the User Programmable CAP has data
to send out a port. At this point, the User
Programmable CAP will raise RTS of that port,
send the data out, and when it has no more data
to send, it will drop RTS.
RTS Always High — This option turn RTS on
after reset and it will remain on unless it is
changed by a function code.
RTS Always Low — This option turns RTS off
after reset and it will remain off unless it is
changed by a function code.

4.3 Translation Equation Entry

Each translation equation has certain parameters
associated with it. To create a translation equation,
you must do the following:
• Define the direction of the translation.
• Define a match string.
• Define a substitution string.
• Define an optional function code.
4.3.1 D
T
IRECTION OF
RANSLATION
The Direction of Translation involves the User
Programmable CAP asking you if the translation is
in the Port A to Port B direction or in the Port B to
Port A direction.
4.3.2 E
M
NTERING
ATCH AND
The match string and the substitution string can
each be up to 255 characters long. To enter a match
or substitution string, type 1 to 255 characters and
hit Return (or Enter). You can enter control
characters by typing a backslash ( \ ) followed by the
two hexadecimal digits that represent the desired
character. If you want to enter an actual backslash,
type two backslashes for each one you need. To
enter a carriage return, type \0D.
S
S
UBSTITUTION
TRINGS

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cma005c

Table of Contents