Mitsubishi Electronics MELSEC-F Manuel D’Utilisation

Page de 504
G-16
4 Programming
4.6 Error Status
FX
3G
/FX
3U
/FX
3UC
 PLC User's Manual - Analog Control Edition
FX
3G
-1DA-BD (1-channel analog Output)
4.6
Error Status
1. Description of setting
If an error is detected on 1DA-BD, the error status data will be stored in the corresponding special data
register.
The following table shows the special data registers that store the error status data:
Check the ON/OFF status of each bit of the error status data register to check the description of the error.
Errors are assigned to the bits as shown in the following table. Create a program to detect errors.
2. Program Example
4.7
Model Code
Initial value: K4
Numeric data type: Decimal (K)
1. Description of setting
When the 1DA-BD is connected, model code "4" is stored in the corresponding special data register.
The following table shows the special data registers that store the model code:
Use the special data registers above to check whether 1DA-BD is connected or not.
2. Program Example
Special data register
Description
1st board 2nd board
D8268
D8278
Stores the error status data.
Bit
Description
b0
Output data setting error
b1 to b3
Unused
b4
EEPROM error
b5 to b15
Unused
1st board 2nd board
Description
D8269
D8279
Model code
Y000
M0
Normally
ON
M4
Y004
Output data setting error on
EEPROM error on 
the 1st board.
M8000
FNC 12
  MOV
D8268
K4M0
1st board.
FNC 224
LD =
D8269
K4
Checks the model code
of the 1st analog board.
Y007