Quick and easy Mitsubishi question.

metaxus

Member
Join Date
Feb 2009
Location
Melbourne
Posts
3
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! :oops:

Thanks in advance,
Josh.
 
Hi
Not the neatest solution but you could use PLS and PLF to detect rising and falling edges, and use these to generate your trigger bit.

If I was doing it i would use a low input, say X1 which is usually hi speed counte enabled, and feed a counter. I would then look for a change in the counter of a few counts.

Are you essentilly looking to see if somthing else is moving before you start?
 
CJD said:
Are you essentilly looking to see if somthing else is moving before you start

That's exactly what I'm doing. My machine connects to a printer and has to start working at the same time the printer starts printing.

panic mode said:
not sure what you need but there are also inline instructions:

Thanks. I'm not on site today, but I'll try these out first thing in the morning.
 

Similar Topics

Heya, Guys.....all of ya'll have always been really helpful before!!!! Here's a ??easy?? question....... I have a A173UHCPU (A series) that the...
Replies
1
Views
3,185
Ok it may seem an easy one but i just want to confirm (Get an approval from peoples that already did similar) because i won't be able to test it...
Replies
5
Views
3,220
I'm creating a new thread for this because I can't seem to find the relevant info in my documentation. I remember how to run online edits for...
Replies
8
Views
6,124
My minds gone blank and I need a quick question answering. I'm looking at some S5 code offline and haven't got a PLC to test this so thought I'd...
Replies
2
Views
3,806
I'm trying to import a .prj file and I keep getting the error message: Project import error. i Any ideas how to get around this? Thanks.
Replies
0
Views
51
Back
Top Bottom