Mitsubishi FX2N-10GM Hardware / Programming Manual page 171

Melsec-f
Hide thumbs Also See for FX2N-10GM:
Table of Contents

Advertisement

FX Series Positioning Controllers
Reading a positive/negative numeric (Not available in the FX
When K17 to K24 are used to specify the number of digits, negative numeric values can also
be read.
M 0
FNC 72
EXT
1) Head input No. (Occupies 5 input points.)
The connections in this example are as follows.
X00: Positive/negative specification input.
When the X00 is ON:Negative value.
When the X00 is OFF:Positive value
X01: Terminal 1 of DSW
X02: Terminal 2 of DSW
X03: Terminal 4 of DSW
X04: Terminal 8 of DSW
2) Head output No. for time-sharing operation (Occupies
4 output points.)
Same as the description on the previous page.
3) Data storage destination
Same as the description on the previous page.
4) Number of digits
K17 (H11) to K24 (H18) are used in accordance with the number of digits from 1 to 8 (16 is
added to the number of digits to determine the "K" value.).
A 32-bit instruction must be used when the number of digits is 5 to 8.
List of specification of number of digits
The I/Os shown in the table below are required for the EXT instruction in accordance with the
number of digits to be read.
Table 5.18: List of specification of number of digits
Number of
digits to
Number of
be read
1
2
3
4
5
6
7
8
To read DSW settings, the digit-switching time (Initial value: 20 msec) set to PARA. 33 is required.
When a DSW is connected to the positioning unit, PARA. 33 can be set to approximately 7 msec.
If programmable controller outputs are used instead of a DSW take the digit-switching time of the
programmable controller into consideration and set a sufficient length of time.
D1·
X00
Y00
(1)
(2)
Reading a positive value.
Number of
inputs
outputs
1
2
3
4
4
5
6
7
8
D2·
n
This instruction performs time-sharing
D 0
K20
reading of the data from the digital switches.
(3)
(4)
Reading a negative value.
"n" set
Number of
value
inputs
K1
K2
K3
K4
5
K5
K6
K7
K8
Program format 5
-10GM.)
2N
Number of
"n" set
outputs
value
1
K17
2
K18
3
K19
4
K20
5
K21
6
K22
7
K23
8
K24
5-61
Number of
data regis-
ters occu-
pied
1
2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx2n-20gm

Table of Contents