Pipe Network 2-Axes Template with ST only

PLC Programs

The 2-axes Pipe Network template has a STClosed"Structured text" A high-level language that is block structured and syntactically resembles Pascal program (called Main) that initializes, starts and runs the motion.

PN Template with ST - Main

Figure 7-38: PN Template with ST - Main

Motion

The template has a motion profile defined with the graphical Pipe Network editor.

For more details, see Pipe Blocks Description

Figure 7-39: PN Template - Motion

The motion profile contains four different pipe blocks:

  • The Master (see call out ) is the generator that allows a synchronization between the two pipes ( and ).
  • The Gear modifies (with ratio and offset) the flow of values issued from the Master.
  • The Convertor controls the position of the axis.
  • The Axis gives access to the physical remote drive

Control Panel

For more details, see Design the Control Panel with the Internal Control Panel Editor

PN Template - Control Panel

Figure 7-40: PN Template - Control Panel

Call out#

Description

Allows to choose how to run the axes between automatic and manual modes

In manual mode, you can set the speed. You can also set an absolute and relative move. When you click those commands, the two axes move to the specified position and the speed is reset to 0

In automatic mode, you can set the speed

When you click the emergency button, the machine state becomes OFF (see call out ) and the two axes stop running

Table 7-36: PN Template - Control Panel

Based on the template, the project can be run:

HMI

Also included in the project template is an HMIClosed"Human-machine interfaces " Also known as computer-human interfaces (CHI), and formerly known as man-machine interfaces, they are usually employed to communicate with PLCs and other computers, such as entering and monitoring temperatures or pressures for further automated control or emergency response screen for the AKI terminals created in the KVB (Kollmorgen Visualization Builder) environment.

The KVB software is a separate installation from the KAS IDEClosed"Integrated development environment" An integrated development environment is a type of computer software that assists computer programmers in developing software. IDEs normally consist of a source code editor, a compiler and/or interpreter, build-automation tools, and a debugger. KVB can be opened from within KAS IDE by double-clicking on the KVBProject item in the project tree.

The project can be run in the KVB programming environment after the KAS IDE program has started running. Click on the Run button in the Project ribbon to start the program.

A screen, localized in English and German, is included which duplicate the controls on the IDE Internal Control panel screen.