Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use FB and / or FC s for the main part of your program. Use the methods mentioned in the exercise sessions for programming with

Use FB and/or FCs for the main part of your program. Use the methods mentioned in the exercise sessions for
programming with FBs or FCs: SHL
Use as little memory as possible (memory(words), statics, timers, counters,...)
Test each part, a program that doesnt work will not give you a lot of points!
Palindrome
We design an access control that receives a 16 bit code from a barcode reader (enter with HMI, put data type in
binary). This barcode reader also gives us a short "read" signal at each new pass (simulate this signal). We check
whether this 16-bit code is a palindrome, so identical when read from left to right or right to left, for example LEVEL.
1. If the code is a palindrome, we open the door (we activate an output for 3 seconds).
2. If one wants to smuggle someone in, one will probably scan the same pass twice (16bits are identical). Give
a 10" silent alarm (a separate output) when this happens, but let the person in.
3. In a shift, there are at least 5 different badges (the codes are not fixed, they only should be a palindrome).
Make sure that if you try the same card twice in a shift, the silent alarm goes off. Only the passes that lead
to access are stored, not the rejected ones. Add a reset button to start a new shift.
4. The amount of badges is variable and can be chosen on the HMI (maximum 8). When this amount is
reached, a new shift will start automatically

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_2

Step: 3

blur-text-image_3

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

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions

Question

What does the term one-way signify in the phrase one-way ANOVA?

Answered: 1 week ago