CIP Statemachine - Lamp Legacy
Table of Contents
Tutorial | Actifsource Tutorial – CIP Statemachine - Lamp |
---|---|
Required Time | - 60 Minutes |
Prerequisites | - Actifsource Tutorial – Actifsource Tutorial – Installing Actifsource -Actifsource Tutorial – Simple Service |
Goal | - Creating a state machine using the CIP method - Generating real time C code for any embedded system |
Topics covered | - Setting up a new CIP Project - Communicating with the Outer World - Specify the State Machine - Generating State Machine Code |
Notation | ↪ To do ⓘ Information • Bold: Terms from actifsource or other technologies and tools • Bold underlined: actifsource Resources • Monospaced : User input• Italics: Important terms in current situation |
Disclaimer | The authors do not accept any liability arising out of the application or use of any information or equipment described herein. The information contained within this document is by its very nature incomplete. Therefore the authors accept no responsibility for the precise accuracy of the documentation contained herein. It should be used rather as a guide and starting point. |
Contact | Actifsource AG Täfernstrasse 37 5405 Baden-Dättwil Switzerland www.actifsource.com |
Trademark | Actifsource is a registered trademark of Actifsource AG in Switzerland, the EU, USA, and China. other names appearing on the site may be trademarks of their respective owners. |
Overview
-
Learn how to specify a simple state machine
-
Example
- Button to turn on and off a lamp
- Turning off the lamp shall be delayed
-
CIP Method
-
The CIP System is the root element
-
The CIP System consists of Clusters
- Clusters are used to model distributed state machines
-
The CIP Cluster consists of Processes
- The process declares the state of the state machine
-
The CIP Process consists of Modes
- Modes are used for different situations like normal, error, run-in, run-out
- The mode declares the transitions between the states
-
Part I Setting up a new CIP Project
Part II Communicating with the Outer World
Part III Specify the State Machine
Part IV Generating State Machine Code