@@ -42,6 +42,11 @@ classes: {
4242 style : { stroke : "#000000 "; stroke-width : 2 ; fill : "#ffffff " }
4343 }
4444
45+ electronic_component : {
46+ shape : parallelogram
47+ style : { stroke : "#4b0082 "; stroke-width : 2 ; fill : "#e8e9ff " }
48+ }
49+
4550 subsystem : {
4651 shape : rectangle
4752 style : {
@@ -67,9 +72,26 @@ classes: {
6772 }
6873 }
6974
75+ cabinet : {
76+ shape : rectangle
77+ style : { stroke : "#696969 "; stroke-width : 3 ; fill : "#d3d3d3 " }
78+ }
79+
80+ room : {
81+ shape : rectangle
82+ style : {
83+ stroke : "#daa520 "
84+ stroke-width : 2
85+ stroke-dash : 4
86+ fill : "#f5f5dc "
87+ }
88+ }
89+
7090 # Verbindungs-Klassen für verschiedene Leitungstypen
7191 luft_leitung : { style .stroke : "#00ffff "; style .stroke-width : 3 ; style .stroke-dash : 5 }
7292 strom_230v : { style .stroke : "#ff0000 "; style .stroke-width : 4 }
93+ dc_24v : { style .stroke : "#32cd32 "; style .stroke-width : 3 }
94+ dc_48v : { style .stroke : "#006400 "; style .stroke-width : 3 ; style .stroke-dash : 2 }
7395 control_signal : { style .stroke : "#0000ff "; style .stroke-width : 2 ; style .stroke-dash : 2 }
7496 optischer_pfad : { style .stroke : "#ff1493 "; style .stroke-width : 3 ; style .stroke-dash : 2 }
7597}
@@ -100,12 +122,21 @@ Laser_Cutter: {
100122 }
101123 }
102124
103- # Y-Achse
104- Y_Achse : {
105- class : axis
106- label : "Y-Achse "
107-
108- # Motor für Y-Achse
125+ # Laser Kammer
126+ Laser_Kammer : {
127+ class : room
128+ label : "Laser Kammer "
129+
130+ Y_Achse : {
131+ class : axis
132+ label : "bewegliche Y-Achse "
133+ }
134+
135+ Y_Schleppkette : {
136+ class : mechanical_component
137+ label : "Y-Schleppkette "
138+ }
139+
109140 Y_Motor : {
110141 class : motor
111142 label : "Y-Motor "
@@ -148,7 +179,7 @@ Laser_Cutter: {
148179
149180 # Laser Kompartment
150181 Laser_Kompartment : {
151- class : compartment
182+ class : room
152183 label : "Laser Kompartment "
153184
154185 High_Power_Laser : {
@@ -162,6 +193,47 @@ Laser_Cutter: {
162193 }
163194 }
164195
196+ # Electrical Cabinet
197+ Electrical_Cabinet : {
198+ class : room
199+ label : "Electrical Cabinet "
200+
201+ PSU_24V : {
202+ class : electronic_component
203+ label : "24V Netzteil "
204+ }
205+
206+ PSU_48V : {
207+ class : electronic_component
208+ label : "48V Netzteil "
209+ }
210+
211+ Laser_PSU : {
212+ class : electronic_component
213+ label : "Laser PSU "
214+ }
215+
216+ Ruida_Controller : {
217+ class : electronic_component
218+ label : "Ruida Controller "
219+ }
220+
221+ Schrittmotor_Treiber_X : {
222+ class : electronic_component
223+ label : "Schrittmotor Treiber X "
224+ }
225+
226+ Schrittmotor_Treiber_Y : {
227+ class : electronic_component
228+ label : "Schrittmotor Treiber Y "
229+ }
230+
231+ Schrittmotor_Treiber_Z : {
232+ class : electronic_component
233+ label : "Schrittmotor Treiber Z "
234+ }
235+ }
236+
165237 # Sensoren
166238 Sensoren : {
167239 class : subsystem
@@ -186,3 +258,11 @@ Laser_Cutter: {
186258}
187259
188260# Verbindungen zwischen Blöcken
261+ Laser_Cutter .Electrical_Cabinet .PSU_24V -> Laser_Cutter .Electrical_Cabinet .Ruida_Controller : { class : dc_24v }
262+ Laser_Cutter .Electrical_Cabinet .PSU_48V -> Laser_Cutter .Electrical_Cabinet .Schrittmotor_Treiber_X : { class : dc_48v }
263+ Laser_Cutter .Electrical_Cabinet .PSU_48V -> Laser_Cutter .Electrical_Cabinet .Schrittmotor_Treiber_Y : { class : dc_48v }
264+ Laser_Cutter .Electrical_Cabinet .Ruida_Controller -> Laser_Cutter .Electrical_Cabinet .Laser_PSU : { class : control_signal }
265+ Laser_Cutter .Electrical_Cabinet .Laser_PSU -> Laser_Cutter .Laser_Kompartment .High_Power_Laser : { class : control_signal }
266+ Laser_Cutter .Electrical_Cabinet .Ruida_Controller -> Laser_Cutter .Electrical_Cabinet .Schrittmotor_Treiber_X : { class : control_signal }
267+ Laser_Cutter .Electrical_Cabinet .Ruida_Controller -> Laser_Cutter .Electrical_Cabinet .Schrittmotor_Treiber_Y : { class : control_signal }
268+ Laser_Cutter .Electrical_Cabinet .Ruida_Controller -> Laser_Cutter .Electrical_Cabinet .Schrittmotor_Treiber_Z : { class : control_signal }
0 commit comments