Mitsubishi Electronics FX3G User Manual

Page of 964
874
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
37 Operation of Special Devices (M8000 -, D8000 -)
37.2 Supplement of Special Devices (M8000 - and D8000 -)
4. RUN/STOP command via the programming tool
1) Using the programming software for personal computer
There is a remote RUN/STOP function in the programming software.
By using the programming software, the PLC can be set to the RUN or STOP mode by giving a command from
the personal computer.
2) Using any other programming tool
When M8035 (forced RUN mode) and M8036 (forced RUN signal) are set to ON in the forced ON/OFF procedure,
the PLC begins RUN mode.
When M8037 (forced STOP signal) is set to ON, the PLC changes to STOP mode.
3) Even when the built-in RUN/STOP switch is on the RUN side of the PLC.
The remote STOP command via the programming tool or M8037 (forced STOP signal) are valid.
37.2.16 Constant scan mode [M8039 and D8039]
When the special auxiliary relay M8039 is set to ON and a setting value for the constant scan time (in 1-ms units) is
stored in special data register D8039, the scan time in the PLC does not become shorter than the value stored in
D8039.
The PLC pauses for the remaining time when the operation ends earlier, and then returns to step 0.
1. Example program
2. Cautions
1) When using an instruction executed in synchronization with a scan
a) When using an instruction executed in synchronization with a scan such as RAMP (FNC 67), HKY (FNC 71),
SEGL (FNC 74), ARWS (FNC 75) and PR (FNC 77), it is recommended to use the constant scan mode or to
use the instruction in a timer interrupt program.
b) When using HKY (FNC 71) instruction
It is necessary to use a scan time of 20 ms or more due to the response delays of the key input filter.
2) Scan time display (D8010 to D8012)
The scan time specified in the constant scan time is included in the scan time display stored in D8010 to D8012.
37.2.17 State control in program with STL instruction/SFC chart [M8040]
When M8040 is ON, the state relay ON status is not transferred even if the transfer condition is satisfied.
The transfer between states is disabled and the output status remains in stopped State.
→ For resetting outputs in a state, refer to Subsection 35.1.7.
M8000
RUN
monitor
FNC 12
MOVP
K20
D8039
M8039 Constant scan mode
The constant scan time is set to 20 ms.