Timers/Counters
HMI
Math Instructions
Functions/Function Blocks
SCL
100

Which parameter holds the output of the timer?

Q

100

What does HMI stand For?

Human Machine Interface

100

True or false: Math Instructions are only able to be done with REAL data types 

False

100

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)

100

What does SCL stand for?

Structured Control Language 

200

What bits are available for a down counter?

LD, CV, PV, Q and CD

200

List at least two button event functions in the TIA Portal HMI Screen Editor?

Click

Press

Release

200

What is the purpose of a Modulo (MOD) instruction? 

A Modulo (MOD) instruction returns the remainder of a division. 

200

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)

200

Which symbol is used to end instruction in SCL? 

;
300

Which timer does this timing diagram represent? 


TON

300

What does SCADA stand for?

Supervisory Control and Data Acquisition

300

What would be the output of this LIMIT instruction? 



0


300

How do you create a function in TIA portal?

Select add new block, select function, name the function and then hit OK. 

300

What does the := symbol represent in SCL?

Assignment operator

400

Which timer does this timing diagram represent? 


TOF

400

What are some inputs on an HMI?

Button, Switch, I/O Field (Numeric Input)

400

This instruction with 5 as its MIN and 10 as its MAX would function the same as the ladder logic shown: 



IN RANGE

400

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. 

400

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

500

Which timer does this timing diagram represent? 



TONR

500

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

500

Given the inputs to NORM_X shown below, calculate the output. 


0.875 to 0.895 (any answer in this range will work) 

500

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. 

500

"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