FBD/ST languages Flashcards

1
Q

IEC 61131-3 defines programming languages for PLCs. What are the 5 standard languages?

A
  1. LD
  2. FBD
  3. ST
  4. IL
  5. SFC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

An input reference is similar to what type of instruction from LD?

A

Examine if closed (XIC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An output reference is similar to what type of instruction from LD?

A

OTE (output energize)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A programmer wants to use a Boolean AND to turn on a light. How should they set up the instruction?

A

Use 2 input references and 1 output reference

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Comparison instructions in FBD are similar to LD (T/F)?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In structured text, how is a value assigned to tags?

A

Using “:=”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Text is colour coded in ST. What does red stand for?

A

Tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Text is colour coded in ST. What does blue stand for?

A

Instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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?

A

TONR (TIMER1)
TIMER1.PRE = 1000;
TIMER1.TimerEnable:=1;
TIMER1.Reset:=TIMER1.DN;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly