Mitsubishi — Chapter 6 Application Instructions API 00-49

6 Application Instructions API 00-49 Program Example 3: 1. The states of each device *1: Y1 is a dual output. When M0 is Off, M1 will control Y1. When M0 is On, M12 will control Y1. *2: When the timers (T192 ~ T199, applicable in SA/EH series MPU) used by a subroutine re driven and encounter the execution of CJ instruction, the timing will resume. After the timing target is reached, the output contact of the timer will be On. *3: When the high-speed counters (C235 ~ C255) are driven and encounter the execution of CJ instruction, the counting will resume, as well as the action of the output points.

DVP-PLC Application Manual 6-3 Contact state before CJ Contact state when CJ is Output coil state when CJ is Device is executed being executed being executed Y, M, S M1, M2, M3 Off M1, M2, M3 OffOn *1 Y1 , M20, S1 Off M1, M2, M3 On M1, M2, M3 OnOff *1 Y1 , M20, S1 On 10ms, 100ms Timer ES/SA/EH M4 Off M4 OffOn Timer T0 is not enabled. M4 On M4 OnOff Timer T0 immediately stops and is latched. M0 OnOff, T0 is reset as 0. 1ms, 10ms, 100ms *2 Timer (accumulative) SA/EH M6 Off M6 OffOn Timer T240 is not enabled. M6 On M6 OnOff Once the timer function is enabled and when met with CJ instruction, all accumulative timers will stop timing and stay latched. M0 OnOff. T240 remains unchanged.

*3 C0 ~ C234 M7, M10 Off M10 On/Off trigger Counter does not count. M7 Off, M10 On/Off trigger M10 On/Off trigger Counter C0 stops counting and stays latched. After M0 goes Off, C0 resumes its counting. Application instruction M11 Off M11 OffOn Application instructions are not executed. M11 On M11 OnOff The skipped application instructions are not executed, but API 53 ~ 59, API 157 ~ 159 keep being executed.