Rc (record), General – Yaskawa SMC–4000 User Manual
Page 201
191
SMC–4000 User Manual
RC (Record)
[General]
DESCRIPTION:
The RC command begins recording for the
Mode. RC 0 stops recording.
ARGUMENTS: RC n,m
where
n is an integer 1 thru 8 and specifies 2
n
samples between records. RC 0 stops recording.
m is optional and specifies the number of records to be recorded. If m is not specified, the
number will be used. A negative number for m causes circular recording over array addresses 0 to
m-1. The address for the array element for the next recording can be interrogated with _
.
USAGE:
OPERAND USAGE:
_RC contains status of recording '1' if recording, '0' if not recording.
RELATED COMMANDS:
EXAMPLES:
While Moving
Yes
Minimum n Value
0
In a Program
Yes
Maximum n Value
8
Command Line
Yes
Default n Value
---
Can be Interrogated
Yes
Minimum m Value
-1
Used as an Operand
Yes
Maximum m Value
8000
Default m Value
---
Default Format
---
#RECORD
Record
DM Torque[1000]
Define Array
RA Torque[]
Specify Record Mode
RD _TT
Specify Data Type
RC 2
Begin recording, set 4 servo samples between
records
JG 1000;BG
Begin motion
#A;JP #A,_RC=1
Loop until done
MG "DONE RECORDING"
Print message
EN
End program