Siemens SINUMERIK 880 Programming Manual page 209

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

11 Programming of Cycles
11.6 Data transfer: System memory into R parameter
Main group 3/subgroup a: Read PLC signal words in R parameters
@3a0 <Var> <Value 1> <Value 2> <Value3>
The state of an input word in the PLC is read in the parameter defined by <Var>. The
PLC number is defined by <Value 1> and the word address by <Value 2>. The
dimension identifier <Value 3> specifies how the state of the PLC signal word is to be
read.
Definition of dimension identifier <Value 3>:
<Value 3>
Fixed point:
0
Value without decimal point
1
Value with decimal point
2
1 place after the decimal point
3
2 places after the decimal point
4
3 places after the decimal point
5
4 places after the decimal point
6
5 places after the decimal point
7
6 places after the decimal point
8
7 places after the decimal point
9
8 places after the decimal point
Example:
@3a0 R50
K1
K3
@3a1 <Var> <Value 1> <Value 2> <Value3>
The state of an output word in the PLC is read in the parameter defined by <Var>. The
PLC number is defined by <Value 1> and the word address by <Value 2>. The
dimension identifier <Value 3> specifies how the state of the PLC signal word is to be
read.
@3a2 <Var> <Value 1> <Value 2> <Value3>
The state of a peripheral word in the PLC is read in the parameter defined by <Var>. The
PLC number is defined by <Value 1> and the word address by <Value 2>. The
dimension identifier <Value 3> specifies how the state of the PLC signal word is to be
read.
Definition of the dimension identifier <Value 3>: see @3a0
If the "Read PLC peripheral word" command (@3a2) addresses a word
which is not present in the PLC, alarm 3004 "CL800 error" is output.
11–22
<Value 3>
100
101
102
103
104
105
106
107
108
109
K100
The state of the defined PLC input word is read in R50
in BCD format.
© Siemens AG 1991 All Rights Reserved
BCD
Value without decimal point
Value with decimal point
1 place after the decimal point
2 places after the decimal point
3 places after the decimal point
4 places after the decimal point
5 places after the decimal point
6 places after the decimal point
7 places after the decimal point
8 places after the decimal point
6ZB5 410-0HD02
SINUMERIK 880, (PG)
05.91

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw 6Sinumerik 880 ga2Sw 1

Table of Contents