This thesis consists of programing a programmable logical controller (PLC) from
Phoenix Contact using modern programing languages, specifically Matlab Simulink and Python. It describes PLCnext technology which among other functionalities includes integrated development environment PLCnext Engineer. Amira
PS600 laboratory plant is used as an example, which resembles a loading crane.
First, the control of its position is implemented using Matlab Simulink, whose
program is imported in PLCnext Engineer as a library. Afterwards, a sequence
of positions is realized with Python. Python runs seperately on the PLC and is
communicating with the main program via the pyPLCn library. The plant can
be operated via a dedicated human-machine interface (HMI), which is developed
in PLCnext Engineer.
|