资料介绍:
s
O
following items:
O = 0:Sets the voltage output mode (-10 V to 10 V).
O = 1:Sets the current output mode (4 mA to 20 mA).
O = 2:Sets the current output mode (0 mA to 20 mA).
Switching the output mode resets the I/O characteristics to the factory-default
characteristics. Refer to the performance specifications described in section 5.
Example: H2110CH1: Voltage output (-10 V to 10 V)
CH2 and CH3: Current output (4 mA to 20 mA)
CH4: Current output (0 mA to 20 mA)
[BFM #1, #2, #3 and #4] Output data channels CH1, CH2, CH3, and CH4
BFM #1: Output data of CH1 (Initial value: 0)
BFM #2: Output data of CH2 (Initial value: 0)
BFM #3: Output data of CH3 (Initial value: 0)
BFM #4: Output data of CH4 (Initial value: 0)
[BFM #5] Data holding mode
While the programmable controller is in the STOP mode, the last output value in
the RUN mode will be held. To reset the value to the offset value, write the
hexadecimal value in BFM #5 as follows:
O = 0: Holds the output.
O = 1: Resets to the offset value.
Example: H0011 CH1 and CH2 = Offset value CH3 and CH4 = Output holding
[BFM #8 and #9] Offset/gain setting command
Changes offset and gain values of channels CH1 to CH4 by writing 1 to the
corresponding Hex digits of BFM #8 or #9. The current values will be valid until
this command is output. (Refer to Chapter 9)
1 to 4: Channel number O = 0: No changes done. O = 1: Change data value.
[BFM #10 to #17] Offset/gain data
The offset and gain values are changed by writing new data to BFM #10 to #17.
The units of the data to be written are mV or µA. The data should be written and
then BFM #8 and #9 set. Note that the data value will be rounded down to the
nearest 5mV or 20µA.
[BFM #20] Initialize
When K1 is written in BFM #20, all values will be returned to the factory-default.
(Note that the BFM #20 data will override the BFM #21 data.)
This initialize function is convenient if you have an error in adjustment.
[BFM #21] I/O characteristics adjustment inhibit
Setting BFM #21 to K2 inhibits the user from inadvertent adjustment of I/O
characteristics. The adjustment inhibit function, once set, will be valid until the
Permit command (BFM #21=K1) is set. The initial value is K1 (Permit). The set
value will be retained even after power-OFF.
BFM #8 BFM #9
Bits b4 to b9, b11, b13 to b15 are not defined.
[BFM #30] Identification code
The identification code for a special function block is read using the FROM
instruction. The identification code for the FX2NC-4DA unit is K3020.The
main unit can use this facility in the program to identify the special function
block before commencing any data transfers from and to the special
function block.
Note:
Values of BFM #0, #5, and #21, are stored in the EEPROM memory of the
FX2NC-4DA. BFM #10 to #17 are copied to EEPROM when the gain/offset
setting command BFM #8, #9 is used. Also, BFM #20 causes the resetting
of the EEPROM memory. The EEPROM has a life of about 10,000 cycles
(changes), so do not use programs which frequently change these BFMs.
A mode change of BFM #0 automatically involves a change of the
corresponding offset and gain values. Because of the time needed to write
the new values to the internal EEPROM memory, a delay of 3 s is required
between instructions changing BFM #0 and instructions writing to the
corresponding BFM #10 through BFM #17.
Therefore, a delay timer should be used before writing to BFM #10 through
#17.
(Refer to chapter 9.)
7. Operation and Program Examples
If the factory-default I/O characteristics are not changed and the status
information is not used, you can operate the FX2NC-4DA using the following
simple program. For the FROM and TO instructions, refer to the FX
Programming Manual (II).
CH1 and CH2 : Voltage output mode (-10 V to 10 V)
CH3 : Current output mode (4 mA to 20 mA)
CH4 : Current output mode (0 mA to 20 mA)
7.1 Operation procedure
1) Turn OFF the power of the PLC, and then connect the FX2NC-4DA. After
wards, wire the I/O lines of the FX2NC-4DA.
2) Set the PLC to STOP, and turn ON the power. Write the above program
then switch the PLC to RUN.
3) Analog values will be sent from D0 (BFM #1), D1 (BFM #2), D2 (BFM
#3), and D3 (BFM #4) to the respective output channels of the FX2NC-
4DA. When the PLC is in STOP, the analog values set before stopping
the PLC will remain output. (The output will be held.)
4) When the PLC is in STOP, the offset values can also be output. For a
detailed description, refer to Section 6).
b10 Range error output value is out of the
specified range.
value is in the
specified range.
b12
G/O-
Adjustment
prohibit
status
BFM #21 is not set to "K1". Adjustable status
M8002
initial pulse
TO K0 K0 H2100 K1
Write the data for CH1 to
D0, CH2 to D1, CH3 to D2
and CH4 to D3.
TO K0 K1 D0 K4
M8000
RUN
monitor
Write data in respective data registers while
observing the following ranges:
Data register D0 and D1: -2,000 to 2,000
Data registers D2 and D3: 0 to 1,000
(H2100) → BFM #0
CH1 and CH2: Voltage output
CH3: Current output (4mA to 20 mA)
CH4: Current output (0 mA to 20 mA)
Data register D0 → BFM #1 (output to CH1)
Data register D1 → BFM #2 (output to CH2)
Data register D2 → BFM #3 (output to CH3)
Data register D3 → BFM #4 (output to CH4)
PLC FX2NC-32MT-DSS
PLC FX2NC-32MT-D/UL
RS-232C适配器 FX2NC-232ADP
PLC FX2NC-96MT-DSS
可编程控制器 FX2NC系列
转换适配器 FX2NC-CNV-IF
RS-485适配器 FX2NC-485ADP
PLC FX2NC-64MT-DSS
PLC FX2NC-16MT-D/UL
RS-485适配器 FX2NC-485ADP
PLC FX2NC-16MR-T-DS
RS-232C适配器 FX2NC-232ADP
PLC FX2NC-16MT-DSS
PLC FX2NC-96MT-D/UL
PLC FX2NC-64MT-D/UL