M Functions - Siemens SIMATIC S7-300 Manual

Fm 354 servo drive positioning module
Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

M functions

Up to three M functions can be programmed in one traversing block, with
any assignment of M1, M2 and M3. The output sequence of the M functions
is always M1 M2 M3 (for information about output see Section 9.1).
The following figure shows an example.
Table 10-2
0
2, 30
1, 3...17
18
19...29,
31...96
97, 98
99
M0, M2, M18 and M30 are always output at the end of the traversing move-
ment.
M0, M2, M18 and M30 are mutually exclusive within a single block.
Stop at end of
If M no. 0 is programmed in a traversing block, the program stops at the end
block M0
of the traversing block and M0 is output. Only a new START edge causes the
traversing program to be continued.
End of program
If M2 or M30 is programmed in a block, then after positioning is complete
M2, M30
the M function is output with a subsequent programmed stop and a jump
back to the start of the program. The Start edge can restart the program. M2
or M30 is always the last output in the block.
If the program is called up as a subprogram, the action skips to the main pro-
gram. In this case M2 or M30 is not output.
FM 354 Servo Drive Positioning Module
/
N
G1
G2
G3
10
90
34
43
M Functions
M No.
Stop at end of block
End of program
User functions
Endless loop (skip back to start of program)
User functions
Change signal programmable as digital output
User functions
Writing Traversing Programs
X/t
F
M1
100 000
400 00
10
M Function
M2
M3
D
11
12
1
M Function
group
1, 2, 3
1, 2, 3
10-13

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents