Block transfer timeout with 1747-SN + 1794-ASB (flex IO) + 1794-OF4I (analog out)

rollex

Member
Join Date
Mar 2014
Location
Australia
Posts
55
I've got a SLC with a RIO scanner 1747-SN and a flex IO DIN rail 1794-ASB with an analog output module 1794-OF4I

Now I've found example code etc and read all the manuals fairly heavily however when doing the block transfer I keep getting error code -9 for the BTW and BTR indicating a block transfer timeout.

The 1794-ASB is flashing green which means it has the correct baud rate and is communicating, to confirm I change the dip switches to the wrong baud rate and the LED goes off.

If I had RS-485 comms to the remote IO scanner why am I getting a block transfer timeout? I've set the dip switches on the ASB to be logical rack 0, with the OF4I being the first module. This means it is logical rack 0, group 0, slot 0 (using full rack addressing).

I'm correctly setting the BTR word to be 000 for rack 0, group 0, slot 0. I've also tried setting the BTR word to be 100 and changing the dip switch to make it rack 1.

What else can I check? I'm pulling my hair out as I don't know what else can be wrong. Surely if I have the control word

The code I am using is example code recommended by rockwell support here, I've attached it as a zip also.

Any help would be muchly appreciated!

http://rockwellautomation-ap.custhelp.com/app/answers/detail/a_id/16036
 
Last edited:
You should have a solid green LED on the 1794-ASB adapter, not flashing green.

How many other modules are connected to the 1794-ASB ?

That example program you sent shows a "1/4 rack" at Rack 02, which would be correct with 1 or 2 modules connected.

Make sure you're configuring the DIP switches for the correct Series of 1794-ASB; the Series E modules (about 10 years ago) added 32-bit support and re-defined some of the DIP switch meanings.
 
Ok I see the problem, I had used full rack addressing as my full program has 4 modules, however I only have 1 module here for testing.

I've set it to be 1/4 rack addressing and it is now working. When I get the rest of the IO I will have to change it to full rack.
 
When a 1794-ASB powers up, it examines the I/O bus and the DIP switches and decides whether to represent a 1/4, 1/2, 3/4, or Full Rack of RIO memory.

You're on the right track. Configure it for what's there now, and reconfigure it later when you install the rest of the modules.
 
Thanks for the help guys, this is the second slc I've ever written code for and really got thrown in the deep end having to learn m, g files and block transfers with no greybeards to advise me.
 

Similar Topics

Hello all, I couldn't find a solution through the search tool so hopefully someone out there can help me along. I'm working with a converted...
Replies
3
Views
1,207
so after a previous thread about the panelview 1200. I figured everything out that I needed to get working with it. I've got the RIO discrete...
Replies
5
Views
1,578
Good Evening , I need to convert a PLC 2/17 ( RS Logix 5 ) over to a CompactLogix 1769-L33ER . I took notice in the RS Logix 5 program that...
Replies
9
Views
2,087
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,347
Greetings All, I am hoping for some guidance on if there is a quick and easy way to translate or transfer Function Block logic into ladder logic...
Replies
3
Views
1,738
Back
Top Bottom