PLC5 to Logix conversion - FAL addressing

mylespetro

Member
Join Date
Dec 2015
Location
NS
Posts
740
Hey everyone,

Just a question regarding the conversion of FAL element addressing between a PLC-5 and Logix5000-series processor. In the screenshot below, the addresses in the Expression field of the top FAL instruction in the PLC-5 are addressed to the specific word level, while in the Logix processor, they are indirectly addressed to [R6_003_POS]. I understand that this is the value of the .POS word of the control word R6[3], but is this the equivalent of using the "#" in #B22:0 to move from B22:0 through B22:3? In other words, I assume this is just going to go from B22[0] through B22[3] as the instruction evaluates according to the control word and length values.

I feel like I just talked myself through it and understand it better now, but this is my first experience with FAL instructions and seeing the indirect addressing threw me off a little bit.

Thanks in advance!

EDIT: Forgot to add the screenshot, d'oh!

FAL Snip.JPG
 
After reviewing the Instruction Set manual for the PLC5, I'm fairly certain I figured out that I'm correct in my assumptions in the original post. It's just taking the binary values of B22[R6_003_POS], or B22[0] through B22[3], and AND-ing them with 21845, which is 0101010101010101 in binary and moving them into N7[R6_003_POS+6], or N7[6] through to N7[9]. The FAL instruction is actually fairly simple to figure out once I read the manual, go figure.
 
mylespetro, what you did looks good as long as R6_003_POS is an alias to R6_003.POS, etc. Otherwise you should change it to R6_003.POS & R6_004.POS in your FAL instructions.
 
mylespetro, what you did looks good as long as R6_003_POS is an alias to R6_003.POS, etc. Otherwise you should change it to R6_003.POS & R6_004.POS in your FAL instructions.

Thanks Ron, looks like that is the case, screenshot below. This was created using the PLC5 to Logix5000 conversion utility, just realized I didn't say that in the original post.

Thanks again!

POS Snip.JPG
 

Similar Topics

Hey everyone, Just used the PLC5/Logix migration utility to convert a program, and while addressing the PCEs, I noticed a lot of errors for "XIC...
Replies
12
Views
1,973
I have a box erecting machine that uses a PLC5/20 and SFC currently. I need to convert the equipment to run in its new home which will be...
Replies
0
Views
1,334
I have experience with converting PLC5 to Logix but this system has two PLC5s, one of which is used in adaptor mode. I'm wondering if someone...
Replies
5
Views
2,521
Hello, I am doing a PLC5 to 1756 L81 conversion. I have an issue with what looks like an indexed array bit in the PLC 5 that I am unsure of how...
Replies
1
Views
1,272
Hello, I am currently converting a project from PLC5 to ControlLogix. I have migrated the program from Logix5 to Logix5000 and any Block Transfer...
Replies
4
Views
3,345
Back
Top Bottom