5 rc_read_00 – IAI America RCM-GW-PR User Manual

Page 117

Advertising
background image



111

PfofiBus Gateway

8.5 RC_READ_00















Explanation; The data specified by POS and DATA_ID is read from the specified axis at the leading

edge of REQ. The input parameter POS is effective only when the data type ID is one
that relates to the POS table.

Parameters;

I/O

Parameter

name

Data type Explanation

Input REQ

BOOL Issue an execution request upon FALSE

→ TRUE.

POS

INT

Position number value. Settable values vary
depending on the axis.

DATA_ID

INT

Data type ID; 0

Target position (unit: 0.01 mm)

1

In-position band (unit: 0.01 mm)

2

Speed (unit: 0.01 mm/s)

3

Each zone+ (unit: 0.01 mm)

4

Each zone- (unit: 0.01 mm)

5

Acceleration (unit: 0.01 G)

6

Deceleration (unit: 0.01 G)

7

Push rate (FFH = 100%)

8

Threshold % (FFH = 100%)

128 Current

Position

129 Alarm

code

LADDR

WORD

Gateway head I/O address

AXIS

BYTE

Axis number (0 to 15)

Output DONE

BOOL

One pulse is output upon completion of command
issuance.

BUSY

BOOL

The command is being issued.

RESULT WORD Command

issuance
result code;

0000H Successful
0102H Invalid

POS

number

0103H Invalid

command

0201H Communication

failed

0202H Exceptional

response

1000H

Invalid axis number or data ID

DATE DWORD

Read

data

* This function block uses the SFC14/15. Consistency setting is required for data corresponding to the

first five words in the command area.

Read request

Position number

Data type ID

Gateway head address

Axis number

Complete pulse

Executing

Result code

Read data

Advertising