Instrumentation Course: PLC Programming for Beginners

Click For Summary

Discussion Overview

The discussion revolves around the necessity of prior programming knowledge, specifically C, before starting PLC (Programmable Logic Controller) programming in an instrumentation course. Participants explore the nature of PLC programming languages, resources for beginners, and the practical aspects of learning Relay Ladder Logic (RLL).

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions whether knowledge of C is necessary before learning PLC programming, suggesting that PLC programming languages vary by manufacturer.
  • Another participant notes that familiarity with Karnaugh maps and PID control is beneficial but emphasizes that implementation methods depend on the specific PLC used.
  • A later reply discusses the historical context of RLL programming languages, highlighting the challenges faced by both electricians and software programmers in creating effective programs.
  • Concerns are raised about the importance of practical experience in understanding the nuances of industrial processes and I/O quirks when learning RLL.
  • One participant expresses confidence in their background in electronics and knowledge of Karnaugh maps, indicating they will study PID control and consider the suggested online resource.

Areas of Agreement / Disagreement

Participants express differing views on the necessity of learning C before PLC programming, and there is no consensus on the best approach to learning RLL effectively. The discussion reflects a mix of opinions on the relevance of practical experience in the field.

Contextual Notes

Participants mention various programming languages and methods associated with PLCs, but there is no agreement on a standardized approach or definitive prerequisites for learning PLC programming.

Gursimranjeet
Messages
3
Reaction score
0
Hi everyone,
I have opted for an instrumentation course and I am worried about the programming part as i don't have much knowledge about programming. Is it necessary to learn C before learning PLC programming or i could start from plc programming? If I could start from plc then which book i should follow as a beginner?

Thanks in Advance
 
Physics news on Phys.org
Gursimranjeet said:
Is it necessary to learn C before learning PLC programming or i could start from plc programming?
C is a standard programming language, but there is no standard "PLC programming language". Every PLC manufacturer has his own PLC programming language and programming methods. Included in some PLC program is for example:

- Logical control which could be programmed by use of ladder network or sequential network.
- Dynamic control of motors ( e.g. PID controllers ).
- Human/machine interface ( HMI ).
- Local area network ( LAN ).

Gursimranjeet said:
If I could start from plc then which book i should follow as a beginner?
Generally it's a good idea to be familiar with Karnaugh maps ( reduction of logical expressions ) and PID control, but as said above, the method as how to implement the requirements, strongly depends on the PLC used.
 
Last edited:
  • Like
Likes   Reactions: Gursimranjeet and JakeBrodskyPE
Hesch said:
Included in some PLC program is for example:
More detailed information:

https://www.udemy.com/plc-programming-from-scratch/
 
  • Like
Likes   Reactions: Gursimranjeet
Relay Ladder Logic programing languages came into being because it tried to emulate what electricians were wiring up every day. In essence, they were attempting to take electricians and make them into programmers. That sort of thinking didn't always work well. They often wrote awful RLL software. However, the opposing point of view, that software programmers could write reasonable programs around an industrial process is also deeply flawed for the opposite reason.

Ultimately, to learn RLL well, you need to become intimately familiar with a process, and all the quirks of the I/O. For example, if a valve actuator is moved from, say 10% to 60% open, it may overshoot and need to work backwards a bit. This could confuse a poorly written program that just assumes that the actuator will always hit the target perfectly.

Your professor won't know a damned thing about these sorts of problems UNLESS they have at least a couple years of hard-hat field experience. If they have that, then pay attention! If they don't, or they consult here and there, you might as well focus on just passing the tests.
 
  • Like
Likes   Reactions: Hesch and Gursimranjeet
Thanks a lot Hesch!

As i have done Degree in Electronics and have good knowledge about karnaugh maps and I will be studing about PID. Thanks for the link will look forward to join that.

Thanks
 
JakeBrodskyPE said:
Relay Ladder Logic programing languages came into being because it tried to emulate what electricians were wiring up every day. In essence, they were attempting to take electricians and make them into programmers. That sort of thinking didn't always work well. They often wrote awful RLL software. However, the opposing point of view, that software programmers could write reasonable programs around an industrial process is also deeply flawed for the opposite reason.

Ultimately, to learn RLL well, you need to become intimately familiar with a process, and all the quirks of the I/O. For example, if a valve actuator is moved from, say 10% to 60% open, it may overshoot and need to work backwards a bit. This could confuse a poorly written program that just assumes that the actuator will always hit the target perfectly.

Your professor won't know a damned thing about these sorts of problems UNLESS they have at least a couple years of hard-hat field experience. If they have that, then pay attention! If they don't, or they consult here and there, you might as well focus on just passing the tests.

Thanks Sir! I appreciate your valuable advise.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
13K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 13 ·
Replies
13
Views
33K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 2 ·
Replies
2
Views
10K