Training exercise

marcosouplex

Member
Join Date
Oct 2013
Location
Monistrol sur Loire
Posts
2
I'm new to this forum and also new in S7-300 programming.

In order to start programming, I made a small project that is now finished (almost I want to change one or two point).

I found this exercice quite nice and I would say it allowed me to greatly improve my knowledge in with step 7. I also could realize that there's still a huge quantity of things to learn....

The exercise is as follow

Build a FB that drives a 16 bits chase.
Through the FB, we can
-> start the chase
-> stop the chase (if stopped light is setted at start position)
-> pause the chase (the light is frozen in the last position)
-> reverse the chase (it will change it direction without coming to first position)
-> accelerate the chase (through impulse on a push button, we can accelerate the chase)
-> slow down the chase (through impulse on a push button, we can slow down the chase).
-----|maximum and minium speed are adjustable within a range
-----|I want to allow later to adjust the speed through an analog input

-> restrain the chase between upper and lower range (it means for example that it will start on bit 3 and loop when reach bit 14) Those upper & lower range are adjustable
-----|I forecast to chang this in order to jump chosen bits. Those bits will be given in an input word.

-> a toggle input allows to start the chase from start position
-> a toggle output light on when the last light is on.
-----|It should allow to synchronize serverals chase running on different outputs.

->Finally, I put the chase on an output word of the FB

My main deception, was that I could not give at the input of the FB the adresse of the output word (in order to write the chase inside). I tryed with a pointer, but it seems that I can't give the adrees of a word (for ex AW2) in order to write the chase inside.

Otherwise it's a nice project eventhough it take some time )))

Next step is to get my chase working together on two plc connected through mpi bus....
 

Similar Topics

Hello, Im looking to train myself up in PLC's and VFD drives - add another string to the bow as it were. We use them at the company i work...
Replies
4
Views
341
Hi Expert: I have used EPlan at previous job, now in the new job they use AutoCAD Electrical, just finished one training at Udemy, it is not good...
Replies
7
Views
1,144
So, I'm in the process of designing a Training room where I will mount a lot of PLC hardware Old and New. Some will use Din rail and others will...
Replies
9
Views
926
Could anyone recommend a video series or even hard copy of how to setup a q series motion controller. I have a Q03UDCPU,Q173DCPU,MR-J3-100 and a...
Replies
1
Views
645
Hello Friends, I'm starting a new job soon, towards the end of September, that will be using all Beckhoff equipment. I have programming...
Replies
4
Views
1,059
Back
Top Bottom