beautypg.com

Qr (data record), General, Data record map – Yaskawa SMC–4000 User Manual

Page 192

background image

182

SMC–4000 User Manual

QR (Data Record)

[General]

DESCRIPTION:

The QR command causes the controller to return a record of information regarding controller status. This
status information includes 4 bytes of header information and specific blocks of information as specified by
the command arguments. The details of the status information is described in Chapter 3 of this user's
manual.

This command, along with the

QZ (Return Data Record Information)

command can be very useful for

accessing complete controller status. The QR command will return 4 bytes of header information and
specific blocks of information as specified by the command arguments: QR ABCDSTI

ARGUMENTS: QR nnnn

where

n is A,B,C,D,S,T, or I or any combination to specify the axis, axes, sequence, or I/O status

S and T represent the S and T coordinated motion planes

I represents the status of the I/O

USAGE:

RELATED COMMANDS:

QZ (Return Data Record Information)

HINT: The reults of the QR command are in binary format.

Each argument corresponds to a block of information according to the Data Record Map below. If no
argument is given, the entire data record map will be returned. Note that the data record size will depend on
the number of axes.

Data Record Map

This command, along with the QZ command can be very useful for accessing complete controller status.

The QR command will return 4 bytes of header information and specific blocks of information as specified
by the command arguments: QR ABCDEFGHST

Each argument corresponds to a block of information according to the Data Record Map below. If no
argument is given, the entire data record map will be returned. Note that the data record size will depend on
the number of axes.

While Moving

Yes

Default Value

---

In a Program

Yes

Default Format

---

Command Line

Yes

Controller Usage

No

DATA TYPE

ITEM

BLOCK

UB

1

st

byte of header

Header

UB

2

nd

byte of header

Header

UB

3

rd

byte of header

Header

UB

4

rth

byte of header

Header

UW

sample number

I

block

UW

general input 0

I

block