Delta AS Series Programming Manual page 175

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, Y0.0 outputs 1000 pulses at 1kHz, and set M1 to ON to record Y0.0 is taken.
ii.
When M0 is OFF, once Y0.0 output is complete, SM461 is ON. IF M1 is ON, it triggers the auto-reset flag of Y0.0
(SM470=ON) and PLC frees the right for the Y0.0 to be ready again.
iii.
When M0 is from OFF to ON again, Y0.0 output can start again.
24. Auto-rest flags for Delta CAN communicaiton
While executing the CAN instructions, to avoid the control over the same ID of Servo/Inverter is taken
repeatedly by different type or diffent triggered CAN instrucitons. PLC assigns the right to control the pulse
instruction to the first executed instruction till the assigned instruction is completely stopped. Because of the
unique characteristic, PLC scan cannot detect if the CAN instruction is stopped when you use the CAN
instruction in the ST language, interrupt subroutine or one-time function block. Therefore, the right to control
the CAN instruction is kept and any ongoing instructions can nether be executed nor control the servo/inverter
normally.
To free the right to execute other CAN output instructions, you can use the auto-reset flags for the PLC to
check if the communicaton between Delta Servo or Delta Moto is complete.
Note: you can set the auto-reset flags to ON and once the CAN communication is complete, the flag resets to
OFF automatically.
Delta Servo
Station ID
Auto-reset the
right to execute
other CAN
instructions.
Delta Moto
Station ID
Auto-reset the
right to execute
other CAN
instructions.
2 - 1 5 2
1
2
3
SM1581
SM1582
SM1583
21
22
23
SM1601
SM1602
SM1603
4
5
6
SM1584
SM1585
SM1586
24
25
26
SM1604
SM1605
SM1606
7
8
SM1587
SM1588
27
28
SM1607
SM1608

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents