The DMC-18x2 provides a special feature for automatic capture of data such as position, position error, inputs or torque. This is useful for teaching motion trajectories or observing system performance. Up to four types of data can be captured and stored in four arrays. The capture rate or time interval may be specified. Recording can done as a one time event or as a circular continuous recording.
The above example records 10 position values at a rate of one value per 10 msec. The values are stored in an array named POS. The variable, COUNT, is used to increment the array element counter. The above example can also be executed with the automatic data capture feature described below.
Command Summary - Automatic Data Capture
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 2n 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.
Input of Data
The command, IN, is used to prompt the user to input numeric or string data. Using the IN command, the user may specify a message prompt by placing a message in quotations. When the controller executes an IN command, the controller will wait for the input of data. The input data is assigned to the specified variable or array element. An Example for Inputting Numeric Data #A IN "Enter Length",LENX EN In this example, the message “Enter Length” is displayed on the computer screen. The controller waits for the operator to enter a value. The operator enters the numeric value which is assigned to the variable, LENX.
Common problem
We have this product in stock, and we can deliver it to you at any time when you need it badly.
*The warranty period of all products is 1 year, which has passed the professional test certification.
*If you need to order more than one product, please contact us, and we can offer you a discount.
*We only use HDL UPS and other express delivery methods to deliver spare parts.
*If you find that other suppliers offer lower prices for the same products, we are also willing to offer you further discounts based on their prices.
If you have any other questions, please feel free to contact us via email.
*Please let us know if you need any spare parts, we can give you further assistance, and we are waiting for your inquiry.