Help with a Mitsubishi program command

bob1371

Lifetime Supporting Member
Join Date
Mar 2003
Location
Southern Indiana
Posts
355
Hello,

I have a program running on a FX2N Mitsubishi PLC which has a command I havent seen nor can I find in the book.

(FORP K4M2 K1)

I cant find the FORP command anywhere.

thanks,
Bob
 
I've never used it nd won't pretend to understand it, but from the help in GX developer, I got this:

The FOR and NEXT instructions allow the specification of an area of program, i.e. the program enclosed by the instructions, which is to be repeated S number of times.

Seems it is a for-next loop. the P on the end means it is a pulse instruction (operates once only when logic goes true). K4M2 is a way of reading the 4 bytes from M2 to M17 (16 bits) as a binary number, and k1 is the constant number 1. I belive that in this case, it means only perform the loop once.
That might not be much help, but should get you started...
 

Similar Topics

Hi Guys (and Girls?), I have a project in a Mitsubishi FX2N that I would like to have printed into a .pdf. I do not have the software package yet...
Replies
6
Views
1,878
Would anyone mind helping me out with a Mitsubishi PLC program? I am currently a student and trying to do some extra credit but am not familiar...
Replies
1
Views
2,247
Hello All, New with Mitsubishi plc and now i have to a task on OLD CPU FX-48-MR-DS . When i open GX Developer Version 7.08G and create project to...
Replies
3
Views
1,717
Hi can you help, have a book stitching machine with collates pages in 8 stages. I have installed a camera system that will give an input to...
Replies
24
Views
1,819
Is there an output or something that is similar to a screen saver, but you can use in the plc to know when the user is actively using it...
Replies
1
Views
478
Back
Top Bottom