81 / 97
Introduction Manual ENC66
eckelmann.de
Tab elle 46:
Table 46: Task for the M-functions
M-function Command function Programming in the PLC program
M15 Lift tool Output „Lower tool“ (O_ToolDown) = 0
Wait for„Tool up“ (I_ToolUp) = 1
M14 Lower tool Output „Lower tool“ (O_ToolDown) = 1
Wait for „Tool down“ (I_ToolDown) = 1
M30 Program end --
10.5 Calling of the program
Upon a double-click on CNC_Test.pro, the program opens in CoDeSys. The program com-
prises a sequential function chart (SFC) with the two steps „Init“ and „Main“
Abbildung 58:
Figure 58: Sequential function chart in E-Tools PLC/2
10.6 Sequential function cart
A program in the language sequential function chart comprises the principle elements step,
transition and branching. In this language, elements can be included by means of the right
mouse key.
The program CNC_Test comprises an initializatio
n block with 2 steps and a transition.
Tab elle 47:
Element Name contents of the
element
Comment
Step Init Initialization of the sys-
tem variable
Initialization program
Transition True Switching to the next step „Main“
Table 47: Elements of the sequential function chart