Even while an upper/lower limit value error is detected, the data (BFM #10 to BFM #13) of each channel continues to be updated.

Bit assignment of BFM #26

 

 

 

 

Bit No.

Channel No.

Description

b0

CH1

 

Lower limit error

 

 

 

b1

 

Upper limit error

 

 

 

 

 

 

b2

CH2

 

Lower limit error

 

 

 

b3

 

Upper limit error

 

 

 

 

 

 

b4

CH3

 

Lower limit error

 

 

 

b5

 

Upper limit error

 

 

 

 

 

 

b6

CH4

 

Lower limit error

 

 

 

b7

 

Upper limit error

 

 

 

 

 

 

 

 

 

 

BFM #27: A/D data sudden change detection status

The sudden change detection function (BFM#22 b2) writes detected errors to the corresponding bits in BFM#27. The sudden change detection status for negative or positive changes is located in the first 8bits of BFM#27 in bit-pairs.

When the data (BFM #10 to BFM #13) of each channel is updated, if the difference between the previous value and the new value is larger than the sudden change detection set value (BFM #91 to BFM #94), the corresponding bit in BFM #27 turns ON.

At this time, when the new value is larger than the previous value, a bit for the + direction turns ON. when the new value is smaller than the previous value, a bit for the - direction turns ON.

When a bit turns ON, it remains ON until it is reset by BFM #99 or the power is turned OFF.

Even while a sudden change error is detected, the data (BFM #10 to BFM #13) of each channel continues to be updated.

Bit assignment of BFM #27

 

 

 

 

Bit No.

Channel No.

Description

b0

CH1

 

Sudden change error in - direction

 

 

 

b1

 

 

Sudden change error in + direction

 

 

 

 

b2

CH2

 

Sudden change error in - direction

 

 

 

b3

 

Sudden change error in + direction

 

 

 

 

 

 

b4

CH3

 

Sudden change error in - direction

 

 

 

b5

 

 

Sudden change error in + direction

 

 

 

 

b6

CH4

 

Sudden change error in - direction

 

 

 

b7

 

Sudden change error in + direction

 

 

 

 

 

 

 

 

 

 

BFM #28: Scale over status

The result of the analog input value for each individual channel that has exceeded the A/D conversion range will be written to BFM#28.

Range in which A/D conversion is available:

 

 

Voltage input mode

Current input mode

- 10.2V to 10.2V

- 20.4mA to 20.4mA

 

 

 

 

A bit will remain ON unless it is reset from switching the Power OFF or overwriting the ON bit with an OFF bit via a TO instruction.

Even while a scale over error is detected, the data (BFM #10 to BFM #13) of each channel continues to be updated.

Bit assignment of BFM #28

 

 

 

 

Bit No.

Channel No.

Description

b0

CH1

 

Scale over: Less than lower limit

 

 

 

b1

 

 

Scale over: More than upper limit

 

 

 

 

b2

CH2

 

Scale over: Less than lower limit

 

 

 

b3

 

Scale over: More than upper limit

 

 

 

 

 

 

b4

CH3

 

Scale over: Less than lower limit

 

 

 

b5

 

 

Scale over: More than upper limit

 

 

 

 

b6

CH4

 

Scale over: Less than lower limit

 

 

 

b7

 

Scale over: More than upper limit

 

 

 

 

 

 

 

 

 

 

BFM #29: Error status

Error information is assigned to each bit of BFM #29.

Bit assignment of BFM #29

 

 

 

Bit

Assignment

Description

No.

 

 

b0

Error detected

b0 is ON while either b2 to b4 is ON.

 

 

 

b1

 

 

 

 

 

 

 

 

 

Bit

Assignment

Description

No.

 

 

b2

Power error

24V DC power is not correctly supplied.

Check the wiring and supply voltage.

 

 

 

 

 

 

 

FX2NC-4AD may have malfunctioned.

b3

Hardware error

Contact the nearest Mitsubishi Electric System

 

 

Service center.

 

 

 

 

A/D conversion value

A/D conversion value is abnormal.

b4

Using the scale over data (BFM #28), check the

error

 

 

channel in which the error has occurred.

b5

 

 

 

 

 

This bit will be ON during the input

b6

BFM read/write disabled

characteristics change processing. While this bit

is ON, correct A/D data will not read from or

 

 

 

 

written to BFMs.

 

 

 

b7

 

 

 

b8

Set value error detected

This bit will be ON while either b9 to b15 is ON.

 

 

 

b9

Input mode setting error

Input mode (BFM #0) is incorrectly set.

Set it within the range from 0 to 8.

 

 

 

 

 

b10

Number of averaging

Number of averaging times is incorrectly set.

 

times setting error

Set it within the range from 1 to 4,095.

b11

Digital filter setting error

The digital filter setting is incorrect.

Reset within the range of 0 to 1,600.

 

 

 

 

 

b12

Sudden change detection

Sudden change detection set value is incorrect.

set value error

Set a correct value.

 

 

 

b13

Upper/lower limit set value

Upper/lower limit set value is incorrect. Set a

error

correct value.

 

 

 

b14

 

 

 

b15

Addition data setting error

Addition data is incorrectly set.

 

 

Set it within range from -16,000 to 16,000.

 

 

 

BFM #30: Model code

BFM #30 stores a fixed value of "K2070".

BFM #32: Operating time

BFM #32 stores the continuous operating time for the FX2NC-4AD. Measurement starts when the power is turned ON, and the measured value is reset when the power is turned OFF.

The measurement range is from 0 to 64,800 (s). After that, 64,800 is kept.

BFM #41 to BFM #44: Offset dataBFM #51 to BFM #54: Gain data

Offset data:Analog input value when the digital value is "0"

Gain data :Analog input value when the digital value is as shown below (The digital value varies depending on the setting of the input mode.)

Standard digital value for offset and gain in each input mode

(A number in the input mode column indicates a value set in BFM #0.)

 

 

 

 

 

 

 

 

 

 

Input mode (BFM #0)

0

1

2

3

4

5

6

7

8

Standard offset value

0

0

-

0

0

-

0

0

-

Standard gain value

16000

2000

-

16000

4000

-

16000

4000

-

 

 

 

 

 

 

 

 

 

 

Set the offset and gain data for each channel.

Write the set value in units of "mV" for voltage input or "A" for current input.

Do not change the input characteristics when !=2, 5, 8 is set in BFM #0. (Even if a numerical value is written, it is ignored.)

Initial offset/gain value (Unit: mV for voltage input, A for current input)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Input mode (BFM #0)

 

0

1

2

3

4

5

6

 

7

8

Initial offset value

 

 

0

 

 

 

4000

 

 

 

0

 

Initial gain value

 

 

5000

 

 

 

 

20000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Setting range

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Voltage input

 

 

 

 

Current input

 

Offset data

-1000 to 9000 (mV)

 

 

-20000 to 17000 (A)

 

 

 

 

 

 

 

 

Gain data

Gain value - Offset value

 

 

Gain value - Offset value

 

= 1,000 to 10,000 (mV)

 

 

= 3,000 to 30,000 (A)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The actual effective input range is "-10 to 10 V" or "-20 to 20 mA".

BFM #61 to BFM #64: Addition data

When using the data addition function (BFM #22 b0), data (BFM #10 to BFM #13), minimum/maximum value (BFM #101 to BFM #104, BFM #111 to BFM #114) and data history (BFM #200 to BFM #1799) of each channel becomes the measured value added by the addition data (BFM #61 to BFM #64).

When using the data addition function, enter the value added by the addition data (BFM #61 to BFM #64) to the lower limit value error set value (BFM #71 to BFM #74) and the upper limit value error set value (BFM #81 to BFM #84).

Setting range: -16,000 to 16,000

BFM #71 to BFM #74: Lower limit, error set valueBFM #81 to BFM #88: Upper limit, error set value

When using the upper/lower limit value detection function (BFM #22 b1), write the lower limit value of each channel to BFM #71 to BFM #74 and the upper limit value of each channel to BFM #81 to BFM #84.

When using the data addition function (BFM #22 b0), enter the value added by the addition data to BFM #61 to BFM #64.

Setting range

The setting range will vary depending on the setting of the input mode (BFM #0). The table below shows the setting range for each input mode. Enter the set value as a digital value.

 

 

 

 

 

 

Initial value

Input mode (BFM #0)

Setting range

Lower

Upper

 

 

limit

limit

0: Voltage input mode

-32768 to 32767

-32768

32767

(-10 to 10 V -32000 to 32000)

 

 

 

 

 

 

 

1: Voltage input mode

-4096 to 4095

-4096

4095

(-10 to 10 V -4000 to 4000)

 

 

 

 

 

 

 

2: Voltage input mode

-10200 to 10200

-10200

10200

(-10 to 10 V -10000 to 10000)

 

 

 

 

 

 

 

3: Current input mode

-1 to 16383

-1

16383

(4 to 20 mA 0 to 16000)

 

 

 

 

 

 

 

4: Current input mode

-1 to 4095

-1

4095

(4 to 20 mA 0 to 4000)

 

 

 

 

 

 

 

5: Current input mode

3999 to 20400

3999

20400

(4 to 20 mA 4000 to 20000)

 

 

 

 

 

 

 

6: Current input mode

-16384 to 16383

-16384

16383

(-20 to 20 mA -16000 to 16000)

 

 

 

 

 

 

 

7: Current input mode

-4096 to 4095

-4096

4095

(-20 to 20 mA -4000 to 4000)

 

 

 

 

 

 

 

8: Current input mode

-20400 to 20400

-20400

20400

(-20 to 20 mA -20000 to 20000)

 

 

 

 

 

 

 

 

 

 

 

BFM #91 to BFM #94: Sudden change detection set value

When using the sudden change detection function (BFM #22 b2), enter the set value to judge the sudden change.

When the data (BFM #10 to BFM #13) of each channel is updated, if the difference between the previous value and the new value is larger than the sudden change detection set value (BFM #91 to BFM #94), the result is written to the sudden change detection status (BFM #27).

Setting range

The setting range will vary depending on the setting of the input mode (BFM #0). The table below shows the setting range for each input mode.

Write the set value in a digital value.

 

 

 

Input mode (BFM #0)

Setting range

Initial value

0: Voltage input mode

1 to 32767

3200

(-10 to 10 V -32000 to 32000)

 

 

 

 

 

1: Voltage input mode

1 to 4095

400

(-10 to 10 V -4000 to 4000)

 

 

 

 

 

2: Voltage input mode

1 to 10000

1000

(-10 to 10 V -10000 to 10000)

 

 

 

 

 

3: Current input mode

1 to 8191

800

(4 to 20 mA 0 to 16000)

 

 

 

 

 

4: Current input mode

1 to 2047

200

(4 to 20 mA 0 to 4000)

 

 

 

 

 

5: Current input mode

1 to 8191

800

(4 to 20 mA 4000 to 20000)

 

 

 

 

 

6: Current input mode

1 to 16383

1600

(-20 to 20 mA -16000 to 16000)

 

 

 

 

 

7: Current input mode

1 to 4095

400

(-20 to 20 mA -4000 to 4000)

 

 

 

 

 

8: Current input mode

1 to 20000

2000

(-20 to 20 mA -20000 to 20000)

 

 

 

 

 

 

 

 

BFM #99: Clears upper/lower limit value error and sudden change detection error

The commands to clear the lower and upper limit value error and the sudden change detection error are assigned to the lower three bits of BFM #99.

The flag of the corresponding error status (BFM #26, BFM #27) is reset for all channels simultaneously when a bit is set to ON.

After the reset is finished, each bit of BFM #99 returns automatically to the OFF state.

The setting of two or more clear commands to ON at the same time is possible.

Bit assignment of BFM #99

 

 

Bit No.

Description

b0

Clears lower limit error.

 

 

b1

Clears upper limit error.

 

 

b2

Clears sudden change detection error.

 

 

b3 to b15

Unusable

 

 

BFM #101 to BFM #104: Minimum valueBFM #111 to BFM #114: Maximum value

When using the minimum/maximum value hold function (BFM #22 b3), the minimum value of the data (BFM #10 to BFM #13) of each channel is written to BFM #101 to BFM #104, and the maximum value is written to BFM #111 to BFM #114.

When using the data addition function (BFM #22 b0), the minimum/ maximum measured value will be added to the addition data (BFM #61 to BFM #64).

Initial value

Minimum/maximum value hold function is not used:K0 Minimum/maximum value hold function is used: Digital value when the

power is turned ON

BFM #109: Minimum value resetBFM #119: Maximum value reset

When using the minimum/maximum value hold function (BFM #22 b3), BFM #109 clears the minimum value stored in BFM #101 to BFM #104, and BFM #119 clears the maximum value stored in BFM #111 to BFM #114.

The channel No. that will be reset is assigned to each bit of BFM #109 and BFM #119. When a bit is set ON, minimum/maximum value of the assigned channel is cleared. (Setting two or more bits ON simultaneously is possible.)

Bit assignment

 

 

 

 

 

 

 

BFM #109

Bit No.

b15 to b4

b3

b2

b1

b0

 

Channel No.

Unusable

CH4

CH3

CH2

CH1

 

(BFM No.)

(#104)

(#103)

(#102)

(#101)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BFM #119

 

 

 

 

 

 

Bit No.

b15 to b4

b3

b2

b1

b0

 

Channel No.

Unusable

CH4

CH3

CH2

CH1

 

(BFM No.)

(#114)

(#113)

(#112)

(#111)

 

 

 

 

 

 

 

 

 

BFM #198: Data history sampling time

Set the data history sampling time. Setting range: 0 to 30,000 ms Sampling cycle

When the set value is "0" :1 ms x Number of effective channels When the set value is "1" or more:Set value (ms) x Number of effective

channels

BFM #199: Resets or stops data history

The data history reset function is assigned to the lower 4 bits of BFM #199. The data history stop function is assigned to the upper 4 bits of BFM #199. Data history reset function

This function clears the sampled data history for each channel.

The channel No. to be reset is assigned to each of the lower 4 bits of BFM #199.

When a bit is set to ON, the data history (all contents from the 1st value to the 400th value) of the assigned channel is cleared. (The setting of two or more bits to ON simultaneously is possible.)

When the clear operation is completed, each bit returns automatically to the OFF state.

Assignment of lower 4 bits

 

 

 

 

 

 

Bit No.

b7 to b4

b3

b2

b1

b0

Channel No.

Unusable

CH4

CH3

CH2

CH1

 

 

 

 

 

 

 

 

 

 

 

 

Data history stop function

This function will temporarily stop the data history for the individual channels. The channel No. to be temporarily stopped is assigned to each of the upper 4 bits of BFM #199. When a bit is set to ON, sampling of the data history of the assigned channel is temporarily stopped. (Setting two or more bits to ON at a time.)

When a bit is set to OFF, sampling of the data history of the assigned channel restarts.

Assignment of upper 4 bits

 

 

 

 

 

 

Bit No.

b15 to b12

b11

b10

b9

b8

Channel No.

Unusable

CH4

CH3

CH2

CH1