Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

draw for me the sequential function chart of the following program VAR Timer 1 : TON ; / / Timer for 0 1 0 1

draw for me the sequential function chart of the following program
VAR
Timer1 : TON ; // Timer for 01
01,02 : BOOL; // outputs This program sets 01 to turn on for 10 seconds when S1 turns on. After 10 seconds, 01 turns off and 02 turns on until S2 turns on.
END_VAR
IF S1 THEN
// when S1 turns ON, start Timer1
Timer1(IN := TRUE, PT ;= T#10s);
01 := Timer1.Q; // output 01 follows Timer1
ELSE
Timer1(IN := FALSE) ; // Reset Timer1 if S1 is off
01 := FALSE; // Reset 01 if S1 is OFF
END_IF
IF S2 THEN
02 := TRUE; // when S2 turns ON, turn on 02
ELSE
02 := FALSE; // Reset 02 if S2 is OFF
END_IF
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions