DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC as a Linux Computer January.

Slides:



Advertisements
Similar presentations
Operating System.
Advertisements

Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
What You Will Learn Components of a computer’s system software The importance of an operating system Functions of an operating system Types of user interfaces.
Introduction to Unix (CA263) File System
Exploring the UNIX File System and File Security
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
The UNIX File System.
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
Guide To UNIX Using Linux Third Edition
Linux Install. Resources Guide to Linux Installation and Administration, Nicholas Wells, Course Technology, 2000.
Operating Systems.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
Chapter 8 Operating Systems and Utility Programs By: James Granahan.
Systems Software Operating Systems.
The Operating System The operation system (OS) is a set of programs that coordinates: Hardware functions Interaction between application software and computer.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
Chapter 4: Operating Systems and File Management 1 Operating Systems and File Management Chapter 4.
The Operating System. Operating Systems (F) What you need to know about –operating system as a program; –directory/folder.
File System and Directory Structure in Linux. What is File System In a computer, a file system is the way in which files are named and where they are.
1 Input/Output. 2 Principles of I/O Hardware Some typical device, network, and data base rates.
Chapter 3.1:Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access.
Operating Systems Operating System
Guide To UNIX Using Linux Fourth Edition
Computer Concepts 2013 Chapter 4 Operating Systems and File Management.
Chapter 4 Operating Systems and File Management. 4 Chapter 4: Operating Systems and File Management 2 Chapter Contents  Section A: Operating System Basics.
Computer Concepts 2013 Chapter 4 Operating Systems and File Management.
Computing Fundamentals Module A Unit 2: Using Windows Vista LessonTopic 8Looking at Operating Systems 9Looking at the Windows Desktop 10Starting Application.
User C Programs in Power PMAC December 2013
4 1 Operating System Activities  An operating system is a type of system software that acts as the master controller for all activities that take place.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Project Management November.
Power PMAC Electronic Cam Tables April 2014
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Data Structures January 2012.
Lecture 2 “Structure of computer” Informatics. Computer is  general purpose device that can be programmed to carry out a set of arithmetic or logical.
CHAPTER FOUR COMPUTER SOFTWARE.
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Talking to Power PMAC November 2013.
How Hardware and Software Work Together
Operating Systems TexPREP Summer Camp Computer Science.
Operating System Basics section 6A. This lesson includes the following sections: Running Programs Managing Files Managing Hardware Utility Software.
Chapter Two Exploring the UNIX File System and File Security.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Operational Summary November.
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Storing data on your computer & network. Storage devices Hardware Hard drive Flash drive Tape File server (HD) SAN NAS Software System software Windows.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
Outcome 1: Describe the structure and function of an operating system.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
Digital Communication Systems Comp Functions of the Operating System.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Shared Memory December 2013.
MINIX Presented by: Clinton Morse, Joseph Paetz, Theresa Sullivan, and Angela Volk.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
OPERATING SYSTEM BASICS. What is an operating system and what does it do? The operating system has two basic functions: –communicates with the PC.
Booting Process Chapter 4: System Software Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
LINUX Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
TECHNOLOGY IN ACTION. Chapter 5 System Software: The Operating System, Utility Programs, and File Management.
Computers: Tools for an Information Age
Operating System Review
Operating System.
UBUNTU INSTALLATION
TexPREP Summer Camp Computer Science
Operating System Review
OPERATING SYSTEMS.
Exploring the UNIX File System and File Security
Operating System Review
Presentation transcript:

DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC as a Linux Computer January 2012

DELTA TAU Data Systems, Inc. 2 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Linux OS Linux is an open-source, public-domain operating system Standard Linux has a non-preemptive multi-tasking kernel –The kernel provides an execution environment for different applications –The kernel implements services and interfaces for the applications –Without pre-emption, cannot do hard real-time control tasks (e.g. servos) Power PMAC uses pre-emptive real-time kernel replacement –Xenomai open-source real-time kernel –Handles all hardware interrupts itself, blocks them from regular Linux –Runs single real-time application to handle Power PMAC “foreground” tasks (phase, servo, real-time interrupt – built-in and user-written) –Releases to regular Linux as “general-purpose OS” (GPOS) when interrupt tasks are done Linux GPOS can run multiple applications –Dedicated Power PMAC “background tasks” –User C subroutines and application programs

DELTA TAU Data Systems, Inc. 3 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Basic Linux Commands lsList directory cdChange directory mkdirMake directory rmdirRemove directory rmDelete file mvMove or rename file moreList contents of text file ps -eList active process pkillKill process whereisShow full path to file top –d 1Display task manager window

DELTA TAU Data Systems, Inc. 4 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Linux File System Types ext2 (standard Linux file system) –Write-protected with hardware jumper –Protects against flash wear, user corruption of OS files tmpfs (temporary file system) –Used for active memory of files in RAM, lost on power cycle vfat (Microsoft fat32 file system) –For generic USB stick access smbfs (Samba file system) –So can access Microsoft-type network directly nfs (Linux network file system) –So can access Linux-type network directly

DELTA TAU Data Systems, Inc. 5 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Key Power PMAC Linux File Folders /opt – for Power PMAC software package, add-on packages /var – for variable data stored by utilities and servers /media – mount point for externally attached storage media –/media/usbdisk – mount point for USB memory stick –/media/sdcard – mount point for Secure Digital memory card –/media/shared – mount point for PC’s shared file folder /root – administrator home folder /bin – for essential Linux user commands /dev – for device drivers /lib – for essential libraries

DELTA TAU Data Systems, Inc. 6 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data The opt/ppmac File Folder /opt/ppmac is folder for Power PMAC software package Power PMAC Linux applications in this folder include: –gpascii – Basic ASCII communications terminal to controller –gather_csv – Data gathering reporting program –projpp – Application and project loader program –gppmac – Background Power PMAC task execution program –stepmove, parabolicmove – Tuning-move programs –getsends – Handles sent strings from Power PMAC script programs –geterrors – Monitors for alerts of specified error conditions Power PMAC real-time drivers also in this folder /opt/ppmac/usrflash has saved (non-volatile) storage of user’s application – write-protected except during save operation

DELTA TAU Data Systems, Inc. 7 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data The var/ftp/usrflash File Folder /var/ftp/usrflash is top-level folder for active user configuration Volatile folder in RAM (not in flash – despite folder name) IDE loads project files into this directory on build/download Copied from opt/ppmac/usrflash on power-on/reset –Commands in files then executed – including loading of programs into controller buffer Copied to opt/ppmac/usrflash on save command Sub-directory /Project contains user programs and project files –Sub-directory /PMAC Script Language contains Script motion and PLC programs –Sub-directory /C Language contains C routines and application programs –Sub-directory /Configuration contains project-management files Sub-directory /Database contains system data for project Note that programs can be loaded directly into controller program buffer, bypassing file system (but these cannot be saved)

DELTA TAU Data Systems, Inc. 8 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Files and Folders for Power PMAC Projects Project downloading copies files from PC into /var/ftp/usrflash/ folders in RAM Script commands are then executed from these files, loading program commands into active buffers save command copies files into /opt/ppmac/usrflash/ folders in flash memory (previous versions retained) Power-up/reset copies files from flash into RAM, then executes Script commands from these files Direct loading of program commands permitted, but no save possible

DELTA TAU Data Systems, Inc. 9 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Modules.ko files are kernel objects (device drivers)‏.so files are shared libraries (dll)‏ Low Latency Kernel Space (20us max)‏ High Latency User Space (100us max)‏ rtpmac.ko usralgo.ko libppmac.ko Shared Memory pshm libppmac.ko gppmac libppmac.so RTI semaphore CPLC thread RTI thread C Application librti.so usralgo.ko libplcc.so Bkg thread

DELTA TAU Data Systems, Inc. 10 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Modules rtpmac.ko – Interrupt handler, a few driver calls – PMAC phase, servo, RTI –libppmac.ko Useful kernel driver function library (i.e. Custom Math Library)‏ Functions in libppmac.ko can be called from user custom algorithms –usralgo.ko Custom servo and phase routines written by customer in C gppmac – executes functions in library to create PMAC background –libppmac.so RTI thread - librti.so – custom routine created by IDE loaded by libppmac.so if UserAlgo.RtiCplc = 1 –Custom routine triggered by semaphore (special OS flag posted every RTI)‏ Cplc thread - libplcc.so – custom routine created by IDE loaded by libppmac.so if UserAlgo.BgCplc = 1 –Custom routine triggered between each background Script PLC scan Background Thread –Executes background Script PLC programs –Triggers CPLC thread