Delta DVP-ES2 User Manual Page 10

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 9
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
1-2
1.1 PLC Scan Method
PLC utilizes a standard scan method when evaluating user program.
Scanning process:
Scan input status
Read the physical input status and store the data in internal
memory.
Evaluate user program
Evaluate the user program with data stored in internal memory.
Program scanning starts from up to down and left to right until
reaching the end of the program.
Refresh the outputs
Write the evaluated data to the physical outputs
X0
Y0
Y0
M0
Input X
Input terminal
Store to memory
Input signal memory
Device Memory
Read X0 status from memory
Write Y0 state into
Read Y0 state from memory
Write M0 state into
Output
Program
Input signal
Output
Output Y
Output terminal
Output latched memory
Input signal:
PLC reads the ON/OFF status of each input and
stores the status into memory before evaluating
the user program.
Once the external input status is stored into
internal memory, any change at the external
inputs will not be updated until next scan cycle
starts.
Program:
PLC executes instructions in user program from
top to down and left to right then stores the
evaluated data into internal memory. Some of this
memory is latched.
Output:
When END command is reached the program
evaluation is complete. The output memory is
transferred to the external physical outputs.
Scan time
The duration of the full scan cycle (read, evaluate, write) is called “scan time.” With more I/O or
longer program, scan time becomes longer.
Read
scan time
PLC measures its own scan time and stores the value (0.1ms) in register
D1010, minimum scan time in register D1011, and maximum scan time in
register D1012.
Measure
scan time
Scan time can also be measured by toggling an output every scan and then
measuring the pulse width on the output being toggled.
Calculate
scan time
Scan time can be calculated by adding the known time required for each
instruction in the user program. For scan time information of individual
instruction please refer to Ch3 in this manual.
Page view 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 701 702

Comments to this Manuals

No comments