2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 348

Advertising
background image

5.10 System Function Instructions

5.10.12 Read Motion Register (MOTREG-R)

5-279

Instructions

5

( 2 ) Format

∗ C and # registers cannot be used. These parameters may be omitted.

The parameters are described in the following table.

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Axis information (Axis-Inf)

×

{

×

×

×

×

×

Register address (Reg-No)

×

{

×

×

×

×

×

Mode

×

{

×

×

×

×

×

Write data (WR-Data)

×

{

{

×

×

×

×

Error

{

*

×

×

×

×

×

×

Read data (RD-Data)

×

{

*

{

*

×

×

×

×

Parameter Name

Description

I/O

Axis information (Axis-Inf)

Circuit number and axis number
Upper byte: Circuit number (01 to 10 hex)
Lower byte: Axis number (01 to 10 hex)

IN

Register address (Reg-No)

Integer register: 0000 to 007F hex
Double-length integer register: 0000 to 007E hex

IN

Mode

Register type and access size
Upper byte: Register type

0: I register (monitor parameter)
1: O register (setting parameter)
Others: I register

Lower byte: Access size

0: Integer data
1: Double-length integer data
Others: Integer data

IN

Error

Error cause (Turns ON when an error occurs.)
The register cannot be written to or read from because the circuit number, axis
number, or register address is outside of the valid range, or because the Module
does not exist.
When an error occurs, RD-Data is set to 0.

OUT

Read data (RD-Data)

If integer data is specified, the data is output with the sign.

OUT

Icon:

Key entry: MOTREG-R

Advertising
This manual is related to the following products: