Siemens CPU 948 Programming Manual page 59

Simatic s5 s5-155u
Table of Contents

Advertisement

Permitted actual operands
Table 2-6
Permitted actual operands for function blocks
Parameter
Data type
type
BI
for an operand
I, Q
with bit address
BY
for an operand
with byte address
W
for an operand
with word address
D
for an operand
with double word address
KM
for a binary pattern (16 bits)
D
KY
for two absolute numbers,
one byte each, each in the
range from 0 to 255
KH
for a hexadecimal pattern
with a maximum of four
digits
KS
for two alphanumeric
characters
KT
for timer value (BCD-
coded) units .0 to .3 and
values 0 to 999
KC
for a counter value
0 to 999
CPU 948 Programming Guide
C79000-G8576-C848-04
Which operands can be assigned as actual operands is shown in the
following table.
Actual operands permitted
I
n.m
Q
n.m
F
n.m
IB
n
QB
n
FY
n
DL
n
DR
n
PY
n
OY
n
IW
n
QW
n
FW
n
DW
n
PW
n
OW
n
ID
n
QD
n
FD
n
DD
n
Constants
Function Blocks
input
output
flag
input byte
output byte
flag byte
data byte left
data byte right
peripheral byte
byte from extended periphery
input word
output word
flag word
data word
peripheral word
word from extended periphery
input double word
output double word
flag double word
data double word
2 - 29

Advertisement

Table of Contents
loading

Table of Contents