What do the ConfigDataForSFC setting do?
I have read the Configuration manual
3BDS011222-510 B about the setting ConfigDataForSFC in Object Type Structure > Function Planning > Settings > Function Settings
On page 57.
"When the function setting ConfigDataForSFC is made True and all the logic is
created, the diagram reference name is shown in the action display."
I've built a sequence in Function Designer. I don't really understand what this setting will change. I'm using the SFC Viewer and clicking Step only show code which is a total disater like internal_linkA0E03CS etc. Will this setting change so that the diagram is opened instead?
Do I also have to change the Naming Conventing setting. Right now it's _FD but we use _FuD as diagram name ending.
Answers
Hello,
I must say the information about SFC viewer is spread across more than one manual. I will try and collect all of them for you and hopefully solve your problem.
So to start with manual
3BSE036904-510 D - 800xA operation page 210
The ActionDefView property of the SFC Viewer Settings aspect is used to set the
default view of the action window:
1.Open Object Type Structure > SFC Viewer Setting > SFC Viewer Settings aspect.
2.Set the Value of ActionDefView property:
–True – to display the complete configuration in Structured Text format for the qualifiers P1, N, and P0
–False – to display the target diagram reference name and its description in the list (or tabular) format for qualifiers P1, N, P0.
This setting is required to understand the below.
3BDS011222-510 F-Configuration page no 57
Action Display with Target Diagram Reference Name and Description
An additional setting is required to generate action display with target diagram
reference name and its description:
1. Open the Object Type Structure > Function Planning > Settings > Function
Settings aspect (refer to Figure 13).
2. Set the value of ConfigDataForSFC to True.
3. Click Apply.
When the function setting ConfigDataForSFC is made True and all the logic is
created, the diagram reference name is shown in the action display. Later, when this setting is made False, even the Generate Configuration Data function does not remove this functionality, and the diagram reference name will still be visible.
Naming Conventions
To ensure that naming conventions are followed for diagrams, the property
DiagramSuffixString, available in Object Type Structure > Function Planning >
Settings > Function Settings aspect, can be used (refer to Figure 13). Set the
required suffix in the Value column. This suffix can be used as reference while creating diagrams.
When the name of a target diagram that is being used in a sequence is changed,
the configuration data needs to be generated again for the this even though the diagram status is shown as green.
In the action display, the diagram reference name and its description is displayed in the Signal column and the operation/action is displayed in Action column (refer to Figure 14).
The Function Diagram containing the sequence with an output reference need to be generated (using the Generate Configuration Data option) every time an input reference with the same variable as this output reference is added. This ensures that all the references are updated in SFC Viewer.
The Function Diagram containing the sequence with a project constant need to be generated (using the Generate Configuration Data option) every time the value of the project constant is changed. This ensures that the project constant value is updated in SFC Viewer.
When a child (nested) diagram is modified with any reference that is used in a
sequence, both the child diagram and the diagram containing the sequence with this reference need to be generated again (using the Generate Configuration Data option). This should be done even though the status of the child (nested) diagram appears as green after the reference modification.
Please read the restriction section in the manual as well.If you still have any doubts then do let me know.
First, I don't find "3BSE036904-510 D - 800xA operation page 210" only version A seems to be online for downloading. I can find the text you are refering to on page 204 in the A version of the document. The only version I'm able to download of the 3BDS011222-510 F document is version B.
The other problem is that I don't have the "Object Type Structure > SFC Viewer Setting > SFC Viewer Settings aspect"
I have no SFC Viewer Settings at all.
I think it would be nice to be able to change those settings. I for instance want to show the variable description text in the transition view in SFC Viewer, as in 3BSE036904-510 examples.
If I get this right. I first must find the SFC Viewer Settings and then change the ActionDefView property to False (I want to show the diagram and not the bad compiled strucutre text)
Then I have to change the ConfigDataForSFC to True. Generate the Sequence diagram. Turn the ConfigDataForSFC to off (I supposed this will only affect the generated diagram while the setting was True, don't want to change other running sequences right now).
The Naming Conventions settings is something I don't have to change?
Add new comment