Mitsubishi Electronics FX2N-8AD TV Converter Box User Manual


 
FX2N-8AD Analog input block Example program 10
10-5
Note:
When many FROM/TO instructions are executed in the same scan, the PLC might have a
watchdog timer error. In this case, add a watchdog timer reset (FNC07 WDT) instruction
with each FROM/TO instruction.
Refreshes the watch dog timer.*1
T0
K0 K200 D10 K10
K0 K600 D20 K10
K0 K1000 D30 K10
Reads the CH1 data history (for 10 times) to D10 to D19.
Reads the CH2 data history (for 10 times) to D20 to D29.
Refreshes the watch dog timer.*1
Reads the CH3 data history (for 10 times) to D30 to D39.
FNC 78
FROM
FNC 07
WDT
FNC 78
FROM
FNC 07
WDT
FNC 78
FROM
FNC 07
WDT
K0 K2200 D60 K10
FNC 78
FROM
FNC 07
WDT
Reads the CH6 data history (for 10 times) to D60 to D69.
END
Refreshes the watch dog timer.*1
Refreshes the watch dog timer.*1