Ladder Diagram Traffic Light Simpang 3 dengan Software CX-Programmer

IKHSAN MAULANA
10 Apr 202305:08

Summary

TLDRThe video script introduces a tutorial on programming a traffic light system for a three-way intersection using the CX Programmer software. The presenter, Seksan, explains the setup using a leader diagram, relays, and six parallel timers, each set for 10 seconds. The system cycles through green, yellow, and red lights at each intersection in a coordinated sequence, ensuring smooth traffic flow. The tutorial demonstrates the logic and timing involved in traffic light control systems.

Takeaways

  • 👋 Introduction: The speaker, Seksan, introduces himself with his NIM and course details, setting the context for the presentation.
  • 🛠️ Software: The presentation uses CX Programmer software to demonstrate the creation of a traffic light system.
  • 🔢 Addressing: The script explains the use of address 0.0 for the leader and other addresses for relays and timers in the system.
  • 🔄 Relay Logic: Relays are used to create logical connections and act as contacts for the timers in the traffic light system.
  • ⏱️ Timer Setup: Six timers are set up in parallel with each timer having a duration of 10 seconds, contributing to the traffic light sequence.
  • 🚦 Traffic Light Sequence: The script describes a sequence where green, yellow, and red lights at three intersections change in a specific order based on the timer settings.
  • 💡 Output Description: The output of the system is a traffic light display where the lights at each intersection change according to the timers.
  • 🔄 Continuous Cycling: The traffic light system is designed to cycle continuously, controlled by the timers and relays.
  • 🟢 Start Condition: The system starts with the activation of a start relay, which triggers the sequence of the traffic lights.
  • 🔴 Red Light First: Initially, the green light at Intersection 1 is on, while the red lights are at Intersections 2 and 3.
  • 🟡 Yellow Light Warning: After 10 seconds, the yellow light at Intersection 1 signals, with red lights at Intersections 2 and 3 remaining.

Q & A

  • What is the purpose of the script provided?

    -The script is an explanation of how to create a traffic light system at a three-way intersection using the CX Programmer software.

  • Who is the presenter of the script?

    -The presenter is Seksan, Maulana, with the student ID NIM, d400-200-110.

  • What is the starting point of the leader diagram in the script?

    -The starting point of the leader diagram is address 0.0.

  • What is the role of the relay in the traffic light system described in the script?

    -The relay serves as a contact in the system, with one relay set as normally open (NO) and another as normally closed (NC) to control the sequence of the traffic lights.

  • How many timers are used in the traffic light system according to the script?

    -There are six timers used in the system, each with a unique address from 00 to 005.

  • What is the duration set for each timer in the traffic light system?

    -Each timer is set for a duration of 10 seconds.

  • How does the traffic light system alternate the lights according to the script?

    -The system alternates the lights based on the timers' sequence, starting with green at one intersection and red at the others, followed by yellow, and then red at different intersections in a repeating cycle.

  • What happens when the start button is activated in the script's explanation?

    -Activating the start button initiates the relay logic, causing the timers to start and the traffic lights to begin their alternating sequence.

  • What is the final state of the traffic light system after the timers have completed their cycle?

    -The system continues to alternate the traffic lights in a continuous loop, as determined by the timers and the relay logic.

  • What is the significance of the NC (Normally Closed) contact in the script?

    -The NC contact is crucial for the continuous operation of the traffic light system, as it is set on timer 6 to maintain the cycling of the lights.

  • How does the script conclude?

    -The script concludes with an apology for any shortcomings and a traditional Islamic greeting, Wassalamualaikum warahmatullahi.

Outlines

00:00

🚦 Introduction to Traffic Light Control System with CX Programmer

This paragraph introduces Seksan, a student from an unspecified course, who explains the setup of a traffic light control system using the CX Programmer software. Seksan begins by initializing the system with a leader diagram and setting up relays and timers with specific addresses. The system is designed to continuously alternate the traffic light signals at a junction. Each timer is set for 10 seconds, and the output will display alternating traffic light signals for three junctions. The paragraph details the logical connections between the relays and timers, and how the traffic light signals will change according to the timers' settings.

05:01

🙏 Closing Remarks and Apology

The speaker concludes the video script with a brief closing remark, apologizing for any shortcomings in the explanation and wishing the audience well with a traditional Islamic greeting, 'Wassalamualaikum warahmatullahi'. This signifies the end of the presentation and a respectful sign-off.

Mindmap

Keywords

💡Leader Diagram

A leader diagram in the context of this video refers to a specific type of control logic diagram used in programming industrial automation systems. It is essential for understanding the video's theme as it outlines the structure and sequence of operations for a traffic light system. The script mentions using a leader with address 0.0, indicating the starting point of the control logic.

💡CX Programmer

CX Programmer is a software application used for programming and simulating industrial control systems, particularly those involving Programmable Logic Controllers (PLCs). In the video, the presenter uses this software to demonstrate the setup and operation of a traffic light system, highlighting its importance in the video's demonstration.

💡Relay

A relay in this context is an electrical switch that is controlled by a separate circuit and is used to make or break connections in a circuit. The video script discusses using relays as contacts in the control logic, with specific addresses like 1.00, to facilitate the operation of the traffic light system.

💡Timer

Timers in the script are used to control the duration for which each traffic light signal operates. The presenter mentions setting up six timers, each with a unique address ranging from T00 to T05, and setting them for a duration of 10 seconds each, which is crucial for the sequential operation of the traffic lights.

💡Normally Closed (NC)

Normally Closed, or NC, refers to a type of switch contact that is closed when the switch is not energized. In the video, the NC contact is used in conjunction with timer 6 at address T05 to control the continuous cycling of the traffic light system, illustrating a critical component of the traffic light's operation.

💡Traffic Light

The traffic light is the central focus of the video, representing the system being controlled by the PLC program. The script describes how the traffic light operates with different colors—green, yellow, and red—signifying the right of way at an intersection, with the sequence of lights controlled by the timers.

💡Signal Timing

Signal timing refers to the duration and sequence in which traffic signals operate. The video script details how each traffic light signal changes after a set period of 10 seconds, ensuring a safe and orderly flow of traffic at the intersection.

💡Parallel Circuit

A parallel circuit is one where multiple components are connected side by side, allowing them to operate independently but in coordination. The script mentions that the timers are connected in parallel, which means they operate simultaneously but affect the overall system in a coordinated manner.

💡Logic Gates

Logic gates are used in the script to describe the AND/OR operations that occur between different components of the traffic light system. For example, the relays are connected in an OR configuration, meaning that if any one of them is activated, it influences the next part of the circuit.

💡Output

In the context of the video, output refers to the physical manifestation of the PLC program's operation, specifically the lighting of the traffic lights. The script describes how different outputs correspond to different traffic signals, such as green, yellow, and red lights at various intersections.

💡Intersection

An intersection is the point where two or more roads meet. The video script discusses a three-way intersection, where the traffic light system is designed to manage traffic flow safely and efficiently, with specific mention of 'Simpang Tiga' which is Indonesian for 'three intersections'.

Highlights

Introduction to the traffic light system using the CX Programmer software.

Explanation of the use of a leader diagram for the traffic light system.

Description of the relay setup as a contact in the system.

Mention of the parallel configuration of relays with the start.

Introduction of a timer with NC (Normally Closed) contact functionality.

Use of six timers, each with unique addresses, configured in parallel.

Setting the duration for all timers to 10 seconds each.

Description of the output displaying traffic light signals at each intersection.

Explanation of the alternating traffic light signals based on timer settings.

Demonstration of the traffic light sequence starting with the green light at Intersection 1.

Transition of the yellow light at Intersection 1 after 10 seconds.

Sequential change to red lights at Intersections 2 and 3 after another 10 seconds.

Continuation of the traffic light sequence with red and green lights at specific intersections.

Description of the yellow light sequence at Intersection 2 and then Intersection 3.

Finalization of the traffic light sequence with the yellow light at Intersection 3.

Continuous cycling of the traffic light sequence based on the timer settings.

Configuration of the NC contact on Timer 6 to control the sequence cycling.

Conclusion and apology for any shortcomings in the explanation.

Transcripts

play00:01

Assalamualaikum warahmatullahi

play00:03

wabarakatuh perkenalkan nama Seksan

play00:05

Maulana NIM

play00:07

d400-200-110 dari mata kuliah atau masih

play00:11

industri dan PLC

play00:13

di sini saya akan menjelaskan mengenai

play00:15

leader diagram

play00:17

traffic light Simpang Tiga dengan

play00:20

menggunakan software CX programmer

play00:23

oke masuk ke softwarenya Nah di sini

play00:28

untuk start Saya memakai leader dengan

play00:32

no

play00:33

alamatnya 0.0 Di sini juga terdapat

play00:37

relay nah relay di sini sebagai kontak

play00:41

bantunya dengan alamat

play00:43

1.00 di sini juga ada relay yang disusun

play00:47

secara paralel atau or dengan start

play00:52

kemudian di sini ada relay lagi dan

play00:55

timer yang NC

play00:58

ini timer 6 dengan alamat

play01:02

t005 nah saya di sini memakai enam buah

play01:07

timer

play01:09

dengan masing-masing alamat

play01:11

00-005

play01:15

Nah di sini semua timer disusun secara

play01:18

paralel atau or

play01:22

jadi nanti timer 1 akan terhubung dengan

play01:27

timer 2 timer 2 akan terhubung dengan

play01:30

Timer 3 dan seterusnya sampai timer 5

play01:34

Kan terhubung dengan timer 6 dan nanti

play01:36

timer 6 akan ada pada

play01:39

Asun secara n dengan relay Nah di sini

play01:43

yang akan membuat traffic light ini

play01:46

meluping secara terus-menerus

play01:50

kemudian di dalam

play01:52

timer ini saya menyeting untuk waktunya

play01:57

itu selama 10 detik untuk semua timer

play02:00

kemudian ini ada output yang akan

play02:05

menampilkan sebuah lampu dari

play02:09

masing-masing Simpang Nah nanti lampunya

play02:12

akan bergantian menyalanya sesuai dengan

play02:15

timer yang sudah kita pasang

play02:22

dan nanti

play02:24

akan meluping

play02:26

Nah kita coba

play02:29

UN terlebih dahulu

play02:38

Oke kita Nyalakan pada start

play02:43

nah ketika kita Nyalakan pada start

play02:46

otomatis relay akan berlogika 1 atau

play02:50

nyala yang menyebabkan relay di sini

play02:53

juga berlogika 1 kemudian relay di sini

play02:57

juga berlogika 1 yang dimana timer di

play03:02

sini yaitu kontak

play03:05

C

play03:07

yang akan terhubung dengan timer 1 Nah

play03:12

nanti ketika timer 1 berjalan dan

play03:15

waktunya sudah habis nanti dia akan

play03:18

melanjutkan ke timer 2

play03:21

ketika timer 2

play03:24

sudah 10 detik nanti akan dilanjutkan ke

play03:27

Timer 3 dan seterusnya hingga timer 5

play03:34

yang juga selama 10 detik nah ini untuk

play03:38

outputan dari lampu traffic light nya

play03:41

Nanti pertama-tama lampu hijau pada

play03:45

Simpang satu itu akan menyala dan lampu

play03:48

merah pada Simpang Dua sama Simpang Tiga

play03:52

kemudian setelah 10 detik lampu kuning

play03:56

pada Simpang satu lampu merah pada

play04:00

Simpang Dua dan Simpang Tiga

play04:03

kemudian setelah 10 detik lagi lampu

play04:07

merah bergantian Pada lampu merah pada

play04:10

Simpang satu dan tiga dan Simpang hijau

play04:14

lampu hijau pada Simpang Dua kemudian

play04:17

dan seterusnya

play04:19

lampu kuning pada Simpang Dua

play04:22

dilanjutkan dengan lampu hijau pada

play04:24

Simpang Tiga

play04:26

kemudian setelah 10 detik

play04:30

akan bergantian ke lampu kuning pada

play04:34

Simpang Tiga dan keadaan ini akan terus

play04:37

meluping sesuai dengan timer yang sudah

play04:40

kita pasang tadi yaitu pada kontak bantu

play04:44

kontak

play04:46

no

play04:48

NC normally close yang kita setel pada

play04:51

timer 6 dengan alamat t005

play04:55

baik demikian penjelasan mengenai

play04:58

traffic light Simpang Tiga dengan

play05:01

menggunakan software CX programmer

play05:04

kurang lebihnya mohon maaf

play05:05

Wassalamualaikum warahmatullahi

Rate This

5.0 / 5 (0 votes)

Related Tags
Traffic LightAutomationCX ProgrammerPLC ProgrammingTimer LogicRelay ControlSignal TimingIndustrial ControlTraffic ManagementTechnical TutorialEngineering Education