Mangal,
The book you want is called "one hundred and one
ways to use a programmable controller" It was
published in 1994 by Mitsubishi electric corporation.
In the future if you ask a simple question on this
forum, be ready for insults and ridicule. One way to
deflect it is to tell them all the ways you have tried
to find the answer to it, before taking your life in your
hands and posting a question here.
When we get a little knowledge, so soon do we forget that
we knew nothing. Does it make you feel better or superior
to make fun of someone trying to learn?
Larry