MTN6_PLC/PLC/Simulations/APF/OIP/APF_Simulation.tscn
2025-07-15 15:51:20 +04:00

250 lines
9.0 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://cq1fmnclqo0ud"]
[ext_resource type="PackedScene" uid="uid://dyhvoundu2kqc" path="res://parts/Building.tscn" id="1_gqsni"]
[ext_resource type="PackedScene" uid="uid://bqlkj4ar8q1ws" path="res://parts/assemblies/BeltConveyorAssembly.tscn" id="2_lfim2"]
[ext_resource type="Script" uid="uid://8vi3srqsvwmt" path="res://apf.gd" id="3_f50vn"]
[ext_resource type="PackedScene" uid="uid://co2mqmdwpn57w" path="res://parts/BoxSpawner.tscn" id="4_qrepp"]
[ext_resource type="PackedScene" uid="uid://bl73u0rvt2orv" path="res://parts/Despawner.tscn" id="5_tcev8"]
[ext_resource type="PackedScene" uid="uid://gddgyvex6gdj" path="res://parts/PushButton.tscn" id="6_e747n"]
[node name="Simulation" type="Node3D"]
[node name="Building" parent="." instance=ExtResource("1_gqsni")]
[node name="FL1038_2" parent="." instance=ExtResource("2_lfim2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.70003, 0.000999277, -0.454722)
local_floor_plane = Plane(0, 1, 0, -2.0009992)
speed = 1.3716
enable_comms = true
speed_tag_name = "FL1038_2_OIP"
running_tag_name = ""
size = Vector3(14.8874, 0.5, 1.524)
[node name="Node" type="Node" parent="." node_paths=PackedStringArray("FL1038_2", "box_spawner")]
script = ExtResource("3_f50vn")
FL1038_2 = NodePath("../FL1038_2")
box_spawner = NodePath("../BoxSpawner")
[node name="BoxSpawner" parent="." instance=ExtResource("4_qrepp")]
transform = Transform3D(0.908734, 2.0902e-09, -8.46324e-10, -2.0902e-09, 0.908734, 8.04008e-09, 8.46324e-10, -8.04008e-09, 0.908734, -7.86232, 0.504191, -0.458427)
[node name="Despawner" parent="." instance=ExtResource("5_tcev8")]
transform = Transform3D(2, 0, 0, 0, 1, 0, 0, 0, 2, 3.18745, 0.5, -0.3678)
[node name="Disconected" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35205, 0.0894268, 0.468417)
text = "Disconected"
toggle = true
pressed = true
button_color = Color(0.260259, 0.3398, 0.386631, 1)
enable_comms = true
pushbutton_tag_name = "Disconnected_OIP"
[node name="MCM_Start_Button" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.9369, 0.0855748, 0.444525)
text = "MCM Start"
button_color = Color(0.0352941, 1, 0, 1)
enable_comms = true
pushbutton_tag_name = "MCM_Start_PushButton_OIP"
[node name="Jammed" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.0964, 0.107454, 0.443829)
text = "Jammed"
toggle = true
button_color = Color(0.989998, 0.947781, 0.949246, 1)
enable_comms = true
pushbutton_tag_name = "TOGGLE_JAMMED_OIP"
[node name="Estop" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.75448, 0.0942386, 0.480748)
text = "Estop"
toggle = true
pressed = true
button_color = Color(0.972549, 0, 0, 1)
enable_comms = true
pushbutton_tag_name = "EStopped_OIP"
[node name="Encoder_Fault" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.67273, 0.108256, 0.443829)
text = "Encoder_Fault"
toggle = true
enable_comms = true
pushbutton_tag_name = "TOGGLE_ENCODER_FAULT_OIP"
[node name="Full" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.25571, 0.108833, 0.443829)
text = "FULL"
toggle = true
button_color = Color(0, 0, 1, 1)
enable_comms = true
pushbutton_tag_name = "TOGGLE_FULL_OIP"
[node name="Interlock" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.9392, -0.308646, 0.440302)
text = "Interlock"
toggle = true
pressed = true
button_color = Color(0, 1, 0.25098, 1)
enable_comms = true
pushbutton_tag_name = "TOGGLE_INTERLOCK_OIP"
[node name="VFD_Fault_Reset" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.34432, -0.305163, 0.469469)
text = "VFD_Fault_Reset"
button_color = Color(0, 0.988235, 0, 1)
enable_comms = true
pushbutton_tag_name = "VFD_Fault_Reset_Button_OIP"
[node name="VFD_Fault" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.3405, 0.470611, 0.483969)
text = "VFD Fault"
toggle = true
enable_comms = true
pushbutton_tag_name = "TOGGLE_VFD_FAULT_OIP"
[node name="Power_Saving" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.44535, 0.0722519, 0.397527)
text = "Power_Saving"
toggle = true
button_color = Color(0.87658, 0.000391592, 0.828084, 1)
enable_comms = true
pushbutton_tag_name = "TOGGLE_POWER_SAVING_MODE_OIP"
[node name="StopButton" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.09258, 0.0938599, 0.434032)
enable_comms = true
pushbutton_tag_name = "Station_Stop_PB_OIP"
[node name="StartButton" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.42198, 0.09431, 0.44369)
text = "START"
button_color = Color(0, 1, 0, 1)
enable_comms = true
pushbutton_tag_name = "Station_Start_PB_OIP"
[node name="Start_Stop_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.2373, 0.44058, 0.716726)
text = "Start/Stop
"
font_size = 20
[node name="VFD_Fault_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.32918, 0.758028, 0.627988)
text = "VFD Fualt
"
font_size = 20
[node name="Power_Saving_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.42426, 0.430885, 0.499979)
text = "Power
Saving
"
font_size = 20
[node name="Estop_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.77729, 0.422073, 0.521624)
text = "Estop"
font_size = 20
[node name="Disconect_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.3465, 0.266181, 0.766382)
text = "Disconected"
font_size = 20
[node name="VFD_Fault_Reset_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.34581, -0.59562, 0.751668)
text = "VFD Fault
Reset
"
font_size = 20
[node name="Jammed_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.13238, 0.456212, 0.829814)
text = "Jammed"
font_size = 20
[node name="Encoder_Fault_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.6845, 0.461905, 0.744063)
text = "Encoder
Fault"
font_size = 20
[node name="Full_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.25618, 0.411116, 0.655028)
text = "Full"
font_size = 20
[node name="MCM_Start_Button_Label" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.631, 0.111411, 0.64058)
text = "MCM Start Button"
font_size = 20
[node name="Interlock_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.3954, -0.266106, 0.682187)
text = "Interlock"
font_size = 20
[node name="Stop_Auto_Restart" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.37441, 0.083721, 0.44369)
text = "STOP Auto Restart"
toggle = true
enable_comms = true
pushbutton_tag_name = "TOGGLE_STOP_AUTO_RESTART_OIP"
[node name="Stop_Auto_Restart_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.40115, 0.57851, 0.656321)
text = "Stop
Auto
Restart"
font_size = 20
[node name="PushButton" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.90528, 0.0809799, 0.423148)
text = "Zero_Speed"
toggle = true
button_color = Color(0, 1, 0.815686, 1)
enable_comms = true
pushbutton_tag_name = "TOGGLE_ZERO_SPEED"
[node name="Zero_Speed_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.9252, 0.477404, 0.548596)
text = "Zero
Speed"
font_size = 20
[node name="Run_UP_Enabled" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.9379, -0.724683, 0.441637)
text = "Run Up Enabled"
toggle = true
pressed = true
button_color = Color(0, 1, 0, 1)
enable_comms = true
pushbutton_tag_name = "TOGGLE_RUN_UP_ENABLED"
[node name="Run_UP_Enabled_Button" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.4135, -0.641298, 0.63195)
text = "Run Up
Enabled"
font_size = 20
[node name="MCM_Stop_Button" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.5194, 0.085152, 0.431983)
text = "MCM_Stop_Button"
enable_comms = true
pushbutton_tag_name = "MCM_Stop_PushButton_OIP"
[node name="MCM_Stop_Button_Label" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.4351, 0.426929, 0.651285)
text = "MCM Stop Button"
font_size = 20
[node name="Despawner2" parent="." instance=ExtResource("5_tcev8")]
transform = Transform3D(2, 0, 0, 0, 1, 0, 0, 0, 2, -12.0592, 0.5, -0.368497)
[node name="PushButton2" parent="." instance=ExtResource("6_e747n")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.4803154, 0.08222163, 0.44355246)
text = "DPM Faulted"
toggle = true
enable_comms = true
pushbutton_tag_name = "TOGGLE_DPM_FAULT_OIP"