Retain/Hold Last Value - Stardom FCN

izadewa

Member
Join Date
Jun 2014
Location
Duri
Posts
10
Dear members,

How to configure PLC Stardom FCN to hold the last parameters value ?

During power outage the parameters value such as PID always resetted to default value. we forced to type the parameters value one by one after that

Note : Stardom PLC is connected to Proface touchpanel HMI GP4000 series


Thanks
Bagas
 
I don't know Yokogawa PLCs, but generally, when you define your variables, you need to mark the ones you need to keep as 'Retain' (sometimes called 'Remnant', 'Retentive', or 'Permanent'). Some PLCs have both Retain and Permanent, where Retain will stay during a power cycle, but will reset during a 'Cold' restart; Permanent will never reset unless you give a special command from the programming software.

If you are defining your variables in the Structured Text format, you would do:

VAR RETAIN
ThisVariableStays : UINT; (*Variable keeps value during warm restart*)
END_VAR

If you define them in a table, there should be a check box for Retain, Retentive, or Remnant (a word like one of those anyway).
 

Similar Topics

How to retain Values in CCW software? I am using CCW software and I can not find the Retain function in this software. Not even local or global...
Replies
2
Views
188
In a data block, if the tag is ticked in the "Retain" column", is it meant to be retained after cycling the power to the PLC? I'm finding that...
Replies
2
Views
747
The PLC in question is a S7-1212C. The PLC will be transportable on a wheeled trolley and used wherever it's needed in the factory. I've been...
Replies
14
Views
1,343
I've got a bunch of tags in my code & there's a column called "Retain" (by default they were all un-ticked) - see pic. "LaserN mm" is a distance...
Replies
10
Views
1,631
Hi All, Hoping the community here can help as I'm new to PLC programming. The project I'm working on is using a Micro850 2080-LC50-24QBB and...
Replies
3
Views
1,707
Back
Top Bottom