Mitsubishi Electronics MELSEC-F Home Theater Server User Manual


 
C-18
4 Programming
4.3 Switching of Input Mode
FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Analog Control Edition
FX3U-4AD-ADP (4-channel analog Input)
•FX3G 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 4AD-ADP between the current input mode
and the voltage input mode.
To switch the input mode, use the following special auxiliary relays:
•FX
3U, FX3UC Series PLC
•FX
3G Series PLC
1. Program Example (For FX3U, FX3UC 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 input mode of channel 3 R/W
M8283 M8293 Switches the input mode of channel 4 R/W
M8284 to
M8289
M8294 to
M8299
Unused (Do not use.) - -
Special data register
D8280 D8290 Channel-1 input data R
Section 4.4
D8281 D8291 Channel-2 input data R
D8282 D8292 Channel-3 input data R
D8283 D8293 Channel-4 input data R
D8284 D8294
Averaging time for channel-1 (Setting
range: 1 to 4095)
R/W
Section 4.5
D8285 D8295
Averaging time for channel-2 (Setting
range: 1 to 4095)
R/W
D8286 D8296
Averaging time for channel-3 (Setting
range: 1 to 4095)
R/W
D8287 D8297
Averaging time for channel-4 (Setting
range: 1 to 4095)
R/W
D8288 D8298 Error status R/W Section 4.6
D8289 D8299 Model code = 1 R Section 4.7
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
M8262 M8272 M8282 M8292 Switches the input mode of channel 3
M8263 M8273 M8283 M8293 Switches the input mode of channel 4
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
M8282 M8292 Switches the input mode of channel 3
M8283 M8293 Switches the input mode of channel 4
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