Hi everyone, I have a very quick question which should be fairly straightforward for someone with a little more in-depth programming knowlege than me.
I have a program running on a Mitsubishi FX-1S (the first one I've ever used) which is being started by the feed out of a printer. I've already completed and tested every other function of it and it works perfectly, but I have one more thing left to do.
The person in charge of this project has handed me an optical encoder and told me that it will be fitted to the machine and I'm to use it to start the machine I'm building.
Anyway, here goes:
I've got a single phase from the 1000PPR rotary encoder hooked up to one of the digital inputs of the PLC... I don't need any actual counting to go on, so that should suffice.
However, I need to trigger one of the internal relays on the state change of that input.
Either on to off, or off to on (regardless of which position it starts from), which I can then use to start a hauloff section of the program. The rest of the program is written, I just need a bit to turn on based on the change of state to trigger it.
Now, I've done this in another project a couple of years ago with an Omron CJ-1M, but I can't for the life of me remember how I did it... Even spending a good 2 hours today going through the MELSEC manuals, nothing has jogged my memory.
If anyone has any insight to offer, I would be very appreciative!
Thanks in advance,
Josh.
I have a program running on a Mitsubishi FX-1S (the first one I've ever used) which is being started by the feed out of a printer. I've already completed and tested every other function of it and it works perfectly, but I have one more thing left to do.
The person in charge of this project has handed me an optical encoder and told me that it will be fitted to the machine and I'm to use it to start the machine I'm building.
Anyway, here goes:
I've got a single phase from the 1000PPR rotary encoder hooked up to one of the digital inputs of the PLC... I don't need any actual counting to go on, so that should suffice.
However, I need to trigger one of the internal relays on the state change of that input.
Either on to off, or off to on (regardless of which position it starts from), which I can then use to start a hauloff section of the program. The rest of the program is written, I just need a bit to turn on based on the change of state to trigger it.
Now, I've done this in another project a couple of years ago with an Omron CJ-1M, but I can't for the life of me remember how I did it... Even spending a good 2 hours today going through the MELSEC manuals, nothing has jogged my memory.
If anyone has any insight to offer, I would be very appreciative!
Thanks in advance,
Josh.