Справочник Пользователя для Mitsubishi Electronics MELSEC-F

Скачать
Страница из 504
H-18
4 Programming
4.3 Switching of Input Mode
FX
3G
/FX
3U
/FX
3UC
 PLC User's Manual - Analog Control Edition
FX
3U
-3A-ADP (2-channel analog Input, 1-channel analog output)
• FX
3G
 Series PLC
R: Read / W: Write
4.3
Switching of Input Mode
Turn the special auxiliary relay on/off to switch the input mode of 3A-ADP between the current input mode
and the voltage input mode.
To switch the input mode, use the following special auxiliary relays:
• FX
3U
, FX
3UC
 Series PLC
• FX
3G
 Series PLC
1. Program Example (For FX
3U
, FX
3UC
 Series PLC)
To switch the channel input mode, create a sequence program as follows:
Special device
Device number
Description
Attribute
Reference
1st
2nd
Special auxiliary 
relay
M8280
M8290
Switches the input mode of channel 1
R/W
Section 4.3
M8281
M8291
Switches the input mode of channel 2
R/W
M8282
M8292
Switches the output mode.
R/W
Section 4.4
M8283
M8293
Unused (Do not use.)
-
-
M8284
M8294
M8285
M8295
M8286
M8296
Sets the cancel of output holding function.
R/W
Section 4.5
M8287
M8297
Sets whether or not the input channel 1 is used.
R/W
Section 4.6
M8288
M8298
Sets whether or not the input channel 2 is used.
R/W
M8289
M8299
Sets whether or not the output channel is used.
R/W
Special data 
register
D8280
D8290
Channel-1 input data
R
Section 4.7
D8281
D8291
Channel-2 input data
R
D8282
D8292
Output setting data
R/W
Section 4.8
D8283
D8293
Unused (Do not use.)
-
-
D8284
D8294
Averaging time for channel-1 (Setting range: 1 
to 4095)
R/W
Section 4.9
D8285
D8295
Averaging time for channel-2 (Setting range: 1 
to 4095)
R/W
D8286
D8296
Unused (Do not use.)
-
-
D8287
D8297
D8288
D8298
Error status
R/W
Section 4.10
D8289
D8299
Model code = 50
R
Section 4.11
Special auxiliary relay
Description
1st
2nd
3rd
4th
M8260
M8270
M8280
M8290
Switches the input mode of channel 1
OFF:Voltage input
ON  :Current input
M8261
M8271
M8281
M8291
Switches the input mode of channel 2
Special auxiliary relay
Description
1st
2nd
M8280
M8290
Switches the input mode of channel 1
OFF:Voltage input
ON  :Current input
M8281
M8291
Switches the input mode of channel 2
1) To switch the input mode of channel
    1 of the 1st analog special adapter to 
    the voltage input mode:
M8001
M8260
Normally OFF
2) To switch the input mode of channel 2
     of the 1st analog special adapter to the
     current input mode:
M8000
M8261
Normally ON