Melsec-q, 12 control sub functions example 2, Example 3 – MITSUBISHI ELECTRIC Mitsubishi Programmable Logic Controller QD75D User Manual
Page 532
12 - 56
MELSEC-Q
12 CONTROL SUB FUNCTIONS
Example 2.
(1) Using Expression 1, calculate the positioning address which can be specified
in the system where the OP address in Example 1 is 214740000.0 (
µ
m).
•
Lower limit value of positioning address
(Positioning address) =0.1 (-268435456) + 214740000.0
=187896454.4 (
µ
m)
•
Upper limit value of positioning address
(Positioning address) =0.1 268435456 + 214740000.0
=241583545.5 (
µ
m)
(2) Since the lower limit value of the positioning address calculated is within the
range of Condition 2, the calculated address 187896454.4 (
µ
m) is the lower
limit for positioning in the absolute position detection system.
Since the upper limit of the positioning address calculated is outside of the
range of Condition 2, the upper limit value 214748364.7 (
µ
m) is the upper
limit for positioning in the absolute position detection system.
In the absolute position detection system, use the positioning address within
the range 187896454.4 (
µ
m) to 214748364.7 (
µ
m).
Positioning in excess of 187896454.4 (
µ
m) cannot be used in the absolute
position detection system.
Unit:
µ
m
(OP)
-214748364.8
214748364.7
Setting disallowed
Usable range in absolute
position detection system
Unusable range in absolute
position detection system
Positioning address specifying range
241583545.5
214740000.0
187896454.4
Example 3.
(1) There are the following conditions to calculate the positioning address:
•
Movement amount per pulse: 0.9 (
µ
m)
•
OP address: 0.0 (
µ
m)
•
Feedback pulses = 8192 (pulse)
(2) Calculate the positioning address from the output pulse count using range in
Condition 1 and the positioning address calculation expression (Expression
1).
•
Lower limit value of positioning address (the number of negative pulses in
Condition 1 is used for calculation)
(Positioning address) = (Movement amount per pulse)
(number of output pulses) + (OP address)
= 0.9 (-268435456) + 0.0
= -241591910.4 (
µ
m)
•
Upper limit value of positioning address (the number of positive pulses in
Condition 1 is used for calculation)
(Positioning address) = (Movement amount per pulse)
(number of output pulses) + (OP address)
= 0.9 268435455 + 0.0
= 241591909.5 (
µ
m)