Table of contents
Introduction...................................................................................................................................................3
1Fundamental safety instructions...................................................................................................................7
1.1 General safety instructions.......................................................................................................7
1.2 Industrial security.....................................................................................................................7
2Description....................................................................................................................................................9
2.1 General....................................................................................................................................9
2.2 Product description..................................................................................................................9
3Program......................................................................................................................................................15
3.1 Operating the command interface of the IE/AS-Interface Link PN IO AS-Interface master......15
3.2 Operating the command interface of the AS-Interface master CP 343-2 P, DP/AS-
Interface Link 20E/Link Advanced..........................................................................................17
3.2.1 Integrating the _ASI_cmdInterface function block and the application examples in the
user project............................................................................................................................17
3.2.2 Addressing the AS-Interface master (CP 343-2 P, DP/AS-Interface Link 20E/Link
Advanced)..............................................................................................................................18
4 Parameter assignment,..............................................................................................................................21
4.1 _ASI_cmdInterface function block..........................................................................................21
4.2 Call example for the FB _ASI_cmdInterface..........................................................................24
5 Configuring.................................................................................................................................................27
5.1 Setup and connection............................................................................................................27
5.2 Adding the AS-Interface master modules to the SIMOTION project......................................30
6 Example of an application..........................................................................................................................33
6.1 General information on the application example....................................................................33
6.2 Execution of the example project programs...........................................................................36
6.2.1 Example program for serving the command interface...........................................................36
6.2.2 Example program for reading and writing analog values.......................................................36
6.2.3 Example program for reading and writing digital values........................................................37
7 Error messages / diagnosis........................................................................................................................39
7.1 Error and status messages of the FB _ASI_cmdInterface.....................................................39
7.2 Diagnosis...............................................................................................................................40
A Appendix.....................................................................................................................................................45
A.1 SIMOTION and SIMATIC names...........................................................................................45
A.2 List of abbreviations...............................................................................................................45
Index...........................................................................................................................................................47
Extension to the command interface for AS-Interface master modules
Function Manual, 01/2015 5