![Galil Motion Control RIO-47 series
RIO-47100 Скачать руководство пользователя страница 74](http://html1.mh-extra.com/html/galil-motion-control/rio-47-series-rio-47100/rio-47-series-rio-47100_user-manual_558776074.webp)
Command Summary - Automatic Data Capture
Command
Description
RA n[],m[],o[],p[]
Selects up to four arrays for data capture. The arrays must be defined
with the DM command.
RD
type1,type2,type3,type4
Selects the type of data to be recorded, where type1, type2, type3, and
type 4 represent the various types of data (see table below). The order of
data type is important and corresponds with the order of n,m,o,p arrays in
the RA command.
RC n,m
The RC command begins data collection. Sets data capture time interval
where n is an integer between 1 and 8 and designates 2
n
msec between
data. m is optional and specifies the number of elements to be captured.
If m is not defined, the number of elements defaults to the smallest array
defined by DM. When m is a negative number, the recording is done
continuously in a circular manner. _RD is the recording pointer and
indicates the address of the next array element. n=0 stops recording.
RC?
Returns a 0 or 1 where, 0 denotes not recording, 1 specifies recording in
progress
Data Types for Recording:
Data type
Description
_TIn
Inputs at bank n (0 or 1)
_OPn
Output bank n status (0 or 1)
_AFn
Analog input status (0-7)
_AOn
Analog output status (0-7)
Operand Summary - Automatic Data Capture
_RC
Returns a 0 or 1 where, 0 denotes not recording, 1 specifies recording
in progress
_RD
Returns address of next array element.
Deallocating Array Space
Array space may be deallocated using the DA command followed by the array name. DA*[0]
deallocates all the arrays.
Output of Data (Numeric and String)
Numerical and string data can be output from the RIO board using several methods. The message
command, MG, can output string and numerical data. Also, the RIO can be commanded to return the
values of variables and arrays, as well as other information using the interrogation commands, such
as V1=? and TZ.
Sending Messages
Messages may be sent using the message command, MG. This command sends specified text and
numerical or string data from variables or arrays to the screen.
Text strings are specified in quotes and variable or array data is designated by the name of the
variable or array. For example:
Chapter 5 Programming ▫ 74 RIO-47xxx Rev. 1.0r