Siemens SIMATIC S5 Manual page 235

Positioning module 1p 247 for stepper motors
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

I
Standard Function Block FB165
Structure of data block DBx from data word DWn as an example:
DW n
DW n+l
DW n+2
DW n+3
DW n+4
DW n+5
DW n+6
DW n+7
DW n+8
DW n+9
DW n+l O
DW n+l 1
DW n+12
DW n+l 3
DW n+14
DW n+l 5
DW n+l 6
DW n+l 7
DW n+l 8
DW n+l 9
DW n+20
DW n+21
DW n+22
DW n+23
DW n+24
6-42
1 EXAMPLE
N1
X1 OOF1OOOM1O ; 1st
M02
N2
Recommended
data format
i
KF
+00025
KH
0044
KY
066,001
KF
+00000
KF
+00000
2520
KF
2031
KH
2045
5841
KH
4D50
KH
4C45
KH
KH
KH
2058
KH
3130
KH
KH
KH
3030
KH
H
4D31
300A
KH
KH
KH
204D
3032
KH
KH
; main program DB1, comment
statement
; 2nd statement
Header information
Length of the machining program, number in words
00, 'D'
'B', DB number of the machining program
Machining program error
Number of the incorrect statement
% = main program; blank hundreds
Blank (tens), '1 (ones) of the machining
program number in ASCII
Blank 'E'
'X', 'A'
'M', 'P'
'L', 'E'
'N', '1'
Blank, 'X'
'1', 'o'
'O', Blank
'F', '1'
1st statement
'o', 'o'
'O', Blank
'M', '1'
'O', <LF>
'N', '2'
Blank, 'M'
2nd statement
'o', '2'
(without DR n+24)

Advertisement

Table of Contents
loading

Table of Contents