From 54fa16fa77545f1a4174316cacc8b0a2ca8aa760 Mon Sep 17 00:00:00 2001 From: "gigi.mamaladze" Date: Sat, 14 Jun 2025 17:00:43 +0400 Subject: [PATCH] Updated VFD --- PLC/Simulations/VFD/OIP/VFD_Simulation.tscn | 25 +- .../VFD/PLC/AOIs/AOI_FLIP_FLOP_AOI.L5X | 2 +- PLC/Simulations/VFD/PLC/AOIs/AOI_MCM_AOI.L5X | 2 +- .../VFD/PLC/AOIs/AOI_SIO_FIO_AOI.L5X | 2 +- PLC/Simulations/VFD/PLC/AOIs/AOI_VFD_AOI.L5X | 153 +++++---- .../VFD/PLC/UDTs/DPM_DataTypes.L5X | 2 +- .../VFD/PLC/UDTs/MCM_DataTypes.L5X | 2 +- .../VFD/PLC/UDTs/SIO_FIO_DataTypes.L5X | 2 +- .../VFD/PLC/UDTs/VFD_DataTypes.L5X | 42 +-- PLC/Simulations/VFD/PLC/VFD.L5X | 296 ++++++++++-------- 10 files changed, 287 insertions(+), 241 deletions(-) diff --git a/PLC/Simulations/VFD/OIP/VFD_Simulation.tscn b/PLC/Simulations/VFD/OIP/VFD_Simulation.tscn index 0005b70..939ebe1 100644 --- a/PLC/Simulations/VFD/OIP/VFD_Simulation.tscn +++ b/PLC/Simulations/VFD/OIP/VFD_Simulation.tscn @@ -1,9 +1,9 @@ -[gd_scene load_steps=7 format=3 uid="uid://drxrdn6lwbjih"] +[gd_scene load_steps=7 format=3 uid="uid://cq1fmnclqo0ud"] [ext_resource type="PackedScene" uid="uid://dyhvoundu2kqc" path="res://parts/Building.tscn" id="1_adq3x"] [ext_resource type="PackedScene" uid="uid://bqlkj4ar8q1ws" path="res://parts/assemblies/BeltConveyorAssembly.tscn" id="3_pvrhq"] [ext_resource type="PackedScene" uid="uid://co2mqmdwpn57w" path="res://parts/BoxSpawner.tscn" id="4_pvrhq"] -[ext_resource type="Script" uid="uid://dnosavfgou75i" path="res://vfd.gd" id="4_urew4"] +[ext_resource type="Script" uid="uid://c3kn5pjvo10bq" path="res://vfd.gd" id="4_urew4"] [ext_resource type="PackedScene" uid="uid://bl73u0rvt2orv" path="res://parts/Despawner.tscn" id="5_77ico"] [ext_resource type="PackedScene" uid="uid://gddgyvex6gdj" path="res://parts/PushButton.tscn" id="6_77ico"] @@ -12,9 +12,9 @@ [node name="Building" parent="." instance=ExtResource("1_adq3x")] [node name="UL1_3" parent="." instance=ExtResource("3_pvrhq")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.70007, -0.00844234, -0.454586) -local_floor_plane = Plane(0, 1, 0, -1.99156) -speed = 1.3716 +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.70003, 0.00388748, -0.454732) +local_floor_plane = Plane(0, 1, 0, -2.00389) +speed = 0.0 enable_comms = true speed_tag_name = "UL1_3_OIP" running_tag_name = "" @@ -28,10 +28,11 @@ UL1_3 = NodePath("../UL1_3") box_spawner = NodePath("../BoxSpawner") [node name="BoxSpawner" parent="." instance=ExtResource("4_pvrhq")] -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, -10.3942, 0.504191, -0.458427) +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) +disable = true [node name="Despawner" parent="." instance=ExtResource("5_77ico")] -transform = Transform3D(2, 0, 0, 0, 1, 0, 0, 0, 2, 3.18492, 0.5, -0.368497) +transform = Transform3D(2, 0, 0, 0, 1, 0, 0, 0, 2, 3.18745, 0.5, -0.3678) [node name="Disconected" parent="." instance=ExtResource("6_77ico")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.35205, 0.0894268, 0.468417) @@ -135,6 +136,7 @@ lamp_tag_group_name = "TagGroup0" transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.44535, 0.0722519, 0.397527) text = "Power_Saving" toggle = true +pressed = true button_color = Color(0.87658, 0.000391592, 0.828084, 1) enable_comms = true pushbutton_tag_group_name = "TagGroup0" @@ -142,7 +144,7 @@ pushbutton_tag_name = "TOGGLE_POWER_SAVING_MODE_OIP" lamp_tag_group_name = "TagGroup0" [node name="StopButton" parent="." instance=ExtResource("6_77ico")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.09258, 0.0938599, 0.440219) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.09258, 0.0938599, 0.434032) enable_comms = true pushbutton_tag_group_name = "TagGroup0" pushbutton_tag_name = "Station_Stop_PB_OIP" @@ -243,7 +245,7 @@ Restart" font_size = 20 [node name="PushButton" parent="." instance=ExtResource("6_77ico")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.90528, 0.0809799, 0.44369) +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) @@ -276,7 +278,7 @@ Enabled" font_size = 20 [node name="MCM_Stop_Button" parent="." instance=ExtResource("6_77ico")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.5194, 0.085152, 0.439353) +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_group_name = "TagGroup0" @@ -287,3 +289,6 @@ lamp_tag_group_name = "TagGroup0" 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_77ico")] +transform = Transform3D(2, 0, 0, 0, 1, 0, 0, 0, 2, -12.0592, 0.5, -0.368497) diff --git a/PLC/Simulations/VFD/PLC/AOIs/AOI_FLIP_FLOP_AOI.L5X b/PLC/Simulations/VFD/PLC/AOIs/AOI_FLIP_FLOP_AOI.L5X index ab8402b..cfb50ba 100644 --- a/PLC/Simulations/VFD/PLC/AOIs/AOI_FLIP_FLOP_AOI.L5X +++ b/PLC/Simulations/VFD/PLC/AOIs/AOI_FLIP_FLOP_AOI.L5X @@ -1,5 +1,5 @@  - + - + - + - + - @@ -171,7 +171,7 @@ - + @@ -241,6 +241,14 @@ + + + + + + + + @@ -465,7 +473,7 @@ - + @@ -505,6 +513,19 @@ + + + + + + + + + + + + + @@ -641,7 +662,7 @@ - + @@ -671,7 +692,7 @@ - + @@ -696,7 +717,7 @@ - + @@ -711,7 +732,7 @@ - + @@ -721,75 +742,65 @@ - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - + @@ -798,37 +809,37 @@ - + - + - + - + - + - + - + @@ -837,34 +848,44 @@ - + - + - + - - - - - - + + + + + + + + + + + + + + + + - + @@ -874,76 +895,86 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + diff --git a/PLC/Simulations/VFD/PLC/UDTs/DPM_DataTypes.L5X b/PLC/Simulations/VFD/PLC/UDTs/DPM_DataTypes.L5X index e7285b2..6113cf1 100644 --- a/PLC/Simulations/VFD/PLC/UDTs/DPM_DataTypes.L5X +++ b/PLC/Simulations/VFD/PLC/UDTs/DPM_DataTypes.L5X @@ -1,5 +1,5 @@  - + diff --git a/PLC/Simulations/VFD/PLC/UDTs/MCM_DataTypes.L5X b/PLC/Simulations/VFD/PLC/UDTs/MCM_DataTypes.L5X index b010d45..ce08542 100644 --- a/PLC/Simulations/VFD/PLC/UDTs/MCM_DataTypes.L5X +++ b/PLC/Simulations/VFD/PLC/UDTs/MCM_DataTypes.L5X @@ -1,5 +1,5 @@  - + diff --git a/PLC/Simulations/VFD/PLC/UDTs/SIO_FIO_DataTypes.L5X b/PLC/Simulations/VFD/PLC/UDTs/SIO_FIO_DataTypes.L5X index be98a21..25f799b 100644 --- a/PLC/Simulations/VFD/PLC/UDTs/SIO_FIO_DataTypes.L5X +++ b/PLC/Simulations/VFD/PLC/UDTs/SIO_FIO_DataTypes.L5X @@ -1,5 +1,5 @@  - + diff --git a/PLC/Simulations/VFD/PLC/UDTs/VFD_DataTypes.L5X b/PLC/Simulations/VFD/PLC/UDTs/VFD_DataTypes.L5X index 8bce3bb..124bd03 100644 --- a/PLC/Simulations/VFD/PLC/UDTs/VFD_DataTypes.L5X +++ b/PLC/Simulations/VFD/PLC/UDTs/VFD_DataTypes.L5X @@ -1,5 +1,5 @@  - + @@ -288,9 +288,9 @@ Stopped by Station Stop PushButton]]> - diff --git a/PLC/Simulations/VFD/PLC/VFD.L5X b/PLC/Simulations/VFD/PLC/VFD.L5X index 714f4cc..506d164 100644 --- a/PLC/Simulations/VFD/PLC/VFD.L5X +++ b/PLC/Simulations/VFD/PLC/VFD.L5X @@ -1,6 +1,6 @@  - - + @@ -723,9 +723,9 @@ Stopped by Station Stop PushButton]]> - @@ -780,34 +774,16 @@ Pressed]]> - - - - @@ -1968,7 +1944,7 @@ NEEDS CLARIFICATION]]> - + @@ -2189,7 +2165,7 @@ NEEDS CLARIFICATION]]> - + @@ -2286,6 +2262,17 @@ NEEDS CLARIFICATION]]> + + + + + + + + + + + @@ -2582,10 +2569,10 @@ NEEDS CLARIFICATION]]> - + - + @@ -2640,6 +2627,25 @@ NEEDS CLARIFICATION]]> + + + + + + + + + + + + + + + + + + + @@ -2776,7 +2782,7 @@ NEEDS CLARIFICATION]]> - + @@ -2806,7 +2812,7 @@ NEEDS CLARIFICATION]]> - + @@ -2831,7 +2837,7 @@ NEEDS CLARIFICATION]]> - + @@ -2846,7 +2852,7 @@ NEEDS CLARIFICATION]]> - + @@ -2856,75 +2862,65 @@ NEEDS CLARIFICATION]]> - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - + @@ -2933,37 +2929,37 @@ NEEDS CLARIFICATION]]> - + - + - + - + - + - + - + @@ -2972,34 +2968,44 @@ NEEDS CLARIFICATION]]> - + - + - + - - - - - - + + + + + + + + + + + + + + + + - + @@ -3009,76 +3015,86 @@ NEEDS CLARIFICATION]]> - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + @@ -3305,10 +3321,10 @@ NEEDS CLARIFICATION]]> @@ -3377,9 +3393,9 @@ NEEDS CLARIFICATION]]> - + - + @@ -3417,7 +3433,7 @@ NEEDS CLARIFICATION]]> - + @@ -3562,20 +3578,21 @@ NEEDS CLARIFICATION]]> - @@ -3598,10 +3615,10 @@ NEEDS CLARIFICATION]]> - - + + - + @@ -3610,6 +3627,7 @@ NEEDS CLARIFICATION]]> + @@ -3621,31 +3639,24 @@ NEEDS CLARIFICATION]]> - + - - - - - - - + + - + - + - - @@ -3680,9 +3691,9 @@ NEEDS CLARIFICATION]]> - - - + + + @@ -3716,7 +3727,16 @@ NEEDS CLARIFICATION]]> - + + + + + + + + + + @@ -3732,7 +3752,7 @@ NEEDS CLARIFICATION]]> - + @@ -3825,14 +3845,28 @@ NEEDS CLARIFICATION]]> + + + + + + + + + + + + + + - +