
adccommunitymod (AutomationDirect) asked a question.
Created Date: May 30,2008
Created By: hanziou
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I'm using a D2-250 in 6slot base with the following modules: D2-12TR F2-04AD-2 H2-ECOM D2-16NA F2-04THM In addition I am using Modbus on port 2 to get 32 words of data from a T1H-MODBUS (with one T1F-14THM). I am trying to use a C-More Mirco with a number keypad on the D2-250 port 1. The ECOM is being used to communicate with a PC program that uses the hei32_3.dll. I actually had the touch panel communicating with the PLC on the port 1. I made a run mode program change and then the C-More was flashing "PLC not responding " messages. I then tried using DirectSoft32 (Ver.4) to communicate on port 1 to the PLC. No luck. I was able to communicate through the ECOM and port 2 was still working. (I was able to change temperature set points and see the response in the data coming through T1F-14THM.) Once I did a power cycle on the PLC, Port 1 seemed to work. Is there anyway to reset the port 1 without a power cycle? Is there any diagnostics I check to see what has happened to the port?
Created Date: May 30,2008
Created by: allukes
Port 1 never changes. However you can initialize the scratchpad and see if that clears up your problems. You might also want to check your power budget. You 've got a full rack with some high power users plus the power needed to run the Cmore comes from Port 1 uses your 5V supply on the rack.
Created Date: May 30,2008
Created by: milldrone
allukes,
Port 1 never changes
Check out what Elevmike did to himself in this thread http://forum1.automationdirect.com/board/Forum1/HTML/003051.html
Vaughn
Created Date: May 30,2008
Created by: allukes
Forgot about that incident. They discovered that the port resets itself on Power-up or Scratchpad inititializaton. Hanziou, are you using pointers to move data around or in the communcations?
Created Date: May 31,2008
Created by: hanziou
I did not have a problem again yet, but I have not tried loading a program change yet.
Yes I do use pointers, but I am pretty far away from the system area. The pointers are re-initialized every scan and and use the channel number bits of the analog input modules to increment the pointers.
I checked the power budget and have over 900mA of 5V and over 150mA of 24V still available. (That includes the C-More panel.)
However your suggestion about power budget has me thinking about incoming power (120VAC line). I think I might need to get a power conditioner for the PLC power. There are several solenoids being fired off the same 120VAC source. (Through other fuses, but no other isolation.)
Unlike Elevmike I was not able to get any response from port 1. I had the DirectSoft attempt "autoconnect " to the port with several protocols. It ran though the different baud rates and parities and got no response. Power cycle fixed the problem.
Thanks for the suggestions.
Created Date: May 31,2008
Created by: allukes
When calculating the pointer, are you using binary math instructions?
How long is the run to the Cmore? Keep in mind that the 5v going to the Cmore is the same 5V that powers your cpu and works the comport.
Created Date: June 02,2008
Created by: hanziou
Originally posted by allukes:
When calculating the pointer, are you using binary math instructions?
I use INCB
How long is the run to the Cmore? Keep in mind that the 5v going to the Cmore is the same 5V that powers your cpu and works the comport.
I have ~3ft cable for the C-More. The budget numbers I used are from the pg 4-46 of the catalog online.
Created Date: May 30,2008
Created by: hanziou
I'm using a D2-250 in 6slot base with the following modules:
D2-12TR
F2-04AD-2
H2-ECOM
D2-16NA
F2-04THM
In addition I am using Modbus on port 2 to get 32 words of data from a T1H-MODBUS (with one T1F-14THM).
I am trying to use a C-More Mirco with a number keypad on the D2-250 port 1.
The ECOM is being used to communicate with a PC program that uses the hei32_3.dll.
I actually had the touch panel communicating with the PLC on the port 1. I made a run mode program change and then the C-More was flashing "PLC not responding " messages. I then tried using DirectSoft32 (Ver.4) to communicate on port 1 to the PLC. No luck.
I was able to communicate through the ECOM and port 2 was still working. (I was able to change temperature set points and see the response in the data coming through T1F-14THM.)
Once I did a power cycle on the PLC, Port 1 seemed to work.
Is there anyway to reset the port 1 without a power cycle? Is there any diagnostics I check to see what has happened to the port?