6) actual assignment example – IAI America RCM-GW-PR User Manual

Page 111

Advertising
background image



105

PfofiBus Gateway

(6) Actual assignment example

If the mode setting switch SW1 on the gateway unit is turned OFF (direct numerical specification
mode, 4 axes) for all axes, performing the I/O assignment explained in the preceding section would
result in the actual addresses looking like those specified below.














































The S7-300 PLC guarantees consistency of I/O image and data at the data width (byte, word or
double words) defined in the program. If data consistency must be guaranteed throughout the I/O
areas, one way is to copy/write the I/O areas to the memory area (M area) using system function
blocks SFC14 and SFC15, and then specify the M area in the program.
For details on this method, refer to the applicable document published by HMS:
http://www.anybus.com/eng/upload/AnyBus-S-0012-Siemens%20Step7%20and%20AnyBus-S.pdf

PLC output

Gateway control word 0

Gateway control word 1

Axis (0) target position

Axis (0) push rate

Axis (0) speed

Axis (0) acceleration/deceleration

Axis (0) in-position band

Axis (0) control signal

Axis (1) target position

Axis (1) push rate

Axis (1) speed

Axis (1) acceleration/deceleration

Axis (1) in-position band

Axis (1) control signal

Axis (2) target position

Axis (2) push rate

Axis (2) speed

Axis (2) acceleration/deceleration

Axis (2) in-position band

Axis (2) control signal

Axis (3) target position

Axis (3) push rate

Axis (3) speed

Axis (3) acceleration/deceleration

Axis (3) in-position band

Axis (3) control signal

PLC input

Gateway status word 0

Gateway status word 1

Axis (0) status signal

Axis (0) current position

Cannot be used.

Cannot be used.

Axis (1) status signal

Axis (1) current position

Cannot be used.

Cannot be used.

Axis (2) status signal

Axis (2) current position

Cannot be used.

Cannot be used.

Axis (3) status signal

Axis (3) current position

Cannot be used.

Cannot be used.

Based on the above, the control signals, status signals, direct specification data and current
position of axis (3) will be addressed as shown in the table below.

Output signal/data

Address Data

length

Address Data

length

Input signal/data name

Target position

Push rate

Speed

Acceleration/deceleration

In-position band

3 bytes

1 byte

3 bytes

1 byte

3 bytes

1 bit

1 bit

1 bit

1 bit

1 bit

1 bit

1 bit

1 bit

1 bit

1 bit

1 bit

1 bit
1 bit
1 bit

1 bit

1 bit

3 bytes

Current position

Advertising