5
Contents
9.5.1 Protocol Setting Method for Modbus
Conguration Table ................................................613
9.5.2 Setting the Modbus Conguration Table ...............614
9.6 CANlink Communication.............................................
616
9.6.1 Principle of CANlink3.0 Communication................616
9.6.2 CANlink Network ...................................................617
9.6.3 CANlink Software Conguration ............................ 622
9.6.4 Examples of Slave Station (Servo and AC Drive)
Access .................................................................... 630
9.6.5 Troubleshooting for CANlink Communication........634
9.7 CANopen Communication ..........................................
635
9.7.1 CANopen Protocol Selection ................................. 635
9.7.2 CANopen Indicators ..............................................636
9.7.3 Denitions of CANopen Acronyms ........................636
9.7.4 CANopen Conguration ........................................637
9.7.5 Troubleshooting for CANopen Communication ..... 648
9.7.6 List of Fault Codes ................................................648
9.8 Ethernet Communication ............................................
651
9.8.1 Hardware Interface and IP Settings ......................651
9.8.2 Ethernet Conguration ..........................................652
9.8.3 Soft Element Access Addresses When the H3U
PLC Serves as a Slave Station ..............................654
9.8.4 Special Ethernet Soft Elements.............................655
9.8.5 Detecting H3U PLC Connection Faults ................. 655
9.8.6 Downloading over the Ethernet and Monitoring ....656
Chapter 10 Extension Modules ............................
659
10.1
Overview...................................................................
659
10.2 Local Extension Modules..........................................
661
10.2.1 Conguration .......................................................661
10.2.2 Digital Input Module (AM600-1600END) ............. 661
10.2.3 Digital Output Module (AM600-0016ETN,
AM600-0016ETP, and AM600- 0016ER) ..............664
10.2.4 Analog Input Module (AM600-4AD).....................669
10.2.5 Analog Output Module (AM600-4DA) ..................674
10.3 Remote Extension Modules......................................
679
10.3.1 AM600RTU-COP Remote Extension Module ...... 679
10.3.2 CANlink Remote Extension Module ....................684
Chapter 11 Interrupt ..............................................
686
11.1 Overview ...................................................................
686
11.1.1 Overview ..............................................................686
11.1.2 Type ..................................................................... 686
11.2 External Interrupt ......................................................
687
11.2.1 Overview ..............................................................687
11.2.2 Type ..................................................................... 687
11.2.3 Application ...........................................................688
11.3 Timing Interrupt .........................................................
689
11.3.1 Overview ..............................................................689
11.3.2 Type ..................................................................... 689
11.3.3 Application ...........................................................689
11.4 Counting Complete Interrupt .....................................
690
11.4.1 Overview ..............................................................690
11.4.2 Type of High-speed Counting Interrupt ................690
11.4.3 Application ...........................................................690
11.5 Pulse Complete Interrupt ..........................................
691
11.5.1 Overview ..............................................................691
11.5.2 Application ...........................................................692
Chapter 12 Subprogram........................................
694
12.1 Overview...................................................................
694
12.1.1 H3U Subprogram ................................................694
12.1.2 H3U Subprogram Execution Mechanism ............695
12.2 Application of a General Subprogram.......................
696
12.3 Application of an Encrypted Subprogram .................
697
12.3.1 Encrypting a General Subprogram ...................... 697
12.3.2 Calling an Encrypted Subprogram ......................697
12.4 Application of a Subprogram with Parameters .........
698
12.4.1 Creating a Subprogram with Parameters ............ 698
12.4.2 Dening I/O Parameters ...................................... 698
12.4.3 Calling a Subprogram with Parameter ................699
12.4.4 Precautions .........................................................701
12.5 Application of an Encrypted Subprogram with
Parameters ................................................................
701
12.6 Application of an Interrupt Subprogram ....................
701
12.7 Application of a Motion Control Subprogram ............
701
Appendix ................................................................
704
Appendix A Allocation of Soft Elements SM, SD, D8000,
and M8000......................................................
704
A.1 SM Flag and SD Register ........................................704
A.2 Special Soft Element Register Range......................704
A.3 M8000 Flag and D8000 Register .............................707
Appendix B System Error Code........................................
720
B.1 System Error Code D8060 ....................................... 720
B.2 System Error Code D8061 ....................................... 720
B.3 System Error Code D8062 ....................................... 720
B.4 System Error Code D8063 ....................................... 721
B.5 System Error Code D8064 ....................................... 722
B.6 System Error Code D8065 ....................................... 723
B.7 System Error Code D8066 ....................................... 723
B.8 System Error Code D8067 ....................................... 724
Appendix C Customized Function - DHSTP Instruction ...
726
Appendix D Customized Function - Supplementary
Description of Electronic Cam Functions .......
728