error
Exceptions occur in the channel
characteristic data in the BFM or
adjustment errors occur.
The channel
characteristic
data is
normal.
b2: Power supply
fault 24 V DC power supply fault
The power
supply works
properly.
6. When BFM#400 is set to 1, that is, when it is activated, all the settings of
the module are reset to the default values.
7. BFM#500 is used to disable the modification of the I/O characteristic.
After BFM#500 is set to 0, you cannot modify the I/O characteristic until
BFM#500 is set to 1. The setting is saved at power outage.
8. BFM#4094 contains the module software version information. You can
use the FROM instruction to read the information.
9. BFM#4095 contains the module identification code. The identification
code of IVC-EH-4AD is 0X1042. User programs on the PLC can use this
code to identify the special module IVC-EH-4AD before transmitting or
receiving data.
3 Characteristic setting
The input channel characteristic of IVC-EH-4AD is the linear relationship
between the analog input A and digital output D of the channel. You can set
the characteristic. Each channel can be understood as the model shown in
Figure 3-1. Since it is linear, the characteristic of a channel can be
determined by identifying two points, P0 (A0, D0) and P1 (A1, D1). D0
indicates the channel digital output when the analog input is A0, and D1
indicates the channel digital output when the analog input is A1.
Figure 3-1 Channel characteristic of IVC-EH-4AD
To simplify the setting of users without affecting the implementation of
functions, the values of A0 and A1 are fixed to 0 and the maximum value of
the analog in the applied mode, that is, in Figure 3-1, A0 is 0 and A1 is the
maximum analog input in the applied mode. The values change with the
modification of channel mode words (such as BFM#700). Users cannot
modify these two items.
If you do not modify D0 and D1 of each channel and only set the channel
mode (BFM#700), the characteristic of each mode is the default one, as
shown in Figure 3-2. The characteristics A, B, and C in Figure 3-2 are factory
settings.
0
D
-10000
(mV)
-10000
A
10000
A. Mode 1, D0=0, D1=10000
The input of 10 V corresponds to digital output of 10000.
The input of 0 V corresponds to digital output of 0.
The input of -10 V corresponds to digital output of -10000.
10000
Figure 3-2 Default channel characteristic of each mode when D0 and D1
are not modified
If D0 and D1 of a channel are modified, the characteristic of the channel is
changed. D0 and D1 can be set to any value ranging from -10000 to +1000. If
the setting exceeds the range, IVC-EH-4AD does not receive the setting and
keep the original valid setting.
4 Application instance
4.1 Configuring the extension module
through the configuration interface
Example: The address of the IVC-EH-4AD module is 1 (for the addressing
method of special function modules, see the IVC-EH-4AD Series PLC User
Manual). Channel 1 is disabled, channel 2 and 3 are set to input voltage
signals (-10 V–+10 V), channel 4 is set to input current signals (4–20 mA), the
number of points of the average values is set to 8 by default, and data
registers D2, D3, and D4 are used to receive the conversion results of the
average values.
You can configure registers directly in the provided extension module
configuration interface instead of using FROM and TO instructions. The
configuration steps are as follows:
1. Double-click the extension module configuration tab in the System
block category on Project Manager.
2. Double-click the module to be configured on the right instruction tree to
add it to the configuration.
3. After configuring all the parameters, click OK to complete the
configuration.
After the configuration is complete, the user program needs only to use
the configured D element to communicate with the special function
module instead of using FROM and TO instructions. After the
compiling is verified, the system block is downloaded to the main
module with the user program. Figure 4-1 shows the configuration
interface.
Figure 4-1 IVC-EH-4AD configuration interface