FBD/ST languages Flashcards
IEC 61131-3 defines programming languages for PLCs. What are the 5 standard languages?
- LD
- FBD
- ST
- IL
- SFC
An input reference is similar to what type of instruction from LD?
Examine if closed (XIC)
An output reference is similar to what type of instruction from LD?
OTE (output energize)
A programmer wants to use a Boolean AND to turn on a light. How should they set up the instruction?
Use 2 input references and 1 output reference
Comparison instructions in FBD are similar to LD (T/F)?
True
In structured text, how is a value assigned to tags?
Using “:=”
Text is colour coded in ST. What does red stand for?
Tags
Text is colour coded in ST. What does blue stand for?
Instructions
A programmer is using ST to make a free running timer. They enter the code and it does not run. What is the error in their code?
TONR (TIMER1)
TIMER1.PRE = 1000;
TIMER1.TimerEnable:=1;
TIMER1.Reset:=TIMER1.DN;