Mitsubishi Electronics MELSEC-F Manuel D’Utilisation

Page de 504
E-24
5 Buffer Memory (BFM)
5.4 Buffer Memory Details
FX
3G
/FX
3U
/FX
3UC
 PLC User's Manual - Analog Control Edition
FX
3U
-4DA (4-channel Analog Output)
5.4.5
BFM #9: Offset/gain setting value write command
Initial value: H0000
Numeric data type: Hexadecimal (H)
Channel numbers are assigned to 4 lower bits of BFM #9. If one of those bits is turned on, the offset data
(BFM #10 to #13) and the gain data (BFM #14 to #17) of the corresponding channel will be written in the
internal memory (EEPROM). When written in the internal memory, the data will be valid.
1. Channel number assignment to each bit of BFM #9
The WRITE command can be given to two or more channels at the same time. (Set "H000F" to write the data
of all the channels in the EEPROM.) 
On completion of writing, "H0000" (b0 to b3: OFF) will be set automatically.
2.  Cautions regarding giving offset/gain setting value write command
• While changing the setting, the output is stopped, and H0000 is automatically written in the output status 
(BFM #6).
At the completion of writing, the output status (BFM #6) will automatically change to H1111, and output will 
be restarted.
• If the analog value specification mode (mode 1 or 4) is used, the offset/gain cannot be changed.
When other output mode has been set, it is possible to change to same characteristics as those in the 
output mode 1 or 4.
• If the write command is not executed, the offset and gain data will not be stored in the EEPROM.
• When b1 of the error status (BFM #29) is set to ON, the offset and gain data will not be stored in the 
EEPROM.
→ For a detailed description of offset and gain setting, refer to Subsection 5.4.6.
Bit No.
Description
b0
Channel-1 offset data (BFM #10) and gain data (BFM #14) writing
b1
Channel-2 offset data (BFM #11) and gain data (BFM #15) writing
b2
Channel-3 offset data (BFM #12) and gain data (BFM #16) writing
b3
Channel-4 offset data (BFM #13) and gain data (BFM #17) writing
b4 to b15
Not used