Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revisit #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified LAB6.5/IM/SPL/options
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_46.fdx
Binary file not shown.
1 change: 0 additions & 1 deletion LAB6.5/IM/SearchIndex/_46.frq

This file was deleted.

Binary file removed LAB6.5/IM/SearchIndex/_46.tii
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_46.tvd
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_46.tvx
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_46_3.del
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_47.cfs
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_48.cfs
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_49.cfs
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_4a.cfs
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_4a_1.del
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_4b.cfs
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_4b_1.del
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_4c.cfs
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_4d.cfs
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/_4e.cfs
Binary file not shown.
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4g.fdx
Binary file not shown.
File renamed without changes.
1 change: 1 addition & 0 deletions LAB6.5/IM/SearchIndex/_4g.frq
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
u{MSm u{MSm qusKW  C uMSmsKQk wsyuOKMUQSokm}����{ EGI+-/13579;=?AC')#% !eWiY[]ac_geiW[]a_cMuuuuutuuuutuutuuuuuuuW+?7c! I_uuMMMMMmMwwwwwwwwwwwNnNoooOOwoOoOooownNN�~{�}~{��������~ugm#'CIGE%+-/135)?A79;=u_ !Wai[eMSggYc]���������������uuuumM%'+-/13579;=CEGI#)?A uM
Expand Down
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4g.tii
Binary file not shown.
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4g.tvd
Binary file not shown.
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4g.tvx
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4g_2.del
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4h.cfs
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4h_1.del
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4i.cfs
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4i_1.del
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4j.cfs
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/_4k.cfs
Binary file not shown.
File renamed without changes.
Binary file added LAB6.5/IM/SearchIndex/_4l.cfs
Binary file not shown.
Binary file modified LAB6.5/IM/SearchIndex/segments.gen
Binary file not shown.
Binary file removed LAB6.5/IM/SearchIndex/segments_28
Binary file not shown.
Binary file added LAB6.5/IM/SearchIndex/segments_2f
Binary file not shown.
Binary file modified LAB6.5/System/PEData.idx
Binary file not shown.
Binary file modified LAB6.5/System/PEData.plf
Binary file not shown.
Binary file modified LAB6.5/XRef/XRef.db
Binary file not shown.
Binary file added LAB6.5/lab.pdf
Binary file not shown.
105 changes: 91 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,91 @@
<h1>Projekty PLC</h1>
<div style="margin:40px 40px;">dla platform: Siemens S1200</div>

<h2>Materiał</h2>
<h3>Moduły pamięci</h3>
<h4>Pamięć z dominacją zapisu</h4>
![image](https://user-images.githubusercontent.com/31209474/137718085-6546f971-0c06-4f6d-8254-9408e3ff7442.png)
<h4>Pamięć z dominacją kasowania</h4>
![image](https://user-images.githubusercontent.com/31209474/137719291-2d1c3803-11b9-429b-8a8e-a095a4c8dff4.png)
<h3>UKŁAD: przycisk włączajacy i wyłączający (podzielnik binary)</h3>
Zapisanie stanu w pamieci czy przycisk byl załączony, wykorzystanie zbocza górnego do podtrzymania stanu
<h3>UKŁAD: wykrywanie kierunku</h3>
<h3>UKŁAD: taśma produkcyjna</h3>
Wykorzystanie zbocza opadającego do weryfikacji na ruchomej taśmie produkcyjnej dlugości elementów
# Projekty PLC:

Repozytorium zawiera zestaw zadań zrealizowanych na laboratorium komputerowych systemów sterowania.

Model PLC na którym zostały wykonane zadania to: Siemens S1200 DC/DC/DC.

Język wykorzystywany do programowania kontrolera : LAD

## Materiał
### lab2: Moduły pamięci
* pamięć z dominacją zapisu
* pamięć z dominacją kasowania

Networki projektu:
[Pamieci](lab2Pamieci/lab.pdf)

### lab3
#### Podzielnik binary
Podzielnik binarny służy do zapisanie stanu poprzedniego w pamieci, dzięki czemu można zrealizować 2 mechaniki przy pomocy 1 przycisku - włącz / wyłącz (załącz / rozłącz)

Networki: 1 - 2

#### Wykrywanie kierunku: (lewo czy prawo)

Zbocze narastające na I0.2 (czujnik lewy) + 1 na I0.3 (czujnik prawy) = kierunek lewo

Zbocze narastające na I0.3 (czujnik prawy) + 1 na I0.2 (czujnik lewy) = kierunek prawo
Networki: 3 - 4

#### Wykrywanie długości belki : krótka / średnia / długa

Ocena długości belki poprzez użycie 3 czujników:
* czujnika dla krótkiej długości
* czujnika dla średniej długości
* czujnika dla długiej długości

Wykrycie zbocza narastającego na I0.3 informuje, że jest to co najmniej krótka belka, informacja o tym zapisywana jest do pamięci

"1" w komórce odpowiedzialnej za przechowywanie informacji o co najmniej krótkiej długości i zbocze narastające na I0.4 informuje, że jest to co najmniej średnia belka, infromacja o tym zapisywana jest do pamięci

"1" w komórce odpowiedzialnej za przechowywanie informacji o co najmniej średniej długości i zbocze narastające na I0.5 informuje, że jest to co najmniej długa belka, infromacja o tym zapisywana jest do pamięci

Następnie wartości z pamięci są podawana na wyjścia sterownika

Networki : 5 - 10

Networki projektu:
[Pamieci](lab3/lab.pdf)

### lab4: Generatory:
#### Generator szplikowy:
Szpilka (stan logicznej 1) przez urywek czasu - trwa zależnie od częstotliwości procesora.
Szpilka pojawia się co zadany okres czasu

Network : 1 - 2

#### Generator na bazie TON - TON
Generator ma określoną przerwę oraz czas impulsu

Liczenie okresu:
T = 1/f
T = TON dla opóźnienia + TON dla sygnału (wypełnienie)

Network 3 - 4

#### Generator na bazie TON - TP
Generator o zadanym wypełnieniu, użycie timera TON powoduje opóźnienie sygnału, zaś TP powoduje impuls stały o zadanej długości - wypełenienie sygnału

Network 5 - 6

Networki projektu:
[Generatory](lab4/lab.pdf)


### lab6.5 = Generatory ciąg dalszy:

#### Zadanie:
zbuduj generator pracujacy na wyj q1.0 w nastepujacy sposob generuje 10 impulsow o f = 2Hz i 5 impulsow o f 0.5 Hz

Wyliczenie okresu:

T = 1/f

f1 = 2 Hz; f2 = 0.5Hz

T1 = 1/2 Hz = 0.5s

T2 = 1/(0.5 Hz) = 2s

Networki projektu:
[Generator zadanie](lab6.5/lab.pdf)
Binary file added _imgs/lab2/pamiecDominacjaKasowanie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified encoder/IM/SPL/options
Binary file not shown.
Binary file removed encoder/IM/SearchIndex/_iz.tii
Binary file not shown.
Binary file removed encoder/IM/SearchIndex/_iz_3.del
Binary file not shown.
Binary file removed encoder/IM/SearchIndex/_j0_1.del
Binary file not shown.
Binary file removed encoder/IM/SearchIndex/_j6_1.del
Binary file not shown.
Binary file added encoder/IM/SearchIndex/_j9.fdt
Binary file not shown.
Binary file added encoder/IM/SearchIndex/_j9.fdx
Binary file not shown.
File renamed without changes.
1 change: 1 addition & 0 deletions encoder/IM/SearchIndex/_j9.frq
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ci����   ci����   ��a� I  : ]a/ c��� a���    eagc����������ikmo��������CEG�+-/13579;=?A')#% !�yuMQw�I}qsKOSUWY[]_{�������������q�������MQuO%SUWY[]_w�I{K�����y}���I  ;K3�+q=5�! G���������������������������d.����e�e����e�������e�e�����ee���������������i������mikmi���������� �����cMc_]YO[UWSK���#'AGEC%�+-/13)=?579;� !������y{Mqs����uQwI}���������������i���i�����������������%'�+-/13579;ACEG#)=? cM�
Expand Down
Binary file added encoder/IM/SearchIndex/_j9.prx
Binary file not shown.
Binary file added encoder/IM/SearchIndex/_j9.tii
Binary file not shown.
Binary file added encoder/IM/SearchIndex/_j9.tis
Binary file not shown.
Binary file added encoder/IM/SearchIndex/_j9.tvd
Binary file not shown.
Binary file added encoder/IM/SearchIndex/_j9.tvf
Binary file not shown.
Binary file added encoder/IM/SearchIndex/_j9.tvx
Binary file not shown.
Binary file modified encoder/IM/SearchIndex/segments.gen
Binary file not shown.
Binary file removed encoder/IM/SearchIndex/segments_bo
Binary file not shown.
Binary file added encoder/IM/SearchIndex/segments_br
Binary file not shown.
5 changes: 5 additions & 0 deletions lab2Pamieci/IM/SPL/options
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
x^�WmO�P�X���f!��L��K��* a\��8�˲���d�u�lo��/�+��S41��'��ӵ�!a#�Ú��v�s�9��{�m�� ��']��u0l%���T%ˌ����j-]ѸimX���X�f�ɅDBI(�������R�� Vp���x,�uM݂��ƪ��z�uH�[��1eV@Ƀ���`+9�|*�np�i+�zCn5)~9H H!�09�e�A��z皬k� ��������@@���b�L�2�T��*@B�>�Ҵj)S�YÆ�<�f�f�N���ˮL�E]Y�C6����QW�d�+����҃�;�[#���+�#�DW�I�� '�x(��s�79�<j%��d�aU�#��o%kVQ56u��(���*�F��<::C�މ.rٖ�ufk�y�*uax
a׷��p�,��7�����YW-+�"�>�����8}J���)/u�Oܦ�u� �3C�L%ě|�@�~QS�5�)�Mhf�h�|���ب�~�صvv�g�yl���ٯ�mg�|����{Q�������N���c�J�$z�p����t���Z���ԚfT74�+7V6L��džo���Q�[+�S�b�f��Ł���͡�Ж�j[�, ��
��ܝ-<Ō��f㱺��������B�;q��./-�ua1�<7�;��x��̵�)��S�X��"�Ӂs8���Iɷ�O��zi��>��Υ�q4�Er֯��+O�}س�,3 ��f?�k��j�P�sL�l<���7���=�/�k����M^dƋ��'�}
�ҷ��P�֑��mA��a��T
�^��|�/�9�.~������Hh}b�������0����M���}P����c h
Expand Down
Binary file removed lab2Pamieci/IM/SearchIndex/_4u.cfs
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7m.fdt
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7m.fdx
Binary file not shown.
1 change: 0 additions & 1 deletion lab2Pamieci/IM/SearchIndex/_7m.frq

This file was deleted.

Binary file removed lab2Pamieci/IM/SearchIndex/_7m.tii
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7m.tis
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7m.tvd
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7m.tvx
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7m_2.del
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7n.cfs
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7o.cfs
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7p.cfs
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7p_1.del
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7q.cfs
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/_7r.cfs
Binary file not shown.
Binary file added lab2Pamieci/IM/SearchIndex/_81.fdt
Binary file not shown.
Binary file added lab2Pamieci/IM/SearchIndex/_81.fdx
Binary file not shown.
File renamed without changes.
1 change: 1 addition & 0 deletions lab2Pamieci/IM/SearchIndex/_81.frq
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_e_em] S_ ]  a]c_gikeWY[=?ACEGIKMOQSU9;57!#%')+-/13 _-=QI+3[__aaaaaaaaaaa`aafgdheeg_!#%' 59U[YW+/-71=?ACEG;QSIKMO_)3!) iegeikieeg____!#79=?ACEGIKMOUWY[%-)/'5+;1QS_
Expand Down
Binary file added lab2Pamieci/IM/SearchIndex/_81.prx
Binary file not shown.
Binary file added lab2Pamieci/IM/SearchIndex/_81.tii
Binary file not shown.
Binary file added lab2Pamieci/IM/SearchIndex/_81.tis
Binary file not shown.
Binary file added lab2Pamieci/IM/SearchIndex/_81.tvd
Binary file not shown.
Binary file not shown.
Binary file added lab2Pamieci/IM/SearchIndex/_81.tvx
Binary file not shown.
Binary file added lab2Pamieci/IM/SearchIndex/_81_1.del
Binary file not shown.
Binary file added lab2Pamieci/IM/SearchIndex/_82.cfs
Binary file not shown.
Binary file modified lab2Pamieci/IM/SearchIndex/segments.gen
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/segments_2d
Binary file not shown.
Binary file removed lab2Pamieci/IM/SearchIndex/segments_40
Binary file not shown.
Binary file added lab2Pamieci/IM/SearchIndex/segments_4d
Binary file not shown.
Binary file modified lab2Pamieci/System/PEData.idx
Binary file not shown.
Binary file modified lab2Pamieci/System/PEData.plf
Binary file not shown.
Binary file added lab2Pamieci/lab.pdf
Binary file not shown.
Binary file modified lab3/IM/SPL/options
Binary file not shown.
1 change: 0 additions & 1 deletion lab3/IM/SearchIndex/_9q.frq

This file was deleted.

Binary file removed lab3/IM/SearchIndex/_9q.prx
Binary file not shown.
Binary file removed lab3/IM/SearchIndex/_9q.tii
Binary file not shown.
Binary file removed lab3/IM/SearchIndex/_9q.tis
Binary file not shown.
Binary file removed lab3/IM/SearchIndex/_9q_1.del
Binary file not shown.
Binary file removed lab3/IM/SearchIndex/_9r.cfs
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
1 change: 1 addition & 0 deletions lab3/IM/SearchIndex/_bo.frq
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
y !y !owI!3  oyw {w}y��������� EG+-/13579;=?AC]')#% !YSIQMKOWU[egiq_mkasuc��YQMqmkSWU[_casu�IKOegiyI!3+?7! ]yy{{{{{{{{{{{z{{���������~���������~y_QMca�kKOq#'C]GE%+-/135)?A79;=y !ImY��iegWU[s�uS���������������������������������������yyyy%'+-/13579;=CEG]#)?A y
Expand Down
Binary file not shown.
Binary file added lab3/IM/SearchIndex/_bo.tii
Binary file not shown.
Binary file added lab3/IM/SearchIndex/_bo.tis
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added lab3/IM/SearchIndex/_bo_2.del
Binary file not shown.
Binary file added lab3/IM/SearchIndex/_bp.cfs
Binary file not shown.
Binary file added lab3/IM/SearchIndex/_bq.cfs
Binary file not shown.
Binary file added lab3/IM/SearchIndex/_br.cfs
Binary file not shown.
Binary file added lab3/IM/SearchIndex/_bs.cfs
Binary file not shown.
File renamed without changes.
Binary file added lab3/IM/SearchIndex/_bt.cfs
Binary file not shown.
Binary file modified lab3/IM/SearchIndex/segments.gen
Binary file not shown.
Binary file removed lab3/IM/SearchIndex/segments_58
Binary file not shown.
Binary file added lab3/IM/SearchIndex/segments_6f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PROGRAM

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added lab3/Simulations/simulation1/System/PEData.idx
Binary file not shown.
Binary file added lab3/Simulations/simulation1/System/PEData.plf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<ClMetaConsumer xmlns="http://www.siemens.com/Automation/2004/04/ObjectFrame/ClMetaConsumer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.siemens.com/Automation/2004/04/ObjectFrame/ClMetaConsumer Automation-ObjectFrame-ChangeList-Consumer-v1.0.xsd" />
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<ClMetaProvider xmlns="http://www.siemens.com/Automation/2004/04/ObjectFrame/ClMetaProvider" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.siemens.com/Automation/2004/04/ObjectFrame/ClMetaProvider Automation-ObjectFrame-ChangeList-Provider-v1.0.xsd">
<Package name="Siemens.Automation.DomainModel" version="1.1.0.0">
<ProviderObject name="Siemens.Automation.DomainModel.ReferenceTagData">
<Interface name="IBlTag">
<TrackedObject name="Siemens.Automation.DomainModel.ControllerRootTagBaseData">
<TrackedRelation name="ReferencedByRefTagAsRoot">
<Property name="CompileTime">
<TrackedAttribute name="Siemens.Automation.DomainServices.CommonTypeSystem.IStructureRoot.CompileTime" />
</Property>
<Property name="IsValid">
<TrackedAttribute name="Siemens.Automation.DomainServices.CommonTypeSystem.IStructureRoot.IsValid" />
</Property>
</TrackedRelation>
</TrackedObject>
<TrackedObject name="Siemens.Automation.DomainModel.EAMTZTagData">
<TrackedRelation name="ReferencedByRefTag">
<Property name="DataTypeName">
<TrackedAttribute name="Siemens.Automation.DomainServices.CommonTypeSystem.IStructureItem.DisplayTypeName" />
</Property>
<Property name="LogicalAddress">
<TrackedAttribute name="Siemens.Automation.DomainModel.ITagAddress.LogicalAddress" />
</Property>
<Property name="Name">
<TrackedAttribute name="Siemens.Automation.ObjectFrame.ICoreAttributes.Name" />
</Property>
</TrackedRelation>
</TrackedObject>
</Interface>
</ProviderObject>
</Package>
</ClMetaProvider>
Binary file added lab3/Simulations/simulation1/XRef/XRef.db
Binary file not shown.
Loading