EasyManuals Logo

Siemens CPU 948 User Manual

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #69 background imageLoading...
Page #69 background image
Note
Before accessing a data word, you must open the data block you
require in your program. This is the only way that the CPU can
find the correct data word.
The referenced data word must be contained in the opened block,
otherwise the system program detects a load or transfer error.
With load and transfer operations, you can only access data word
numbers up to 255!
An opened data block remains valid until one of the following
events occur:
a) a second data block is opened
or
b) the block, in which the data block was
opened, is completed with ’BE’, ’BEC’
or ’BEU’.
Examples
Example 1: transferring data words
You want to transfer the contents of data word
DW 1 from data block DB 10 to data word DW 1 of
data block DB 20.
Enter the following statements:
:C DB 10 (open DB 10)
:L DW 1 (load the contents of DW 1 into
: ACCU 1)
:C DB 20 (open DB 20)
:T DW 1 (transfer the contents of ACCU 1 to
: DW 1)
:
Data Blocks
CPU 948 Programming Guide
C79000-G8576-C848-04
2 - 39

Table of Contents

Questions and Answers:

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

Related product manuals