Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to assign the correct address to the input.
PLC Programming
input_address = [1]Attempts:
3 left
💡 Hint
Common Mistakes
Using output addresses like Q0.1 for inputs.
Using memory bits like M0.0 instead of physical input addresses.
✗ Incorrect
The input address I0.0 maps the physical input wiring to the logic input in the PLC.
2fill in blank
mediumComplete the code to assign the correct output address.
PLC Programming
output_address = [1]Attempts:
3 left
💡 Hint
Common Mistakes
Using input addresses like I1.0 for outputs.
Using memory bits like M1.0 instead of physical output addresses.
✗ Incorrect
The output address Q0.2 maps the physical output wiring to the logic output in the PLC.
3fill in blank
hardFix the error in the address assignment for a memory bit.
PLC Programming
memory_bit = [1]Attempts:
3 left
💡 Hint
Common Mistakes
Confusing memory bits with inputs or outputs.
Using timer addresses like T3 for memory bits.
✗ Incorrect
Memory bits use 'M' prefix and map internal logic bits, not physical I/O.
4fill in blank
hardFill both blanks to correctly map input and output addresses.
PLC Programming
input_addr = [1] output_addr = [2]
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping input and output addresses.
Using memory or timer addresses for physical I/O.
✗ Incorrect
I0.3 is a valid input address and Q0.4 is a valid output address in PLC addressing.
5fill in blank
hardFill all three blanks to map input, output, and memory addresses correctly.
PLC Programming
input_addr = [1] output_addr = [2] memory_addr = [3]
Attempts:
3 left
💡 Hint
Common Mistakes
Using timer addresses for physical I/O.
Mixing up memory bits with inputs or outputs.
✗ Incorrect
I1.1 is input, Q0.5 is output, and M0.3 is memory bit address in PLC addressing.
