EasyManua.ls Logo

IOtech Digital488OEM - Execute X; Format Fn; F0 Format- ASCII Hexadecimal

Default Icon
64 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...
Digital488 User’s Manual 7-17-01 Command Descriptions, 3-5
Execute X
Commands sent to the Digital488 will result in no action until the unit is instructed to execute these
commands. This is done by sending an X, usually as the last character of a command string.
Commands sent without an X are stored in the internal buffer until an X is received. Any number
of Execute commands may be inserted into the same command string. Certain commands, such as Bit Set
require an X after each command in a string if more than one of that command is within the same string.
Example:
CLEAR 718
reset the Digital488
OUTPUT 718;"F2"
send "F2" to the Digital488 command
input buffer
OUTPUT 718;"X"
instruct the Digital488 to execute its
command input buffer
OUTPUT 718;"A1XA2X"
Two Bit Set (A) commands are within
the same string, requiring an X after
each command.
Format Fn
The Format command determines the method by which input and output data will be described.
Six data formats are available.
F0
ASCII Hexadecimal (4 bits per character)
F1
ASCII Character (4 bits per character )
F2
ASCII Binary (1 bit per character)
F3
ASCII Decimal (8 bits per number)
F4
Binary (each byte represents 8 bits)
F5
High Speed Binary (each byte represents 8 bits)
F0 Format- ASCII Hexadecimal
In the default F0 format, the data is described in ASCII hexadecimal, with each character having a value
from 0 thru 9 or A thru F. Each ASCII character describes 4 bits of data.
F0 Character Decimal Equiv F0 Character Decimal Equiv
0 0 8 8
1 1 9 9
2 2 A 10
3 3 B 11
4 4 C 12
5 5 D 13
6 6 E 14
7 7 F 15
Data received for output to the digital ports must be contained within a prefix (D) and a suffix (Z).
If the amount of data sent is less than the number of bits programmed as outputs, the least-significant bits
will contain the data sent and the most-significant bits will be cleared to logic zero. If the data sent
is greater than the number of bits programmed for output or selected by the Pn command, the Digital488
will generate a conflict error and ignore the entire command string. The Data Strobe output is pulse for
approximately 50 microseconds after new data is output on the selected port(s).

Table of Contents