![background image](http://html1.mh-extra.com/html/racal-instruments/1260-14c/1260-14c_manual_3123631034.webp)
User Manual 1260-14C
Module Specific Syntax 3-11
Example 3:
Assume that ports 7-11 are defined as asynchronous and are tri-
stated, port 7 is sensing a binary 10001010, port 8 is sensing a
01111101, and the user sends the following command:
READ 1.7-8,X7,X3,X1,X0
The user would read back:
001. 1260-14C DIGITAL INPUT/OUTPUT MODULE<CR>
<LF>
001. 07: 1110<CR><LF>
001. 08: 0101<CR><LF>
001.END<CR><LF>
A "Z" causes a byte-wide (8 bit) read of the port, but instead of
using the PDATAOUT format for returning the data, it uses a
shorter single line output to reduce the amount of time needed to
transfer the read data. It is identical to the standard byte width
read with the exception that binary formatting is not available, and
the output contains no header line, END line, module address or
port numbers. All the output line contains is the port data
separated by commas. Data is returned in least significant port to
most significant port order. This type of read is only available on
firmware revisions 18.1 or later.
Example 4:
Assume that ports 5-11 are defined as asynchronous and are tri-
stated, port 5 is sensing a hex 7f, port 6 is sensing a hex 01, port 7
is sensing a hex c3 and the user sends the following command:
READ 1.5-7,Z,H
The user would read back:
7F,01,C3<CR><LF>
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com