Chapter 2 PLCs
What is a FB and what are they used for?
Function block, they are used for organizing, optimizing, and simplifying the programming of applications
What is a FC and what are they used for?
Functions, which are also used for Organizing, optimizing, and simplifying the programming of applications
___________ contain information that can be accessed by all logic blocks in the user program
Global
What types of DBs are available and what would they be used for?
Global and instance, and they are used for fast access to data that is stored within a program itself
Which data type is used to store numbers that include a decimal?
REAL
This data tape can be used to store groups of values that are the same data type
DINT
Which data type is used for data that is 32 bits long?
DINT
What is a DB?
Data block
What is the main difference between a FB and an FC?
FC uses the address of the given parameter tag and FB copies its parameter tag from the associated data block
And organization blocks execution can be interrupted by an event with a?
Higher priority
Describe the differences between linear and module programming
In linear programming you accomplish a task in a organizational block, In module programming you divide the application into logical blocks
Which of the following are always assigned to a specific function block?
Instance data
The default unit of measurement for time is?
Milliseconds
When power switch from the stop to run the CPU executes a complete restart by executing __________
OB 100
Which of the following is cyclically called by the operating system?
OB1
Function blocks are use a program blocks that can be called by?
OBs, FBs, and FC's
Which of the following are the interface between the operating system and the user program?
Organizational blocks
What is the OB and what types are available?
Organizational blocks and you have OBs, FB's and FC's
The memory area in which the states of all digital inputs are stored is called?
Process image input table (PII)
The memory area in which the states of all digital outputs are stored is called the _________
Process image output table (PIQ)
Which data type issues for data that is a bits long?
SINT
This data type can be used to store group values that are different data types
STRUCT
Explain the concept of bite addressing for a discrete module
The first eight inputs or outfit would be addressed Based on the starting bite address and the next eight inputs or outputs would use the start byte +1
Explain the concept of bite addressing for an analog module
The starting date is determined by taking the slot location -1 and multiplying it by 64
Which of the following STRING variables?
They hold characters
Which of the following contain the number of milliseconds since the beginning of the day
Time of day (TOD)
UDT refers to:
User defined data type
When creating or editing a data block the user can determine whether the data can be:
Visible and Accessed by the HMI