Mitsubishi FX program problem

Jirrr

Member
Join Date
Jan 2009
Location
Czech
Posts
167
Hello,
I am trying to find one varible used on my HMI in FX2N program...it is variable D726 and cross refference always direct me to line where device C2 is Moved to D794...see attached file...how it is possible or what is the structure of C2 device?

Thanks a lot

FX D726.PNG
 
C2 is a counter.
When that line is true, the value of C2 will be put into data register D794.
MOVP is a move instruction and the P means on the rising edge - or only when the line is true and not again until it goes false and true again.
 
Thanks Ronnie,

that I know....my problem is that there are used variables in macro in HMI and only one variable (D794) is copied into this macro......but in macro there are use numbers from D795,796 etc....and when I want to find them in PLC it always show me this line MOVP C2 D794....and no other use of these vars are showed....So I simply do not know where program write to these vars....??
 
Look for something like BMOV (block move)

ie BMOV D100 D795 K10

That instruction will move 10 consecutive registers from D100 to D795 +the next 10
They dont have to be in the program but the moved values will be in those registers
 
Yes...thanks...

there is some BMOV to these adresses at the beginning of the program....these line MOVP C2 D794 only rewrite var at the end of the program....but still why cross reference point me always to this line with var D795...etc.???
 

Similar Topics

I have a Q00 PLC from a customer who want to modify some in Main program. First I upload program from PLC using GXWork 2. Everything is ok. But...
Replies
0
Views
4,419
Hi guys, I'm trying to read the program from Mitsubishi Q2AS(H) PLC. The communication is fine. But while uploading program, selection for...
Replies
3
Views
4,225
Hello, all, total noob here hoping for a little guidance. I bought a new piece of printing equipment that has a Mitsubishi PLC and this Data...
Replies
7
Views
176
Hi, New to the forum. I have an old machine I am working on that is using aA172SHCPUN. I want to capture the program in case I need to reload...
Replies
22
Views
2,060
good afternoon: we had Mitsubishi PLC memory lost. we got the program from OEM, the program file looks like created by GX Developer, we called...
Replies
5
Views
1,864
Back
Top Bottom