beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 328

background image

7 Application Instructions API 50-99

D V P - P L C A P P L I C AT I O N M A N U A L

7-44

Remarks:

Flag explanations:

M1040:

When On, all step operations are forbidden.

1. Manual mode: M1040 keeps being On

2. Zero return/one cycle operation mode: Between the timing of pressing “auto stop” and “auto start”

buttons, M1040 will keep being On.

3. Step mode: M1040 keeps being On until “auto start” button is pressed.

4. Continuous operation mode: When PLC goes from STOP to RUN, M1040 will keep being On and

turn Off when “auto start” button is pressed.

M1041:

Step operation starts. Special M for initial S2 to move to the next step.

1. Manual/zero return mode: M1041 keeps being Off.

2. Step/one cycle operation mode: M1041 will only be On when “auto start” button is pressed.

3. Continuous operation mode: M1041 keeps On when “auto start” button is pressed; Off when “auto

stop” button is pressed.

M1042:

Enabling pulse output. Sending pulses once when “auto start” button is pressed.

M1043:

On when zero return is completed.

M1044:

In continuous operation mode, M1044 has to be On to more S2 to the next step.

M1045:

All output resets are forbidden.

If the machine (not at the zero point) goes

- from manual (S0) to zero return (S1)

- from auto (S2) to manual (S0)

- from auto (S2) to zero return (S1)

1. When M1045 is Off, and any of the S among D

1

~ D

2

is On, SET Y output and the step in action will

be reset to Off.

2. When M1045 is On, SET Y output will be remained but the step in action will be reset to Off

If the machine executes zero return (at the zero point) and goes from zero return (S1) to manual (S0),

no matter M1045 is On or Off, SET Y output will be remained but the step in action will be reset to Off.

M1046:

STL state setting. On when any of the steps is On. When M1047 is forced On, On of any S will result in

On of M1046. D1040 ~ D1047 will record the No. of the previous 8 points before On of S.

M1047:

On for enabling STL monitor. When IST instruction starts to be executed, M1047 will be forced On. In

every scan time, as long as IST instruction is still On, M1047 will be forced On. M1047 monitors all the

S.

D1040 ~

D1047:

On status of step No. 1 ~ 8