It is currently Sun Aug 31, 2014 11:35 pm




Post new topic Reply to topic  [ 4 posts ] 
 Hollysys LM3106 Address Mapping Help 
Author Message
Trooper
Trooper

Joined: Fri Aug 03, 2012 5:06 pm
Posts: 15
Post Hollysys LM3106 Address Mapping Help
Appreciate any help in advance.

Connected just fine to a Hollysys LM3106 PLC Processor via ethernet to serial convertor. Am able to read coils just fine from the unit.

Have 3 memory locations in the PLC that I am attempting to read (this is not a finished PLC program, but rather a proof of concept program).

The memory locations have to start at MX100 as MX0-MX99 are reserved for system diagnostics.

If I go online via the plc supplied programming interface, I can see those address update to the correct value as the program cycles (couple of timers cycling each other).

Page 182 of this manual describes holding register addressing. (sorry for not being able to link the specific excerpt) - http://www.automationlasso-store.com/me ... l_v1.0.pdf

I have tried every iteration of addressing direct in Ignition (using direct addressing such as [Test Unit]51.HR3000.5 and [Test Unit]51.HR100.5, [Test Unit]51.HR3801 etc)

I am trying to read the following addresses

MX100.1
MX100.5

Any thoughts would be so very much appreciated. Once I get it figured out for one address, I can get the rest going.


Thu Aug 16, 2012 4:39 pm
Profile
Moderator
Moderator

Joined: Mon Oct 27, 2008 4:10 pm
Posts: 2014
Location: Folsom, CA
Post Re: Hollysys LM3106 Address Mapping Help
Looks to me like you should be addressing coils, not holding registers.

Try [Test Unit]51.C3801 and [Test Unit]51.C3805.

Edit: Make sure device name (Test Unit) and unit id (51) are correct as well.

_________________
Kevin Herron
Software Developer
Inductive Automation


Thu Aug 16, 2012 4:45 pm
Profile WWW
Trooper
Trooper

Joined: Fri Aug 03, 2012 5:06 pm
Posts: 15
Post Re: Hollysys LM3106 Address Mapping Help
Well, as is typical with this type of thing, I figured it out within 30 seconds of posting.

The addresses I was using via the mapping conversion were off by 1. I unchecked the zero based addressing in the device and the addresses mapped as expected.

To read MX100.1 does equal HR3050.1 now.

Hopefully thishelps someone in the future

***edit A response was made while I was typing my reply. I will try that also as I am learning how this PLC works with Ignition (and learning Ignition also)


Thu Aug 16, 2012 4:48 pm
Profile
Moderator
Moderator

Joined: Mon Oct 27, 2008 4:10 pm
Posts: 2014
Location: Folsom, CA
Post Re: Hollysys LM3106 Address Mapping Help
That manual explicitly states that %MX locations are of Modbus Data Type 0x (Coil)... be careful that you have the right location/values.

Edit: Oh I see, the holding register is holding the same value or something. Carry on then!

_________________
Kevin Herron
Software Developer
Inductive Automation


Thu Aug 16, 2012 4:49 pm
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: