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.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


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

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old February 5th, 2018, 11:20 AM   #1
laserweld
Member
United States

laserweld is offline
 
Join Date: Oct 2014
Location: Cleveland, OH
Posts: 11
Crimson 3.0 image display without tag

I have a very simple question. I am wondering if it is possible to have a img primitive display an image with no tag associated with it. I have a screen I am using as a popup. I have the yes button attached to a tag and the no button is just used to close the pop-up. I am wondering if it is possible when the no button is pushed for it to display the 2nd image like the button with the tag does. See attached for example of what I am referring to. Thanks
test.zip
  Reply With Quote
Old February 5th, 2018, 11:55 AM   #2
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 9,686
If you're just wanting the visual feedback of the button appearing to be pushed, use an internal tag. Since the button already has an action assigned to close the pop-up, one way to get both actions would be to change that to User defined, make the On Pressed action set the dummy flag to a one, and make the On Released action set the dummy flag to a zero and hide the pop-up.

See attached test file
Attached Files
File Type: zip test_r001.zip (9.3 KB, 1 views)
__________________
It's not all the variables I am most concerned with, it's the undiscovered constants.
  Reply With Quote
Old February 5th, 2018, 01:57 PM   #3
JHarbin
Member
United States

JHarbin is offline
 
Join Date: Sep 2009
Location: NC
Posts: 871
Quote:
Originally Posted by laserweld View Post
I have a very simple question. I am wondering if it is possible to have a img primitive display an image with no tag associated with it. I have a screen I am using as a popup. I have the yes button attached to a tag and the no button is just used to close the pop-up. I am wondering if it is possible when the no button is pushed for it to display the 2nd image like the button with the tag does. See attached for example of what I am referring to. Thanks
Attachment 46739
Use IsPressed to select the images.

Image 0 will be shown normally
Image 1 will be shown when IsPressed = 1

You only need to type IsPressed
  Reply With Quote
Old February 5th, 2018, 04:11 PM   #4
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 9,686
Quote:
Originally Posted by JHarbin View Post
Use IsPressed to select the images.

Image 0 will be shown normally
Image 1 will be shown when IsPressed = 1

You only need to type IsPressed
Even better. I hadn't thought about using button properties for a button without a tag assigned, but it does appear to work.
__________________
It's not all the variables I am most concerned with, it's the undiscovered constants.
  Reply With Quote
Old February 6th, 2018, 08:17 AM   #5
laserweld
Member
United States

laserweld is offline
 
Join Date: Oct 2014
Location: Cleveland, OH
Posts: 11
Quote:
Originally Posted by JHarbin View Post
Use IsPressed to select the images.

Image 0 will be shown normally
Image 1 will be shown when IsPressed = 1

You only need to type IsPressed
Perfect..I knew there was a simple way to do it. Thanks alot guys
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


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
Crimson 3 - Force Tag Read From 5370 Compactlogix califflash LIVE PLC Questions And Answers 1 August 22nd, 2014 01:39 PM
RSLogix 5000 Multiple Aliases to Same Tag davidc100 LIVE PLC Questions And Answers 10 May 27th, 2014 08:04 PM
Crimson 3 - Configure, trend and data logging & zoom level for display editing whussain6 LIVE PLC Questions And Answers 0 October 30th, 2013 09:32 AM
Crimson 3.0 Emulator communication setup lmhyd2013 LIVE PLC Questions And Answers 5 February 11th, 2013 07:21 PM
Crimson 3.0 (459) Tag States Import OkiePC LIVE PLC Questions And Answers 5 November 28th, 2011 08:42 PM


All times are GMT -5. The time now is 09:59 PM.


.