abright52
MrPLC Member-
Content count
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by abright52
-
I have an application in FactoryTalk View SE and I am using an On-Screen Keyboard from MountFocus. The keyboard is launched and controlled via OLE and has three states or "pages": Minimized, Keyboard, Numpad. I am able to launch and control the keyboard on a single display without an issue, but when I switch displays I can no longer control the keyboard because each display is a different VB Project. I am trying to find a way to call a function in the first display from the code in the second display, but I haven't found a way to do that. Here is the code in my first display: 'Declare Keyboard Dim Keyboard 'Launch Minimized Keyboard Set Keyboard = CreateObject("Kbd.mfSoftkeys") Keyboard.LoadKeyboard ("C:\Keyboard.kbd") Keyboard.ActivePageName = "Min" 'Keyboard Control Public Function SelectKeyboard(Page as Integer) If Page = 0 Then Keyboard.ActivePageName = "Min" ElseIf Page = 1 Then Keyboard.ActivePageName = "Keyboard" ElseIf Page = 2 Then Keyboard.ActivePageName = "NumPad" EndIf End Function So I need to call the Function "SelectKeyboard" on Display One from Display Two. Any ideas? Thanks in advance.
-
FactoryTalk View SE VB Code
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Well, I am starting to have some success with this Rockwell KB Article: 23528 I am going to start with a fresh app and try to implement this......my previous app has so many previous attempts that it is pretty hard to follow. lol At least I can start the weekend with somewhat of a feeling of accomplishment. :) I will try to remember to post a follow-up next week. -
FTView ME 5.1 - Restore from .MER
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
PM Sent. -
Ever since we upgraded to FactoryTalk View ME version 5.10.00, we have had a problem with the Parameter files. The first problem affects all Parameter files. The order of the parameters change. When the .mer was created, the parameter order was 1, 2, 3, 4, 5...... When the parameter file is restored, the order becomes 4, 10, 5, 11, 6, 12, 7, 13, 8, 14, 9, 15, 16, 17, 18, 1, 2, 3. The second problem seems to affect a few random parameter files. The contents are either Partial Deleted: Or the contents are completed deleted, except for a single equals sign: We did not have this problem in v5.0. We have contacted Rockwell Tech Support, but they deny that there is a problem. They say that it is an issue with our computer, even though we have four separate PCs that experience the same issue (Every PC that v5.1 is installed on). We can restore from .apa files without issue. Has anyone else experienced this? Any advice?
-
FTView ME 5.1 - Restore from .MER
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Correct. I see this problem after restoring a runtime application (.mer) using Application Manager. Would anyone be able to try this for me? It worked fine in v5.0. -
Printing to a USB Drive on a Panelview Plus
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
I am now learning that it doesn't necessarily have to be a PDF. Just an easily read and e-mailed file format. I am currently working on setting up the MEDatastorePlus ActiveX control to see if I can get that to write a .CSV file with current operating information. If anyone has any other ideas, feel free to chime in. Thanks! -
Printing to a USB Drive on a Panelview Plus
abright52 posted a topic in Allen Bradley / Rockwell Automation
We have been getting several requests for this from our customers, but I haven't found any way to make it possible. We are currently using PanelView Plus 1500s (non-CE). The customers would like to insert their USB Thumb Drive into the USB Port and press a button to take a "Print Screen" and save it to the USB Drive. They would like PDF format, but I would think an image file (.JPG, .BMP, .GIF) would work as well. I doubt that this is even remotely possible without the CE Panelview Plus. Does anyone know of an ActiveX control to do something like this or if it would be possible to write an ActiveX to do this? Thanks in advance! -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Well, I think one of the other engineers swapped the ethernet card into a different slot. The PLC is in a different room and is shared by 4 of us, so it is hard to watch what is going on. I pulled all of the modules out and made sure that they matched what I had in Logix. Tried again and it started communicating. I wish I had checked that earlier......It was correct when I started working on this.....I guess that is what happens when you assume. ;) Next step is to test it on an actual line to see if it works as desired. Thanks, again, for all the help. -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 posted a topic in Allen Bradley / Rockwell Automation
We recently had a issue with a PV+ losing communication to the PLC, this caused as issue when the operator was pressing a momentary PB to send a jog signal to an ACS150 drive. The drive continued to jog when communication was lost, since the tag in the PLC was still a "1". An E-stop stopped the drive, but it resumed upon reset of the e-stop. The only cure was to press the same button again and release to set the tag to "0". So, I am in search of a way of detecting Comm Loss (Fault) of a PanelView+ 1500 and the ENBT/A module. The plan is to unlatch all Panelview PBs in the PLC when triggered by either of these Comm Loss events. Any recommendations? Slot 0: PLC: 1756-L61 ControlLogix5561 - Rev 16.21 Slot 1: ControlNet Module: 1756-CNB/E - Rev 11.1 Slot 2: Ethernet Module: 1756-ENBT/A - Rev 4.1 Thanks! -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Alright, I swapped some hardware around and got it communicating. It seems like it is working now. ;) -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Still nothing going to the Destination. I am pretty sure that it is not communicating with the PV+, which would explain this. The PV+ is communicating with the PLC without any problems, so I know that they are "talking". It doesn't seem like the PV+ is returning the information that the PLC is asking for. -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Thanks for the additional information, I will play with it more this afternoon. Hopefully I can get it to work. I have already looked at those, as suggested previously. http://forums.mrplc.com/index.php?s=&s...ost&p=74307 -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Made the change, but unfortunately, it is still giving me the same error. -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Here is what I am seeing in Linx. -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
It doesn't seem like it is even getting that far, nothing goes into the Destination. Do I need to add the PV+ to the I/O Configuration within Logix? -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
I guess that was one of the things I was wondering about. What does the destination tag need to be? What is it actually used for? It didn't seem like you were actually reading from the destination. I tried adding a DINT tag for a destination, but that didn't change anything. Thanks. -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
I setup another Test PLC with a different PV+. Now I am getting a different error on both .ERR and .EXERR. I guess I need to test this on a production machine and see if I get similar errors.... I will have to wait until the next one is ready for test. -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Alright, here it is. I am trying to run it on a test setup and I keep getting an error on .ERR; it can be seen below. Everything is communicating as it should, but I am still getting an error. Any ideas? -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
1. Operator Pressed Momentary Button to Jog 2. Comms lost between PLC and PV - Errors shown on PV 3. Operator released Momentary Button, Drive Continued to Jog 4. Operator pressed E-Stop, Drive Stopped (E-Stop removes Drive Enable signal) 5. Reset E-stop, Drive restarted (Drive Enable signal was reset) 6. Operator restarted PLC, Drive stopped, since tag was set to zero. We were able to replicate this in-house by unplugging the ethernet cable from the back of the PV. The bit is stuck at 1, even after Comms are restored. You need to restart the PLC or press and release the same button to set it to 0. I added a run to unlatch all PV buttons on an e-stop for now, but I would like to detect that there is a problem before the operator needs to hit E-stop. This job is in France and it needs to be fool-proof. Thanks. -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
Alright, I think I see what you are getting at here. I will play around with this tomorrow and let you know if I have any more questions. Thanks, again. -
Detecting a Comm Loss between PV+ and ControlLogix PLC
abright52 replied to abright52's topic in Allen Bradley / Rockwell Automation
So, just to confirm, when all is OK, .ERR and .EXERR will be 0? So I would trigger an unlatch of all buttons if either .ERR or .EXERR are greater than 0, correct? Thanks for the response. Replacing the ENBT module seemed to fix the problem, but we would like to add some code for prevention in the future. -
My company would like to have PVs with black frames, rather than the standard grey. We typically use PanelView Plus 1500s. I haven't found anything in my searches online.....does anyone make a Black Bezel or is my only choice to paint it?
-
Thanks for the help. I will contact them to see what they can do for us.