EasyManua.ls Logo

Siemens CPU 948 User Manual

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background imageLoading...
Page #1 background image
Contents
Introduction
1
User Program
2
Program Execution
3
Operating Statuses and Program
Execution Levels
4
Interrupt and Error Diagnostics
5
Integrated Special Functions
6
Extended Data Block DX 0
7
Memory Assignment and Memory
Organization
8
Memory Access Using Absolute
Addresses
9
Multiprocessor Mode and Com-
munication in the S5-155U
10
PG Interfaces and Functions
11
Appendix
12
Indexes:
Abbreviations
Key Words
13
The List of Operations, order no.
6ES5 997-3UA22, is included
with this manual.
10/98
C79000-G8576-C848
Release 04
S5-155U
CPU 948
Programming Guide
This manual has the order number:
6ES5 998–3PR21
SIMATIC S5

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Siemens CPU 948 and is the answer not in the manual?

Siemens CPU 948 Specifications

General IconGeneral
BrandSiemens
ModelCPU 948
CategoryController
LanguageEnglish

Summary

Introduction

Area of Application for the S5-155U with the CPU 948

Describes applications and suitability of the S5-155U controller with CPU 948.

Converting User Programs of the CPU 928B for the CPU 948

Highlights differences when converting programs from CPU 928B to CPU 948.

User Program

STEP 5 Programming Language

Introduces STEP 5 language for SIMATIC S5 controllers, covering basic and supplementary operations.

Function Blocks

Describes Function Blocks (FB/FX) for recurring/complex functions, comparing them with other block types.

Program Execution

Principle of Program Execution

Explains cyclic program execution where the system calls OB 1 cyclically.

Program Organization

Describes organizing programs using OBs with conditional/unconditional calls for block processing order.

Processing the User Program

Explains CPU software tasks: START-UP, cyclic operations, and interrupt/error handling.

STEP 5 Operations with Examples

Introduces STEP 5 operations, their groups, and accumulator usage.

Semaphore Operations

Explains semaphore operations (SED/SEE) for coordinating CPU access to common memory in multiprocessor systems.

Operating Statuses and Program Execution Levels

Program Execution Levels

Provides an overview of CPU modes, processing levels, abbreviations, and priorities.

STOP Mode

Describes HARD STOP and SOFT STOP modes, their features, and LED indicators.

START-UP Mode

Covers START-UP modes: features, types (COLD, WARM RESTART), and handling of interrupts/parameters.

RUN Mode

Describes RUN mode features: user program execution, timers, counters, BASP, IPC flags, and execution levels.

Interrupt and Error Diagnostics

Frequent Errors in the User Program

Lists common STEP 5 program errors and provides tips for avoidance.

Error Information

Explains how to find error sources using LEDs, ISTACK, control bits, and BSTACK.

Error Handling Using Organization Blocks

Explains how system program calls OBs for error handling and CPU reactions.

Causes of Error and Reactions of the CPU

Details specific events interrupting processing and CPU reactions, including error OB calls and STOP mode.

Self-Test

Provides an overview of integrated self-test routines and their activation.

Integrated Special Functions

OB121: Set/Read System Time

Allows setting or reading the system time (date/time) compatible with CPU 946/947.

OB 122: "Disable Interrupts" On/Off

Prevents interrupt nesting at block/operation boundaries, affecting TIMED and PROCESS INTERRUPTS.

Memory Assignment and Memory Organization

Memory Assignment in the CPU 948

Illustrates address area distribution and user memory versions (640 Kbytes/1664 Kbytes) for CPU 948.

Memory Access Using Absolute Addresses

Multiprocessor Mode and Communication in the S5-155U

Multiprocessor Mode

Defines multiprocessor mode, usage criteria, and available communication mechanisms.

Multiprocessor Communication

Defines data block exchange between CPUs via COR C coordinator, listing integrated special functions.

PG Interfaces and Functions

Related product manuals