Chapter 6 Applied Instructions Example 2 (Structured Texts programming language): 1. When M2 changes from OFF to ON, servo 2 moves to the relative position 100000 PUU at 100.0 rpm. The finish flag SM1632 is ON when the target position is reached. 2. Make sure M2 and SM1632 are both ON and then set the auto return communication control right flag SM1582 to ON for station address 2. This will free the communication control right and the station address 2 can receive and execute other communication instructions.
Explanation of special flags (SM) and registers (SR) for Delta special CANopen communication instructions The following table shows special flags (SM) and registers (SR) related to Delta special CANopen communication. 6_ Note1: After the axis starts to output, PLC clears the corresponding completion flag. 6-889 Flag R/W ID. 1 ID. 2 ID. 3 ID. 4 ID. 5 ID. 6 ID. 7 ID. 8 Enable specific function R/W The flag in HWCONFIG is set to ON when the PLC changes from Stop to Run.
Initialization and communication complete (INITC and CASD) R SM1681 CANopen communication error R SM1682 Positioning complete R/W#1 SM1631 SM1632 SM1633 SM1634 SM1635 SM1636 SM1637 SM1638 Stop R/W SM1641 SM1642 SM1643 SM1644 SM1645 SM1646 SM1647 SM1648 Servo-ON R SM1651 SM1652 SM1653 SM1654 SM1655 SM1656 SM1657 SM1658 Go-back/go-forth enabled Only DDRVAC is supported. R/W SM1661 SM1662 SM1663 SM1664 SM1665 SM1666 SM1667 SM1668 Go-back/go-forth direction indicator Only DDRVAC is supported.
R SM1671 SM1672 SM1673 SM1674 SM1675 SM1676 SM1677 SM1678 Auto return communication control right R/W SM1581 SM1582 SM1583 SM1584 SM1585 SM1586 SM1587 SM1588 Heartbeat error code R SM1691 SM1692 SM1693 SM1694 SM1695 SM1696 SM1697 SM1698 Heartbeat error handling R/W SM1684 = OFF (default; when one goes down, all the servos are OFF.) SM1684 = ON (when one goes down, only the defective servo is OFF.) Number of the axis with a communication error R SR658 Communication error code R SR659