Programming in S5 Format
04.97
Example of conversion table
➯
data words
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
/ N FK AC GL G1 G2 G3 G4
X / t
F
FN M1 M2 M3
D
L
P
10
1
X
Y 90
01
10 000
2000 00
15
16
10
0
Z
20 000
/ 20
0
10 65
S5 format ("10" is assumed as the program number):
15
0
a a a a a a a
a a a a a a a
a a a a a a a
DW x+1
a a a a a a a
a a a a a a a
a a a a a a a
a a a a a a a
DW x+2
a a a a a
a a a a a
a a a a a
a a a a a
DW x
a a a a a a a
a a a a a a a
a a a a a a a
DW x+3
a a a a a a a
a a a a a a a
a a a a a a a
a a a a a a a
DW x+4
a a a a a a a
a a a a a a a
a a a a a a a
DW x+5
a a a a a a a
a a a a a a a
a a a a a a a
a a a a a a a
DW x+6
a a a a a a a
a a a a a a a
a a a a a a a
a a a a a a a
DW x+7
a a a a a a a
a a a a a a a
a a a a a a a
DW x+8
0
90
KY
KY
KM
KM
KY
KY
KH
KH
KH
KH
KY
KY
KY
KY
KM
KM
KY
KY
KH
KH
KH
KH
KY
KY
KY
KY
KM
KM
KY
KY
KH
KH
KH
KH
KY
KY
0
0
1
1
0
0
1
0 (255)
0
0 (255)
0
0
0
1
0
1
1
1
10
1
15
16
0 (255)
0 (255)
a a a a a a a
a a a a a a a
a a a a a a a
a a a a a a a
DW x+9
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+10
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+11
0
10
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2
0
7
0
1
0
0
0
0
0
D
0
4
3
0
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+13
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+14
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+12
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+15
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+16
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+17
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+18
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+19
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+20
0
0 (255)
0
0
1
0
0
0
0
0 (255)
0
0 (255)
0
0
0
0
0
0
0
0 (255)
10
0
0 (255)
0 (255)
0 (255)
0 (255)
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+21
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+22
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+23
0
10
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
4
0
E
0
2
0
0
0 (F)
0 (F)
0 (F)
0 (F)
0 (F)
0 (F)
0 (F)
0 (F)
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+25
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+26
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+24
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+27
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+28
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+29
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+30
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+31
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+32
1
0 (255)
1
0
0
0
0
0
0
0 (255)
0
0 (255)
0
0
0
0
0
0
0
0 (255)
10
0
0 (255)
0 (255)
0 (255)
0 (255)
a a a a a a a a
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+33
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+34
a a a a a a a a
a a a a a a a a
a a a a a a a a
DW x+35
0
20
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
A
0
0
0
0
0
4
0
1
All relevant data are on grey background. The remaining values must be defined as "0".
During read-out, the values indicated in parentheses are output.
7 – 4
©
Siemens AG 1997 All Rights Reserved 6ZB5 440-0VU02
WF 723 C (Programming Guide)