63.1k views
5 votes
Introduction to Analog Inputs and Data

Objective:
- Develop a Finite State Machine ladder diagram incorporating an LCD output, utilizing trim pots on the user board to determine the system state.
- If the trim pot is set above 600, activate DO-00.
- If the trim pot is set below 400, activate DO-01.
- When the trim pot is between 400 and 600, turn off both outputs.

Equipment:
- Micro810
- User board with trim pot AI input(s)

Background:
- Create a comprehensive state diagram, illustrating all states and transitions.

Ladder Diagram Organization:

A. Table of Local Variables:
- Define variables to capture the current state and transitions.

B. States with Latches:
- Set up latches for each state to maintain the current state until a transition occurs.

C. Transitions:
- Program Al input, conversion, and comparison on the transition rungs or separate rungs with variables applicable to the transition.
- Utilize ANY_TO_STRING to convert the Al input to a string variable.
- Display the trim pot variable on the LCD.
- Employ Compare > and < with AI input compared to a fixed number to activate Boolean variables for transitions.

D. Outputs:
- Include two lights to signify the > and < states of the trim pot(s).

Report:
- Summarize the actions of the state machine, including any creative actions.
- State diagram with transitions indicated.
- Table of variables used.

Components:
1. State Diagram
2. Table of Variables Used
3. Ladder Diagram organized properly

User Dean Lee
by
7.9k points

1 Answer

2 votes

Final answer:

In modern electronic devices, digital signals are used with diodes and transistors to perform tasks such as data manipulation. Electric circuits carry two types of electrical signals: analog and digital. A transistor behaves like an on-off switch in digital circuits.

Step-by-step explanation:

Introduction to Analog Inputs and Data.

In modern electronic devices, digital signals are used with diodes and transistors to perform tasks such as data manipulation. Electric circuits carry two types of electrical signals: analog and digital. An analog signal varies continuously, whereas a digital signal switches between two fixed voltage values. In digital circuits, a transistor behaves like an on-off switch.

For the given objective of developing a Finite State Machine ladder diagram incorporating an LCD output using trim pots on the user board to determine the system state, you can follow the steps outlined:

  1. Create a comprehensive state diagram, illustrating all states and transitions.
  2. Set up latches for each state to maintain the current state until a transition occurs.
  3. Program Al input, conversion, and comparison on the transition rungs or separate rungs with variables applicable to the transition.
  4. Display the trim pot variable on the LCD.
  5. Employ Compare > and < with AI input compared to a fixed number to activate Boolean variables for transitions.
  6. Include two lights to signify the > and < states of the trim pot(s).
User Ben Everard
by
8.2k points