Which parameter holds the output of the timer?
Q
What does HMI stand For?
Human Machine Interface
True or false: Math Instructions are only able to be done with REAL data types
False
What are the advantages of using functions and/or function blocks?
Keeps code more organized, breaks up big problems into smaller ones and keeps code DRY (Don't Repeat Yourself)
What does SCL stand for?
Structured Control Language
What bits are available for a down counter?
LD, CV, PV, Q and CD
List at least two button event functions in the TIA Portal HMI Screen Editor?
Click
Press
Release
What is the purpose of a Modulo (MOD) instruction?
A Modulo (MOD) instruction returns the remainder of a division.
What is a common application for function blocks?
Motor, Tanks, Conveyors, Lights
(anything where the same control and data flow applies to more than one set of inputs and outputs)
Which symbol is used to end instruction in SCL?
Which timer does this timing diagram represent?
TON
What does SCADA stand for?
Supervisory Control and Data Acquisition
What would be the output of this LIMIT instruction?
0
How do you create a function in TIA portal?
Select add new block, select function, name the function and then hit OK.
What does the := symbol represent in SCL?
Assignment operator
Which timer does this timing diagram represent?
TOF
What are some inputs on an HMI?
Button, Switch, I/O Field (Numeric Input)
This instruction with 5 as its MIN and 10 as its MAX would function the same as the ladder logic shown:
IN RANGE
How are function blocks different than functions?
Functions do not have a data block that goes with them. Both can be called multiple times throughout an OB with different inputs and outputs, but functions cannot retain data between PLC scans.
What are some reasons to use comments in SCL?
Prevent a line of code from running (for testing purposes) without deleting it forever and leave a note to yourself or other programmers
Which timer does this timing diagram represent?
TONR
I want to change a bit from 0 to 1 on one button click and then 1 to 0 on the next button click. Which button event function should I use in the TIA Portal HMI Screen Editor?
InvertBit
Given the inputs to NORM_X shown below, calculate the output.
0.875 to 0.895 (any answer in this range will work)
What is the difference between static and temporary variables?
Static variables exist only in function blocks and retain their value in between scans. Temp variables are found in functions and function blocks and do not retain their value in between scans.
"At Entry 1" is true and then false. If the code snippet below is the only code, what will be the value of "Conveyor 1" ?
IF "At entry 1" THEN
"Conveyor 1" := 1;
END_IF;
1