Migration from GE Series 90-30 to AB Studio 5000

edson_lg

Member
Join Date
Jul 2021
Location
Monterrey
Posts
2
Hello, guys.

I am migrating a PLC program from a GE Series 90-30 PLC to an AB L306B PLC.

During the ladder program translation there are some instructions that i cannot find an equivalent in Studio 5000. I'm quite new to AB so i would like some help.

In GE I have:

Instruction:

ARRAY_MOVE_INT

With parameters:

SR: R05001
SNX: R07003
DNX: 1
N: 1
DS: R06000
L: 33

How would i go to insert a simmilar instruction in Studio 5000?
I have no idea what values go into the registers.

Hope you can guide me. Thanks.
 
The 90-30 did not support indirect addressing. The Array instructions are a work-around. You should be able to duplicate the function by creating a 33-element integer tag array in Studio 5000 and using indexed addressing to copy one of the elements of the array to a destination tag.

The ARRAY_MOVE instruction in your example defines a source array of 33 integers starting at %R5001. It also defines a destination array of the same length starting at %R6000, although only %R6000 is actually used. The value in %R7003 at SNX parameter is the index into the source array. The N parameter specifies that one value is moved. The DNX parameter specifies that the value gets moved to the first element of the destination array (%R6000). So, if %R7003 contains a value of 5, the function copies the contents of %R5005 to %R6000.
 
Last edited:
Cop

Thank you very much for your help.

Your link sends me to the General Instructions publication for AB, which i already had and have checked. I dont know if you could be more precise and indicate me the specific instruction or page that you are referring me to in the document.

I have beed using the COP instruction in which i just use the Source and Destination arrays with the Lenght, but i dont really know if the other indexes from the GE program will affect the operation significantly since in the GE Programming Manual specifies the shifting occurs with the argument:

"The ARRAY_MOVE function has five input parameters and two output parameters. When the function receives power flow, the number of data elements in the count indicator (N) is extracted from the input array starting with the indexed location (SR + SNX — 1). The data elements are written to the output array starting with the indexed location (DS + DNX — 1). The LEN operand specifies the number of elements that make up each array."

I apreciate your time.
 
[@Steve Bailey please confirm this is correct; it is not my specialty but it seems to be an straightforward case of bookkeeping]

Sorry I did not look as deeply as I could have:

  • Create a new rung in A-B software
  • Click on the rung number on the left
  • Hit Enter
  • Type in either
    • COP R05001[R07003] R06000[0] 1
      • A-B Source (part 1) R05001 is analog to Fanuc SR
      • A-B Source (part 2) R07003 is zero-based analog to Fanuc one-based SNX
      • A-B Dest (part 1) R06000 is analog to Fanuc DS
      • A-B Dest (part 2) 0 is zero-based analog to Fanuc one-based DNX (1)
      • A-B Length 1 is analog to Fanuc N (1)
      • N.B. Assumes R05001 and R06000 are arrays of INTs, and R07003 is an INT tag
  • Or, as @Steve Bailey noticed ARRAY_MOVE is being used because indirect addressing is unavailable in Fanuc-land, type in
    • MOV R05001[R07003] R06000
      • N.B. Assumes R05001 is an array of INTs, and R07003 (zero-based) and R06000 are INT tags
      • N is ignored because it is 1 and implicit in MOV
  • Hit Enter again
  • N.B. R07003 will probably be zero-based in A-B
COP (or CPS) is the closest thing to ARRAY_MOVE; MOV also works in this particular case because Fanuc N is 1.


fanucab01.png

fanucab02.png
 
Studio 5000 is not my strong point. I'm sure I could work it out with a little trial and error, but I'm hesitant to give a thumbs up or thumbs down to any potential solution.

Simply put, the function in the 90-30, as presented, copies the contents of the Nth element of a 33-element integer array to address %R6000, where N is the value of address %R7003.
 

Similar Topics

hi there! i have just migrated a series 90-30 plc into RX3i. i am now in the process of testing. but due to very limited time given to us, i need...
Replies
6
Views
4,210
I want to migrate a Mitsubishi A series plc to q series, but I have monday with spcial relay register for modul link error, its cannot converted...
Replies
2
Views
1,991
Good day, May I ask, what do I need to perform MIGRATION of HMI program from Siemens MP277 10" Touch hmi to TP1200. I already have WinCC Flexible...
Replies
0
Views
110
Existing environment shown in attached photo (Existing.jpeg) Proposed Environment shown in attached photo (New.jpeg) I am migrating a PLC5 system...
Replies
0
Views
567
Hi All, We have a number of old discontinued 1756-L1 PLC systems that we are trying to support but recognize that we need to start preparing to...
Replies
5
Views
908
Back
Top Bottom