![Wecon LX3V-4DA Скачать руководство пользователя страница 8](http://html1.mh-extra.com/html/wecon/lx3v-4da/lx3v-4da_user-manual_949558008.webp)
LX3V-4DA module
7
WECON Technology Co., Ltd.
Write data in respective data registers while observing the following ranges:
Data register D0 and D1: -2,000 to +2,000 Data register D2 and D3: 0 to +1,000
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)
Operation procedure
1)
Turn off the power of the MPU, and then connect the LX3V-4DA. After that, wire the I/O lines of
the LX3V-4DA.
2)
Set the MPU to STOP, and turn on the power. Write the above program then switch the MPU 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 LX3V-4DA. When the MPU is in STOP, the analog values set
before stopping the MPU will remain output. (The output will be held);
4)
When the MPU is in STOP, the offset values can also be output. For a detailed description, refer to
Section 5.
Program example
For the following program, CH1 and CH2 of the LX3V-4DA connected at special block position No. 1 are
used as voltage output channels, CH3 as a current output channel (+4 mA to +20 mA), and CH4 as a current
output channel (0mA to +20 mA). When the MPU is in STOP, the output will be held. In addition, the status
information is used.
BFM#30 data (model code) of block No.1 transferred
data register D4.
M1 will be tuned on when the model code is set to
K3020
H2100→ BFM#0 (unit No.1)
CH1 and CH2: Voltage output; CH3: Current output
(+4mA to +20mA); CH4: Current output (0 to +20mA)
D0 → BFM#1 (CH1 output)
D1 → BFM#2 (CH2 output)
D2 → BFM#3 (CH3 output)
D3 → BFM#4 (CH4 output)
BFM#29 (b15 to b0) → (M25 to M10)
Reads out the status data
Output data abnormal