Ra (record array), General – Yaskawa SMC–4000 User Manual

Page 200

Advertising
background image

190

SMC–4000 User Manual

RA (Record Array)

[General]

DESCRIPTION:

The RA command selects up to eight arrays for automatic data capture. The selected arrays must have been
dimensioned by the DM command. The data to be captured is specified by the RD command and time
interval by the RC command.

ARGUMENTS: RA n [ ],m [ ],o [ ],p [ ]. q[ ], r[ ], s[ ], t[ ]

where

n,m,o,p,q,r,s,t are dimensioned arrays as defined by DM command. The [ ] contain nothing.

USAGE:

RELATED COMMANDS:

DM (Dimension Array)

RD (Record Data)

RC (Record)

EXAMPLES:

HINT:

The record array mode is useful for recording the real-time motor position during motion. The data is
automatically captured in the background and does not interrupt the program sequencer. The record mode can
also be used for a teach or learn of a motion path.

While Moving

Yes

Default Value

---

In a Program

Yes

Default Format

---

Command Line

Yes

Can be Interrogated

No

Used as an Operand

No

#Record

Label

DM POS[100], ERR[100]

Define array

RA POS[], ERR[ ]

Specify Record Mode

RD _TPX

Specify data type for record

RC 1

Begin recording at 2 msec intervals

PR 1000;BG

Start motion

EN

End

Advertising