




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. What is the primary purpose of a Function Block Diagram (FBD) in IEC 61131-3? A) Text-based programming B) Sequential step control C) Graphical representation of reusable logic blocks D) Memory configuration Answer: C Explanation: FBD provides a visual method to interconnect reusable function blocks, enabling modular and maintainable code. Question 2. In Structured Text (ST), which statement correctly assigns the result of a multiplication to a variable? A) RESULT := A * B; B) RESULT = A * B; C) RESULT <- A * B; D) RESULT := A × B; Answer: A Explanation: The assignment operator in ST is “:=”, and “*” denotes multiplication. Question 3. Which IEC 61131-3 language is best suited for describing step-wise processes such as a batch operation? A) Ladder Diagram (LD) B) Structured Text (ST)
C) Sequential Function Chart (SFC) D) Function Block Diagram (FBD) Answer: C Explanation: SFC is designed for representing sequential steps, transitions, and actions in batch or process control. Question 4. A PLC program component that can be called from multiple places and returns a value is called a: A) Routine B) Subroutine C) Function Block D) Function Answer: D Explanation: In IEC 61131-3, a “Function” returns a single value and can be invoked from anywhere in the program. Question 5. Which memory type retains its contents after a power-off event without battery backup? A) RAM (volatile) B) EEPROM (non-volatile) C) Cache memory D) Register file Answer: B
B) Isolate or modify specific bits within a word C) Convert temperature units D) Synchronize two tasks Answer: B Explanation: Bitwise masking applies logical AND/OR operations to select or change particular bits. Question 9. Which data structure follows a First-In-First-Out (FIFO) principle? A) Stack B) Queue C) Array D) Linked list Answer: B Explanation: A FIFO queue processes the earliest entered element first. Question 10. Which instruction would you use to compare two values and set a Boolean flag if the first is greater than the second? A) GT (Greater Than) B) EQ (Equal) C) LT (Less Than) D) NE (Not Equal) Answer: A Explanation: The GT instruction evaluates “greater than” and returns TRUE/FALSE.
Question 11. A PLC input channel configured for a 4- 20 mA current loop will interpret 12 mA as: A) 0 % of full scale B) 25 % of full scale C) 50 % of full scale D) 75 % of full scale Answer: C Explanation: 4 mA = 0 %, 20 mA = 100 %; 12 mA is halfway between, representing 50 %. Question 12. When scaling a raw 16-bit count (0-65535) to a pressure range of 0 - 200 psi, what is the scaling factor? A) 0.00305 psi/count B) 0.00153 psi/count C) 0.0061 psi/count D) 0.015 psi/count Answer: A Explanation: 200 psi / 65535 ≈ 0.00305 psi per count. Question 13. Which analog sensor type requires a cold-junction compensation circuit? A) 4- 20 mA transmitter
Explanation: Routers route packets between IP subnets, functioning at the Network layer. Question 16. Which protocol uses the “Producer/Consumer” model for data exchange? A) Modbus TCP B) EtherNet/IP C) PROFINET IRT D) OPC UA Answer: B Explanation: EtherNet/IP can be configured in a Producer/Consumer (publish/subscribe) fashion for efficient data sharing. Question 17. The standard baud rate for RS-485 communication in most PLC applications is: A) 9,600 bps B) 115,200 bps C) 38,400 bps D) 1,500,000 bps Answer: A Explanation: 9,600 bps is a common default; higher rates are possible but must be matched on all devices.
Question 18. Which cable type is required for a direct (crossover) Ethernet link between two PLCs without a switch? A) Straight-through (patch) cable B) Crossover cable C) Fiber-optic cable D) Coaxial cable Answer: B Explanation: Crossover cables swap transmit and receive pairs, allowing two devices to communicate directly. Question 19. In a PLC network, the subnet mask 255.255.252.0 corresponds to how many host addresses? A) 256 B) 512 C) 1024 D) 2048 Answer: C Explanation: The mask leaves 10 host bits (2²⁰-2 = 1022 usable addresses; total 1024 including network/broadcast). Question 20. Which cybersecurity practice is most effective for protecting PLCs from unauthorized configuration changes? A) Using default passwords B) Disabling firewalls
Explanation: Ziegler-Nichols uses the ultimate gain and period from a step or sustained oscillation test. Question 23. In motion control, an incremental encoder provides: A) Absolute position at power-up B) Position relative to a reference point C) Velocity only D) Torque feedback Answer: B Explanation: Incremental encoders generate pulses that must be counted from a known reference (home) to determine position. Question 24. Which drive type is typically controlled via a high-speed pulse (step/dir) interface? A) VFD (Variable Frequency Drive) B) Servo drive C) Soft starter D) DC motor controller Answer: B Explanation: Servo drives commonly accept step and direction pulses for precise position control. Question 25. When configuring a PLC to communicate with a VFD over Ethernet, which protocol is most widely used?
A) Modbus RTU B) EtherCAT C) CANopen D) Profibus DP Answer: B Explanation: EtherCAT offers deterministic, high-speed communication ideal for motion control. Question 26. A “multi-state” indicator on an HMI can display: A) Only ON/OFF B) A numeric value only C) Several predefined visual states (e.g., green, amber, red) D) Audio alerts only Answer: C Explanation: Multi-state objects change appearance based on the PLC variable’s value. Question 27. Which HMI feature allows operators to view historical trends of a process variable? A) Alarm banner B) Numeric entry field C) Data trending chart D) Slider control
B) False triggering of digital inputs C) Increased resolution on analog inputs D) Reduced network bandwidth Answer: B Explanation: Unwanted current can bias input circuits, causing spurious ON signals. Question 31. SCADA systems primarily provide: A) Low-level PLC programming tools B) High-level supervisory monitoring and control across multiple sites C) Mechanical design calculations D) Power distribution management only Answer: B Explanation: SCADA aggregates data from many PLCs, offering visualization, alarms, and remote control. Question 32. Which of the following is a “fixed” memory area in most PLCs? A) Data block defined by the user B) System clock registers C) Retentive data block D) User-defined array Answer: B Explanation: System clock registers are predefined and cannot be re-allocated by the user.
Question 33. The IEC 61131- 3 “POU” acronym stands for: A) Program Output Unit B) Process Oriented Utility C) Program Organization Unit D) Peripheral Operation Unit Answer: C Explanation: POU groups code into Programs, Functions, and Function Blocks. Question 34. Which instruction is used to implement a timed delay that starts when its input goes TRUE? A) TON (Timer ON) B) TOF (Timer OFF) C) TP (Pulse Timer) D) CTU (Count Up) Answer: A Explanation: TON begins timing when its enable input becomes TRUE and holds the output TRUE after preset time. Question 35. In a PLC, the “Q” address space typically refers to: A) Input contacts B) Output coils C) Data registers
Question 38. Which PLC instruction would you use to accumulate the number of parts passing a sensor? A) SUB B) CTU (Count Up) C) DIV D) AND Answer: B Explanation: CTU increments its accumulator each time the input condition becomes TRUE. Question 39. When scaling a thermocouple voltage of –10 mV to –200 °C, which function is typically required? A) Linear interpolation only B) Polynomial lookup table or conversion routine C) Simple multiplication by a constant D) Binary shift operation Answer: B Explanation: Thermocouple output is nonlinear; conversion uses tables or polynomial equations. Question 40. In a PLC-based motion system, the “home” routine is primarily used to: A) Set the motor speed to maximum B) Determine the absolute zero position of an encoder
C) Disable all safety interlocks D) Calibrate the analog input range Answer: B Explanation: Homing moves the axis to a known reference (e.g., limit switch) to establish an absolute position. Question 41. Which Ethernet protocol provides deterministic real-time performance suitable for high-speed motion control? A) TCP/IP B) UDP C) EtherCAT D) HTTP Answer: C Explanation: EtherCAT processes frames on the fly, delivering sub-millisecond cycle times. Question 42. A PLC program that needs to retain a setpoint after a power loss should store the variable in: A) A non-retentive data block B) A retentive data block or memory area C) A temporary register D) An input address Answer: B
A) Overvoltage on the power supply B) Corrupted or missing data frames C) Excessive CPU load on the PLC D) Increased analog input noise Answer: B Explanation: Mismatched baud rates cause framing errors, leading to garbled communication. Question 46. When using a 4- 20 mA loop, a PLC input that reads 0 mA will typically be interpreted as: A) 0 % of span B) 4 % of span (sensor fault) C) 100 % of span D) Undefined – error condition Answer: D Explanation: 4 mA is the minimum valid signal; 0 mA usually indicates a broken loop or sensor fault. Question 47. Which PLC data type is most appropriate for storing a temperature value with one decimal place (e.g., 23.5 °C)? A) BOOL B) INT C) REAL (floating-point) D) WORD
Answer: C Explanation: REAL supports fractional values, allowing precise temperature representation. Question 48. In a PID controller, increasing the integral gain (Ki) will most likely: A) Reduce overshoot B) Eliminate steady-state error faster C) Decrease response speed D) Increase system stability margin Answer: B Explanation: Integral action accumulates error, driving the process variable to eliminate steady-state offset. Question 49. Which of the following is a common method for protecting analog input cables from electromagnetic interference? A) Using unshielded twisted pair B) Running the cable parallel to high-current conductors C) Adding a low-pass filter at the PLC input D) Increasing cable length beyond 100 m Answer: C Explanation: Low-pass filters attenuate high-frequency noise, improving signal quality.