citythunder
Member
Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help me, thank you.
Enter your ID Number (11 Digits) into the number entry. Add the first two digits (from the left) of the number you entered with 150 and throw it into a variable. Print the Fibonacci Number in the step corresponding to the number you found on the screen in Decimal and Hexadecimal formats.
Example:
If ID Number: 42xxxxxxxxx, the term that must be found is the 192nd (150+42) term. Note: Use the basic Fibonacci sequence.
I did the first part as above. I would appreciate it if you could guide me for the rest, thank you. I am using Tia Portal v17.
Enter your ID Number (11 Digits) into the number entry. Add the first two digits (from the left) of the number you entered with 150 and throw it into a variable. Print the Fibonacci Number in the step corresponding to the number you found on the screen in Decimal and Hexadecimal formats.
Example:
If ID Number: 42xxxxxxxxx, the term that must be found is the 192nd (150+42) term. Note: Use the basic Fibonacci sequence.
I did the first part as above. I would appreciate it if you could guide me for the rest, thank you. I am using Tia Portal v17.