Mitsubishi Electric MELSEC iQ-R Series User Manual page 659

Programmable
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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.
No.1
b15
b12
[Da.16] Condition
operator
[Da.17] Address
[Da.18] Parameter 1
[Da.19] Parameter 2
b15
b12
[Da.25]
Simultaneous
starting axis No.2
b31
b28
[Da.23] Number of
simultaneous
starting axes
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
For each variable, substitute a number following the description below.
Variable
Ax
M
Q
R
Ex.
When the buffer memory address that satisfies the following conditions is determined
• Axis 4
• Start block No.3
• Condition data No.5
• [Da.19] Parameter 2 (lower 16 bits)
22100 + (400  (4 - 1)) + (200  3) + (10  (5 - 1)) + 6 = 23946
Downloaded from
ManualsNet.com
No.10
Setting item
No.2
Setting item
Buffer memory
Setting item
address
b8
b4
b0
22100+400n
[Da.15] Condition
target
22102+400n
22103+400n
22104+400n
22105+400n
22106+400n
22107+400n
b8
b4
b0
[Da.24]
Simultaneous
starting axis No.1
22108+400n
b24
b20
b16
22109+400n
[Da.26] Simultaneous
starting axis
No.3
n: Axis No. - 1
Description
The axis No. of the buffer memory address to be determined. Substitute a number from 1 to 32.
The start block No. of the buffer memory address to be determined. Substitute a number from 0 to 4.
The condition data No. of the buffer memory address to be determined. Substitute a number from 1 to 10.
Substitute one of the following numbers according to the buffer memory address to be determined.
• [Da.15] Condition target: 0
• [Da.16] Condition operator: 0
• [Da.17] Address (lower 16 bits): 2
• [Da.17] Address (upper 16 bits): 3
• [Da.18] Parameter 1 (lower 16 bits): 4
• [Da.18] Parameter 1 (upper 16 bits): 5
• [Da.19] Parameter 2 (lower 16 bits): 6
• [Da.19] Parameter 2 (upper 16 bits): 7
• [Da.23] to [Da.26] Simultaneous starting axis (lower 16 bits): 8
• [Da.23] to [Da.26] Simultaneous starting axis (upper 16 bits): 9
search engine
Buffer memory
address
Buffer memory
22190+400n
address
22192+400n
22110+400n
22193+400n
22194+400n
22195+400n
22112+400n
22196+400n
22113+400n
22197+400n
22114+400n
22115+400n
22116+400n
22117+400n
22198+400n
22199+400n
22118+400n
22119+400n
Appendix 2 How to Determine Buffer Memory Addresses
●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).
A
APPX
657

Advertisement

Table of Contents
loading

Table of Contents