You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old October 11th, 2012, 06:20 PM   #1
leonlai
Member
United States

leonlai is offline
 
Join Date: Jun 2011
Location: WA
Posts: 96
a device send DO thu its Modbus, can I connect to Micrologix and read that data ?

a device send Digital Output through its Modbus
Can I hook the Micrologix 1400 to that device through the Modbus (serial cable) and get the DO from the device ??

Thanks
  Reply With Quote
Old October 11th, 2012, 06:30 PM   #2
bernie_carlton
Lifetime Supporting Member + Moderator
United States

bernie_carlton is offline
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 6,404
Let's clarify what you are saying first.

Quote:
a device send Digital Output through its Modbus
Which is this ...

1. A device which will control Digital Outputs and can receive the command through Modbus from a Master device.

2. A device which receives Digital Inputs but can be read by a Master device using Modbus.

3. A device which recieves Digital Inputs then sends their status using Modbus as a Master to a Slave device?

4. A device which sends commands as a Master to a Slave device using the Slave as its outputs.


The 1400 can be set to be the Master in 1 and 2 or the Slave in 3 and 4 but not all at once.

If this is all confusing at least provide the maker and model number of the device.
__________________
Controlling outputs is the PLC's way of getting its inputs to change.

Last edited by bernie_carlton; October 11th, 2012 at 06:58 PM.
  Reply With Quote
Old October 11th, 2012, 07:02 PM   #3
leonlai
Member
United States

leonlai is offline
 
Join Date: Jun 2011
Location: WA
Posts: 96
This Device supports ASCII transmission modes thru Modbus Protocol
AND this device operate as slaves to other Modbus devices !

So, you mean I can connect them together and read the data from the device right ??

The second thing is I never do this before so what command or what steps should I do to make Micrologix regconize the device and read its data !!

Thanks
  Reply With Quote
Old October 11th, 2012, 07:22 PM   #4
leonlai
Member
United States

leonlai is offline
 
Join Date: Jun 2011
Location: WA
Posts: 96
btw, I use RSLogix 500
  Reply With Quote
Old October 11th, 2012, 07:42 PM   #5
bernie_carlton
Lifetime Supporting Member + Moderator
United States

bernie_carlton is offline
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 6,404
Edit: I missed that you said ASCII transmission. The Mirologix supports RTU transmission. See if the device can be switched to RTU. Otherwise everything I have said below is out the window. Sorry



1. You will set the serial port on the Micrologix as a Modbus Master. Note: by doing this you won't be able to use the serial port for programming but you are probably using the Ethernet port anyway.

2. You did not define if you are using RS232 or RS485 (RS485 is more common). Either way you will need to use the proper cable attachments.

3. You will use message (MSG) commands in your program which define the Modbus addresses in the slave, number of words, and the destination registers (usually N registers) in the Micrologix for the information.

This piece of information from AB shows how to use a Micrologix 1500 to a Powerflex drive but the ideas on messaging apply almost directly (except for the Modbus address) and other sections give good information.

You won't need the NET-AIC if you are using RS485. The Micrologix 1400 already has that. You'll just need a wire breakout (1763-NC01)
__________________
Controlling outputs is the PLC's way of getting its inputs to change.

Last edited by bernie_carlton; October 11th, 2012 at 07:44 PM.
  Reply With Quote
Old October 15th, 2012, 12:40 PM   #6
leonlai
Member
United States

leonlai is offline
 
Join Date: Jun 2011
Location: WA
Posts: 96
InsiteIG model 4000 which is the device I use to be slave with Micrologix 1400, Its has an auxiliary port (using both ASCII and RTU)and the maintainance port (DB9 serical cable to Laptop) (only ASCII) !

Do you think If I can find out a auxilary to serial dapter, I able to connect the device (auxilary port) to PLC (Serial port), I can read information from the device ??

I use Ethernet to connect PLC and HMI by a modem !
  Reply With Quote
Old October 15th, 2012, 01:14 PM   #7
bernie_carlton
Lifetime Supporting Member + Moderator
United States

bernie_carlton is offline
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 6,404
The data sheet and manual don't give enough information on the electrical specifications of the Auxiliary port. You'll have to get with them for information and advice on a connection.

Otherwise the last section of the manual gives a good overview of the Modbus addresses and which can be accessed through the serial port.

If you can set up an RS232 or RS485 connection to the Auxiliary port you should be good.
__________________
Controlling outputs is the PLC's way of getting its inputs to change.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Micrologix 1400 data queue read? istvanb LIVE PLC Questions And Answers 7 August 4th, 2022 11:25 AM
Micrologix 1500 LRP MSG READ from Compactlogix asmaint2 LIVE PLC Questions And Answers 2 April 9th, 2012 01:18 PM
Allen bradley Micrologix Read Request for bool from Data File B. viti LIVE PLC Questions And Answers 1 March 6th, 2012 01:59 AM
Micrologix 1100 modbus data mapping. gary g smith LIVE PLC Questions And Answers 3 October 5th, 2007 10:35 PM
Micrologix 1500 Serial - Data read but not shown donl517 LIVE PLC Questions And Answers 10 August 29th, 2006 11:22 AM


All times are GMT -4. The time now is 08:13 AM.


.