Fanuc 90-30 PLC mov_int problem

criggz

Member
Join Date
Aug 2005
Location
in the sticks
Posts
6
Hey all,
im having a problem trying to move some %M data into the %R registers in a Fanuc 90-30 PLC

i have seen this done in the current program im working on so i know it works, but for the life of me it keeps comming up with an error "Error 8244: Valid memory addresses start on a byte-aligned address: 1, 9, 17, etc."???????

basically from what i have been told when you do this is just moves the first 16bits from the starting %M into the %R as an integer?

so
%M1700 Mov_Int %R8300

should just move the first 16 bits of data into the %R register as in integer.

%M1700 ---> %M1715 into %R8300

i cannot get this working at all and any help would be great.

Thanks
Craig.
 
When you're moving 16 bits of discrete data like %M, the %M address has to be on a byte boundary. That's a number that produces a remainder of 1 when divided by 8. So a MOVE_INT or MOVE_WORD function won't let you move %M1700 - %M1715 to %R8300, but it will let you move %M1697 - %M1712 to %R8300.
 
Thanks steve,

i ended up working this out my self eventually and thought id come back to see if anyone had given an answer.

i used %M1705 as my first bit. as the first usable address divisble by 8 from 1700 was 1704, add the 1 onto it and came out with %M1705

Thanks again
Craig.
 

Similar Topics

Got an old machine with a IC610CPU104 CPU. A bit of research told me this is the same as DL305 so DirectSoft from AutomationDirect should work...
Replies
15
Views
2,140
Dear Everyone I work with PLC GE-Fanuc. But I don't know that "PLC GE-Fanuc (Series 90-30 and VersaMax) can Online Edit Programming while...
Replies
9
Views
3,111
Our PLC output 7 opens a valve to move a cylinder rod. The output turns on every minute. The output is supposed to be ON for 10.56 seconds. But...
Replies
3
Views
2,930
Need to find where to get VersaPro or Proficy software for the GE Fanuc 90-30 PLC.
Replies
5
Views
2,563
Good afternoon all, hope everyone is doing well. Could someone explain the pic attached on the wrt.not instruction? To me, it looks the same as...
Replies
6
Views
2,143
Back
Top Bottom