Hello Guest it is March 28, 2024, 12:47:57 PM

Author Topic: A/B-1762-L40BWA FRN 11 & MODBUS Help !!  (Read 14123 times)

0 Members and 1 Guest are viewing this topic.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
A/B-1762-L40BWA FRN 11 & MODBUS Help !!
« on: December 14, 2007, 03:58:01 PM »
Hi, All

Trying to configure A/B MicroLogix 1200, 1762-L40BWA FRN 11 & ModBus, Have a Link to the Manual's.

Hear:  http://www.ab.com/programmablecontrol/plc/micrologix1200/downloads.html

This manual section E ModBus info: http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1762-rm001_-en-p.pdf

Just VERY Lost at this Moment I Hope, Have updated the PLC to FRN 11 needs ver 8 or above to run modbus.

Set it to Modbus RTU Protocol "Master", It set's it to "Off line", Just Power Light on, RSLogix500 software.

Com 2 port set, ModBus test on/off "no errors", Reading states timmed out.

Thanks, Chip
Re: A/B-1762-L40BWA FRN 11 & MODBUS Help !!
« Reply #1 on: December 14, 2007, 04:18:34 PM »
Hi Chip,

I would expect that the PLC should be set to RTU  Slave mode. Mach3 is the Master.

Cheers,

Peter.
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: A/B-1762-L40BWA FRN 11 & MODBUS Help !!
« Reply #2 on: December 14, 2007, 05:17:54 PM »
Hi, Peter

I'll try that again, Had it set that way once, But not set to "Off line", Just Power Light on Mode.

Getting an Illegal Data Value now so it must be talking at least, Progress !!!, Thanks Peter !!!

Need some examples on opening and closing a coil input and output, Or something other than "Illegal Data Value".

Just Stumbling Around Hear, Chip

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: A/B-1762-L40BWA FRN 11 & MODBUS Help !!
« Reply #3 on: December 15, 2007, 04:58:59 PM »
Hi, All

First time trying to interface a PLC to Mach3 ModBus, It's a A/B MicroLogix 1200, 1762-L40BWA FRN 11 .

It's talking to ModBus, But all I'm seeing is "Illegal Data Value", or "Illegal Function" on Mach3 ModBus Status: window/Line.

Using  RSLogix500 software with proper ver. for ModBus, Set to 1200 Ser. C, Bul: 1762.

OK: Duuuu Question, Dose the Ladder Logic have to be setup in the PLC before setting it nto ModBus Mode.

Any one have a Solution.

Thanks, Chip
Re: A/B-1762-L40BWA FRN 11 & MODBUS Help !!
« Reply #4 on: December 15, 2007, 05:35:30 PM »
Hi Chip,

The Modbus Master (Mach3) requests writes to and reads from registers in the PLC.

For this to work, You need to

set up the registers in the PLC
Write ladder logic to interact with the PLC registers
Set up Mach to read/write the registers set up.

Errors in any of the above steps will cause it not to work. Does the PLC come with a tutorial or quick start guide?

What you may want to do initially, is write some ladder logic that just takes the value in a a few coil registers and sets the output on the PLC, Then get Mach to set the coils. If you set the Mach outputs to these coils it should be a simple test.

BTW, I don't have a PLC myself.

Cheers,

Peter.
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: A/B-1762-L40BWA FRN 11 & MODBUS Help !!
« Reply #5 on: December 15, 2007, 11:30:32 PM »
Hi, Peter

This PLC has 24 Coils "0", 16 Contacts "1"

Need to now "Size (# of words)" (default is 1 Integer Words), or option, Binary Words. Is the default value Proper ?

It's also asking for # of Input Register's "3" and Holding Register's "4" and there word length, Haven't found them in the A/B spec. sheets 

Do you have any idea on these.

Thanks, Chip

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: A/B-1762-L40BWA FRN 11 & MODBUS Help !!
« Reply #6 on: December 17, 2007, 04:41:47 PM »
Hi, All

Illya on the Yahoo group sent a ModBus ModSlave.RSS file for the 1200 seres A/B PLC.

The file got me going, A little editing to do for inputs/outputs at some point. But I can read & write to the Plc now, Still unsure about proper start

addresses to turn on an output or see an input though and using the Input Register's and Holding Register's.

Have the online manuals for Ref., Lot's to Digest though.

Thanks, Chip
Re: A/B-1762-L40BWA FRN 11 & MODBUS Help !!
« Reply #7 on: September 29, 2014, 12:57:04 PM »
SO how did your project turn out? I am just starting my integration with my micro 1100.