Delta AS Series Programming Manual page 177

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Example 2 (used in ST programming language)
_2
Explanation
i.
When M0 is ON, Servo #1 runs to the relative position 10000 PUU at the speed of 100.0 r/min. And set M1 to ON to
record that communication right of Servo#1 is taken.
ii.
When M0 is OFF, SM1631 ON (positioning completed) and M1 ON, trigger SM1581 to ON to have the PLC free the
communication right for Servo #1.
iii.
When M0 is from OFF to ON again, Servo #1 is ready to positioning again.
25. Use DPLSY in high-speed comparison interrupt (I2xx), available for FW V1.08.70 or later.
Example of the PLC program:
Start the instructions of high speed counter (DCNT) and high speed comparison (DHSCS) in the program cycle.
Note: When M0 is ON, HC200 high-speed counter is started. When the counted
value in S2 reached 50, the high-speed comparison interrupt I200 is
triggered.
Write an instruction DPLSY in the high-speed comparison interrupt I200.
Note: Auto-reset the control when outputting 1000 pulses at 1kHz frequency from Y0.0. are complete.
2 - 1 5 4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents