![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]()
|
New Here? Please read this important info!!!
![]() |
#1 |
Member
![]() ![]() Join Date: Jun 2016
Location: NY
Posts: 16
|
MVI56E-MNETC Read and write coils
Dear all,
I am working a project with 1 MVI56E-MNETC card and I am forcing a problem with read and write coils. Regarding holding registers I am ok. I can write and read but when I am trying to read coils with internal address 1000 I can not read, but if I am trying to read the same coils with internal address 0 I can write. But I should read (and also write) coils not only in internal address 1000, but also in other addresses. Why have I this limitation? PS : My internal address array has 6000 HR length. Regards |
![]() |
![]() |
#2 |
Lifetime Supporting Member + Moderator
|
For other's reference: the MVI56E-MNETC is a modern version of the classic Prosoft Modbus card for ControlLogix.
The "MVI56E" means it's one of the 2nd generation Enhanced cards that can be configured across the backplane or over the network (older ones used the serial console port). MNET means Modbus/TCP, and the "C" means it's the Multi-Client model. So this is the highest-functionality member of the product family. Ece, is your module acting as a Client (making requests) or a Server (answering requests) ? In general, Modbus "coils" are considered binary Output data, so I'm not too surprised that you are seeing a discrepancy between their ability to be written versus being read. The internal offset in the 6000-word flat data file inside the Prosoft module isn't as important as the way that each Modbus function (inputs, coils, internals, holding) are configured to interface with that data file. Whatever additional details you can provide will help folks understand the issue. |
![]() |
![]() |
#3 |
Member
![]() ![]() Join Date: Jun 2016
Location: NY
Posts: 16
|
Please let me to explain you my problem:
I have a device (Flow Computer - using Modbus TCP/IP) and I would like to read and write data for my ControlLogix PLC. For this reason I am using a MVI56E-MNETC card. So, about the holding register I am ok. I have already storage these into MNET internal database [0-990] (also find attached). So, I am ready to read the coils. The Flow Computer storage the coils in address 38000. So, I would like to storage these coils into MNETC internal database in the address 995. For this reason I am writing the command for 0XCoils (find attached) but without result. The same job I should do in order to write coils (no result again). Unfortunately, I created a new MNETC program in order to read coils but with internal address 0 (and not 995). The result was to read this coils without problem. So, I understood that I can read only if I used internal address 0. This is not acceptable for me because I would like to storage coils in different internal addresses. |
![]() |
![]() |
#4 |
Lifetime Supporting Member + Moderator
|
Thank you for the additional information !
To attach files to your post, compress them as ZIP files and use the Attach function. I think you need to clarify whether you are reading Digital Output Coils or reading "Analog Input Registers". Modbus can be very confusing because the first digit (0,1,3,4) usually is used to indicate the data type (digital output coil, digital input contact, analog input, analog output/holding). An address of "38000" suggests you are reading an Analog Input Register (3) with offset 8000. |
![]() |
![]() |
#5 |
Member
![]() ![]() Join Date: Oct 2010
Location: Argentina
Posts: 676
|
Off the top of my head, if you want to work with coils & inputs you need to reserve the space in the read/write registers. Look for output offset, bit input offset, holding register offset and word input offset in the manual.
__________________
"If you can't solve a problem, then there is an easier problem you can solve: find it." (George Pólya) |
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Write and Read Modbus RTU on PLC Micro850 CCW | zanker99 | LIVE PLC Questions And Answers | 6 | March 27th, 2017 01:15 PM |
Any idea how to access the Omron simulator? | strantor | LIVE PLC Questions And Answers | 9 | March 13th, 2015 07:01 PM |
Unable to access only Read write addresses of AB Micrologix 1400 from OPC server. | paul56 | LIVE PLC Questions And Answers | 2 | September 10th, 2011 04:19 PM |
Read and write data from pc to plc via rs232 cable | MANISH VORA | LIVE PLC Questions And Answers | 4 | August 23rd, 2011 02:47 PM |
MPI comunication | Manuel Raposo | LIVE PLC Questions And Answers | 22 | July 16th, 2007 07:24 AM |