7.1 Sample S7 Project
7.1.1 Introduction
On our website
, you can find an STEP 7 sample project which
provides a PROFINET network with an IO-controller and the AKD as IO-device.
The sample project can help you to learn:
l
how to enable the drive
l
how to write/read a parameter via the acyclic channel
l
how the cyclic data exchange is done
The sample project is based on a CPU-315 controller, which easily can be changed to
another PROFINET supporting controller.
Kollmorgen does not guarantee correctness.
7.1.2 Project description
You will find in the STEP 7 program three organization blocks that need to be implemented.
l
OB1, which is used for the main program and is a cyclic process.
l
OB40, which is used for any process alarm (needs to be implemented the CPU from
STOP to RUN).
l
OB82, which catches the diagnostic alarms.
Two variable tables are included
l
TG1_IO_DATA can be used to control easily the IO data between the plc and the AKD
l
PARAMETER_ACCESS table is used for read/write PNU’s via PROFINET
In the hardware manager, you can see the following setup :
AKD PROFINET | 7 Sample Projects
Kollmorgen | December 2014
47
Содержание AKD PROFINET RT Communication
Страница 8: ...AKD PROFINET 2 General 8 Kollmorgen December 2014...
Страница 30: ...AKD PROFINET 6 PROFIDRIVE over PROFINET IO 6 3 General State Machine 30 Kollmorgen December 2014...
Страница 46: ...AKD PROFINET 7 Sample Projects 7 Sample Projects 7 1 Sample S7 Project 47 46 Kollmorgen December 2014...
Страница 52: ...This page intentionally left blank AKD PROFINET 9 Index 52 Kollmorgen December 2014...