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 October 18th, 2018, 03:14 AM   #1
Ghouse
Member
India

Ghouse is offline
 
Ghouse's Avatar
 
Join Date: Oct 2018
Location: bangalore
Posts: 15
Book Writing a constant value to a register

Hello everyone,
I am new to this forum and would like to ask a question.i presently have a Control logix plc with rsview scada.Now, i have written a logic for lighting control with reference as plc time and its functioning perfect.I want to customize set time through scada by writing a value and energize my lighting output as per my requirements.I have used LES and GRT blocks in logic for control with a constant value.How to assign customize this constant value by keying it in SCADA?
  Reply With Quote
Old October 18th, 2018, 05:24 AM   #2
rdrast
Lifetime Supporting Member
United States

rdrast is offline
 
rdrast's Avatar
 
Join Date: Apr 2003
Location: South Carolina Lowcountry
Posts: 5,277
You make the 'Constant' a tag in the PLC, and write to it.
__________________
------------------------------------
How to ask questions the SMART Way!

Look First, Ask Second!

  Reply With Quote
Old October 18th, 2018, 08:40 AM   #3
cardosocea
Member
United Kingdom

cardosocea is offline
 
Join Date: Nov 2016
Location: Fields of corn
Posts: 1,089
I would say that the value is not constant, if you are planning on the user being able to change it. As such it will be just another tag in the program.
  Reply With Quote
Old October 20th, 2018, 10:43 AM   #4
Ghouse
Member
India

Ghouse is offline
 
Ghouse's Avatar
 
Join Date: Oct 2018
Location: bangalore
Posts: 15
I have attached the logic for energising lighting output with fucntional blocks.in A>B where B is a constant for which entry is done in logic only.Now without accessing logic is it possible to key in B value through SCADA?
P.S. I am new to RS logix and worked in Melsoft previously
Attached Images
File Type: jpg logic.jpg (80.3 KB, 33 views)
  Reply With Quote
Old October 20th, 2018, 11:16 AM   #5
daba
Lifetime Supporting Member + Moderator
United Kingdom

daba is offline
 
daba's Avatar
 
Join Date: Jul 2004
Location: uk
Posts: 4,387
Quote:
Originally Posted by Ghouse View Post
I have attached the logic for energising lighting output with fucntional blocks.in A>B where B is a constant for which entry is done in logic only.Now without accessing logic is it possible to key in B value through SCADA?
P.S. I am new to RS logix and worked in Melsoft previously

No, not possible.


Source B is entered as a "literal" into the PLC code, not a "constant", and will not be changeable by anything.


The only way is to get access to the code for editing the rung, and change Source B in both instructions to tags that the SCADA can write to.


And if you do that, don't make them "Constant" tags, or SCADA will not be able to write to them.
__________________
___________________________
ControlLogix & SLC Training
a-b train ltd.
abtrain@tiscali.co.uk
www.abtrain.co.uk
tel: 07506 73 9999
nil illegitimi carborundem


  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
Compactlogix Shift Register Question LumberJack818 LIVE PLC Questions And Answers 4 September 27th, 2018 02:59 PM
Toyopuc pc10 register math functions Brizzle LIVE PLC Questions And Answers 0 August 11th, 2018 01:19 PM
Micrologix math register behavior kolyur LIVE PLC Questions And Answers 3 September 13th, 2011 09:15 AM
Redlion G306 writing file data to CF burnerman LIVE PLC Questions And Answers 3 May 12th, 2011 06:52 PM
Make shift register with ladder solution sis LIVE PLC Questions And Answers 7 October 28th, 2005 08:36 PM


All times are GMT -5. The time now is 09:27 AM.


.