beautypg.com

6 rc_write_00 – IAI America RCM-GW-PR User Manual

Page 118

background image



112

PfofiBus Gateway

8.6 RC_WRITE_00

















Explanation; The data specified by POS and DATA_ID is written to the specified axis at the leading

edge of REQ.

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

1 In-position

band

2 Speed
3

Each zone+ (DATA: unit: 0.01 mm)

4

Each zone- (DATA: unit: 0.01 mm)

5

Acceleration (DATA: unit: 0.01 G)

6

Deceleration (DATA: unit: 0.01 G)

7

Push rate (DATA: FFH = 100%)

8

Threshold % (DATA: FFH = 100%)

DATA DWORD

Write

data

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

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

first five words in the command area.

Write request

Position number

Data type ID

Write data

Gateway head address

Axis number

Complete pulse

Executing

Result code