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.
5. 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.
6. 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.
7. BFM#4094 contains the module software version information. You can
use the FROM instruction to read the information.
8. BFM#4095 contains the module identification code. The identification
code of IVC-EH-4DA is 0X2402. User programs on the PLC can use this
code to identify the special module IVC-EH-4DA before transmitting or
receiving data.
3 Characteristic setting
The input channel characteristic of IVC-EH-4DA is the linear relationship
between the analog output A and digital input 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 input when the analog output is A0, and D1
indicates the channel digital input when the analog output is A1.
Figure 3-1 Channel characteristic of IVC-EH-4DA
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.
(mV)
D
0
-10000
-10000
A
10000
A. Mode 1, D0=0, D1=10000
The output of 10 V corresponds to digital input of 10000.
The output of 0 V corresponds to digital input of 0.
The output of -10 V corresponds to digital input 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-4DA 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-4DA module is 1 (for the addressing
method of special function modules, see the IVC-EH-4DA Series PLC User
Manual). Channel 1 is disabled, channel 2 is set to output voltage signals (-10
V–+10 V), channel 3 is set to output current signals (0–20 mA), channel 4 is
set to output current signals (4–20 mA), and the to-be-transmitted data D2 or
real-time data are written into the conversion buffer register.
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-4DA configuration interface
4.2 Configuring the extension module through
instructions
Example: The address of the IVC-EH-4DA module is 3 (for the addressing
method of special function modules, see the IVC-EH-4DA Series PLC User
Manual), and the number of points of the average values is 8 by default. The
following figure shows the modification of the characteristics shown in Figure