622
APPENDICES APPENDIX
Appendix 2 How to Find Buffer Memory Addresses
Ex.
When the buffer memory address that satisfies the following conditions is determined
• Axis 3
• Start block No.2
• Block start data point: 40
22000 + (400
(3 - 1)) + (200
2) + (40 - 1) = 23239
■
[Da.13] Special start instruction, [Da.14] Parameter
Use the following calculation formula.
• 22050 + (400
(Ax - 1)) + (200
M) + (P - 1)
For each variable, substitute a number following the description below.
Ex.
When the buffer memory address that satisfies the following conditions is determined
• Axis 2
• Start block No.1
• Block start data point: 25
22050 + (400
(2 - 1)) + (200
1) + (25 - 1) = 22674
Condition data
Condition data consists of five start blocks from Start block 0 to 4, and the condition data No.1 to 10 are assigned to each
block. The start blocks are assigned to each axis. Condition data has the following structure.
When setting block start data using a program, determine buffer memory addresses using the following calculation formula
and set the addresses.
• 22100 + (400
(Ax - 1)) + (200
M) + (10
(Q - 1)) + R
Variable
Description
Ax
The axis number of the buffer memory address to be determined. Substitute a number from 1 to 16.
M
The start block No. of the buffer memory address to be determined. Substitute a number from 0 to 4.
P
The block start data point of the buffer memory address to be determined. Substitute a number from 1 to 50.
No.10
Setting item
22190+400n
22198+400n
22199+400n
22192+400n
22193+400n
22194+400n
22195+400n
22196+400n
22197+400n
Condition data No.
No.2
Setting item
22110+400n
22118+400n
22119+400n
22112+400n
22113+400n
22114+400n
22115+400n
22116+400n
22117+400n
No.1
Setting item
22100+400n
22108+400n
22109+400n
22102+400n
22103+400n
[Da.17] Address
22104+400n
22105+400n
22106+400n
22107+400n
[Da.18] Parameter 1
[Da.19] Parameter 2
b0
b8
b15
b4
b12
b0
b8
b15
b4
b12
b16
b24
b31
b20
b28
Start block 0
Simultaneously
starting axis No.2
Simultaneously
starting axis No.1
[Da.24]
n: Axis No. - 1
Buffer memory
address
Buffer memory
address
Buffer memory
address
[Da.16] Condition
operator
[Da.15] Condition
target
[Da.25]
[Da.23] Number of
simultaneously
starting axes
[Da.26] Simultaneously
starting axis
No.3
Up to 10 condition data points can be set
(stored) for each block No. in the buffer memory
addresses shown on the left.
Items in a single unit of condition data are
shown included in a bold frame.
Each axis has five start blocks (block Nos.
0 to 4).
Start block 2 to 4 are not allocated to
buffer memory.
Set with the engineering tool.
Summary of Contents for RD77MS16
Page 1: ...MELSEC iQ R Simple Motion Module User s Manual Application RD77MS2 RD77MS4 RD77MS8 RD77MS16 ...
Page 2: ......
Page 316: ...314 9 COMMON FUNCTIONS 9 4 External Input Signal Select Function Program example ...
Page 317: ...9 COMMON FUNCTIONS 9 4 External Input Signal Select Function 315 9 ...
Page 575: ...13 PROGRAMMING 13 4 Positioning Program Examples 573 13 Error reset program Axis stop program ...
Page 643: ......