migration program from step5 to allen bradley

z7iliga

Member
Join Date
Nov 2015
Location
casablanca
Posts
13
hi everyone i'm looking for your heelp please
i have a probleme with converting this in rslogix5000

:L KHE400
:+F
:LIR 0
:T MW240
****************************
ANOTHER QUESTION IS

:L MB194
:+F
:T MB220
: L KF+256
:>F
: BEB
how to do with (BEB)
****************************
thanks a lot
 
hi everyone i'm looking for your heelp please
i have a probleme with converting this in rslogix5000

:L KHE400
:+F
:LIR 0
:T MW240
****************************

Listen carefully: LIR is a system command and it has no substitute in any other PLC types than S5.
You must find out what this function block is supposed to do (it is probably some data moving) and reprogram it in a conveniant RSLogix way.

If you post the FB and the program where it is called, we might be able to lead you in the right direction.


ANOTHER QUESTION IS

:L MB194
:+F
:T MB220
: L KF+256
:>F
: BEB
how to do with (BEB)
****************************
thanks a lot

BEB -> you can jump to the end of the program instead.
It is a 'Return to calling block' - command.

Kalle
 
Last edited:
Thanks a lot
i4ll try to solve the problem and i'll give you all the program later


:L KHE400 // Loading a start addres for a system area. I don't have a manual here, but it it is probably the start address of the DB index, so this might well be DB0.

:+F // Adding contents of accu 2 to find the start address of the wanted DB number.

:LIR 0 // Loading the address to ACCU 1
:T MW240 // And save it here.


If you had posted more of the code before and after these lines, it would be simpler to analyze.

Kalle
 
For beb instruction i used jmp to label at the last of program but it dosn't accept it. Maybe i have to add a nop instruction in the same line !!!
 
For beb instruction i used jmp to label at the last of program but it dosn't accept it. Maybe i have to add a nop instruction in the same line !!!

Does the rung you want to jump to have a symbol in it like this?

Code:
      ? 
  --[LBL]---
JMP instructions go to LBL instructions only. Also, make sure the LBL instruction is the first instruction on its rung.
 

Similar Topics

So basically i have 2 queries : 1. I have a program file of S7-300 PLC which i want to migrate in RSLogix500.In short i want to convert my simatic...
Replies
15
Views
279
I need to utilize the program of Panelview 300 standard into Panelview 7 plus. Can anyone plzz help in this regard??
Replies
2
Views
1,405
U
Hello, I was wondering if it is possible to import/migrate an existing RSLogix5 (PLC5/30) application into RSLogix5000 (Controllogix), or do I...
Replies
4
Views
4,050
Hi everyone, i have a Siemens S7-300 Cpu 314C-2 DP with several cards of i/o and servos my laptop has TIA version 16 and 17 loaded and...
Replies
4
Views
187
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
172
Back
Top Bottom