Graphical Programming Software SCControl User Manual
Graphical Programming Software SCControl User Manual
50
Graphical Programming Software
SCControl
User Manual
Table of Contents
Section 1 Graphical Programming..............................................................................................1
1.3.6 ST Language.........................................................................................................52
1
Table of Contents
2
Graphical Programming software SCControl
Overview
Programming guide
Use guide
Module database
1
Graphical Programming software SCControl
not IEC module for users to select. Additionally, users can use
self-designed user-defined module.
1.1 OVERVIEW
2
Graphical Programming software SCControl
Features of SCControl:
1. Has Windows friendly graphical interface, you can use both keyboard
and mouse to edit. All functions on toolbars have text prompts.
7. Dynamically check data type while connection and reject it if data types
aren't matched.
8. Powerful find and replace functions. You can find and mark variable,
constant, tag and module in either current program section or the whole
project. Users just click relative info to jump into required location
directly. It is the same for replace function. You can replace selected
variable, constant, tag and module one by one or totally in either current
program section or the whole project.
9. Provide function of Zoom, which enables users to look over pages more
clearly or see more contents in page according to zoomed-out
3
Graphical Programming software SCControl
proportion.
10. Software manages user defined tag and variable, user needn't care
physical memory address.
11. You can use system-defined essential function block (EFB) and
user-defined function block (DFB) in each editor. Every editing
environment is embedded with user-defined function block (DFB) editor,
which enhances program's reuse and reduces programming work
greatly.
12. The user can use EFB and DFB to create new DFB, which holds
powerful function expansibility and is easy for user's re-development.
13. The user can reuse function module by function of import and export.
14. The user can create user-defined data type through data-type editor.
15. Function block editor (FBD), ladder diagram editor (LD), and sequential
function chart (SFC) editor are integrated together, that can be called
each other, and they have powerful function expansibility.
Users can do on-line debug. They can import the outer existing useful LD
and FBD program into project, and they can provide other projects with the
4
Graphical Programming software SCControl
practical file or other files that can be used in other projects of the project
through export operation to fully realize code reusing.
1.3.1 SUMMARY
FBD Editor
LD Editor
SFC Editor
ST Editor
When generating sections, users can appoint the type of section which
determines to use which editor. Except for editors related to programming
language, there are:
Variable Editor
Introduce as follows:
5
Graphical Programming software SCControl
Project
Section
Block
Variable
Remark Text
Debugging Text
1. Project
2. Section
Users must specify section's editing type and program type when creating a
new section.
FBD Section
LD Section
SFC Section
ST Section
Program Section
Module Section
6
Graphical Programming software SCControl
3. Section management
You can click “New” to create a new section, which is the same with “New
Section” in “File” menu, shown as Figure 1-2.
Select a section, and then open this section through button of “Open”.
7
Graphical Programming software SCControl
select the section required to open. Press “Open” button to open this
section, shown as Figure 1-3.
8
Graphical Programming software SCControl
In column of project, select the section you want to delete, right-click to pop
up a floating menu, then select “Delete Section” to delete this section,
shown as Figure 1-5.
9
Graphical Programming software SCControl
pop up a floating menu, then select “Export Section” to export this section.
4. Task management
10
Graphical Programming software SCControl
The user can also make use of some operations like “Move Top”, “Move
Up”, and “Move Down” and “Move Tail” to set up running priority of all
programs during the same running period, i.e. the program with the same
period in the front of queue will get preferential running. The priority among
programs with different running period cannot be compared.
5. Block
11
Graphical Programming software SCControl
6. Data type
-2147483648 ~
Long Integer LONG 4
2147483647
Unsigned Long
ULONG 4 0 ~ 4294967295
Integer
±1.175490351E-38 -
Float FLOAT 4
3.402823466E+38
Structure StructAcccum 8
7. Accumulate type
12
Graphical Programming software SCControl
struct structAccum
{
sfloat remainder; //remainder
long accum; //accum
int reserved; //reserved, forbid for use
}
From the definition, we know that accumulate type variable contains three
members: remainder, accum and reserved. Therein, the remained part is
forbidden to use, remainder represents fractional part of accumulate, and
accum represents the integral part of accumulate. When remainder
exceeds representing range, it will carry to accum automatically.
Analog accumulate
sum1 sum0
13
Graphical Programming software SCControl
INT: Two bytes, account for 16 bits, tiptop bit is sign bit, 0 is positive, 1 is
negative;
LONG: Four bytes, account for 32 bits, tiptop bit is sign bit, 0 is positive, 1 is
negative;
SFLOAT: Two bytes, account for 16 bits, use fix point way shown. In fix
point shown, binary system decimal place always fix up can't change. The
decimal can fix up before numerical value bit, also can fix up after
numerical value bit. First entitle fix up point decimal notation, second entitle
fix up integer notation. SFLOAT fix up point decimal N commonly shown
form is:
FLOAT: Four bytes, account for 32 bits, shown with floating point. When in
floating point shown binary system, the decimal place is floating, can't fixed.
Always any binary system can be written to:
N=2P*S
There into, ladder sign account for 1 bit, ladder sign = 0 ladder code is
14
Graphical Programming software SCControl
pulse, ladder sign = 1 ladder code is negative ;ladder code account for 7
bits ,number sign account for 1 bit , number sign = 0 this number is pulse,
number sign = 1 this number is negative; mantissa is 23 bits.
9. Variable
Variable contains the data that is appointed name and in or between block,
and the tag number that does the data transformation between operating
station and control station.
Basic variable
Composite variable
The data type of basic variable is the basic data type while the data type of
composite variable is composite data type that is generated through data
type editor combined by basic data type and existing composite data type.
Global variable
Private variable
15
Graphical Programming software SCControl
In DFB section, private variable can declared. However, the private variable
in this section will be assigned control station address only when DFB is
being used. Every time DFB is used, private variable will be created. DFB is
like a class that can create multiple examples while private variable is like
the member. The member address of each example is different. The private
variable in DFB section has no relation with DFB external interface and is
invisible for DFB's external. It is mainly used to save the data that needs to
keep current status to the next control period.
When using FFB that contains private variable to create new DFB, new
DFB will inherit the private variable contained in FFB. While the private
variable in DFB section ensures the reuse of DFB, it satisfies the controlling
requirement that is related to sequence in time.
System still contains one kind hot backup variable that is invisible for users.
Hot backup variable is the synchronous data between dual master control
card when DCS system is configured into dual master control card hot
redundancy. For example, integral module contains one hot backup
variable that is current value of synchronous integral. Thus, when host
computer switches, it ensures non-disturbance switching. System's security
is fully ensured through the mode that is from hot redundancy to module.
Hot backup variable is contained in all EFB modules that are related to time
and have accumulating effect.
When using FFB that contains hot backup variable to create new DFB, new
DFB will inherit the hot backup variable in DFB.
Remark text adds remark info into programs, which increases program’s
readability. The size of text object lies on the length of text. According to the
size of text font, making more grids horizontally and vertically can extend
16
Graphical Programming software SCControl
the size of object. Remark text doesn’t occupy the memory of control
station. The font and color of remark text can be set.
Debug text is the text that displays actual value of variable or tag in control
stations under online status. Users can manipulate data in control stations
through debugging text. It is convenient to debug programs and monitor
system running. Debugging text doesn’t occupy the memory of control
station. The interface of "Property” is shown as Figure 1-10.
The interface of “Find” is used to find user required info (Such as modules,
words, variable names, etc.). User can fill in by itself and find the required
info through browsing according to different types and data sources.
Press CTRL+F or use the command of “Find” in “Edit” menu to enter the
dialog of “Find”. Shown as Figure 1-11
User can find variable and module though the function of find. Select
current section, then find target in current open section. Select current
project to find whole project. Click “Find next”, then mouse will jump to the
17
Graphical Programming software SCControl
next available target and highlight it. Click “Mark”, then all available targets
will display in info column (Output). Double click target info to open the
section target lies in and jump to target location.
Click the button of “Find next” and mouse will jump to next available target
and highlight it. Then click “Replace”, and found target will be replaced by
replacing target. If click “Replace All”, then all qualified found targets will be
replaced.
FBD editor makes essential function block (EFB) and signal (variable, tag
No.) composing into function block diagram (FBD) according to IEC1131-3.
EFB and variable can add remarks, essential element and text can be
placed freely in function block diagram. Parts of EFB's inputs can be
expanded for convenient use.
Except these objects remark text and debugging text can be placed in FBD
section. Text size determines the size of text object. According to text size,
18
Graphical Programming software SCControl
1. FBD editor
There have already been some predefined EFB module databases that
contain about 200 essential modules in the graphical programming. Therein,
the modules are composed into different groups. Databases include:
IEC database
In FED programming, users can use the essential function block and
user-defined function block.
19
Graphical Programming software SCControl
2. FFB
All function blocks can be configured through one EN input and one ENO
output.
If EN is not required, then the pins of EN and ENO can be hidden. The
follows are the module diagrams with and without EN & ENO, Shown as
Figure 1-14.
20
Graphical Programming software SCControl
Both EFB and DFB can include private variable and hot backup variable.
When editing DFB, the user can add private variable. FFB’s private variable
and hot backup variable are transparent to users during reference.
3. Actual parameters
During running program, values from procedures and other data are
transferred through actual parameters to FFB. Actual parameters include
variable, tag and constant.
The data type of actual parameters should coincide with the type of
connected pins.
4. EFB Database
5. Link
Link is the connection among function blocks. One output of function block
21
Graphical Programming software SCControl
can link several inputs of function blocks. The input/output needing link
should have corresponding data type. It is allowed that link is overlapped
with other objects. Link cannot be used in circular configuration. Actual
parameters have to be added to solve problems under this kind of cycle,
shown Figure 1-15.
Solutions
6. Execution sequence
The part into which singly-connecting variable, tag or constant can be input
in FBD block is called Starting Module.
If there are multiple starting modules in a block, the top one in diagram
region is called Startup Module.
22
Graphical Programming software SCControl
23
Graphical Programming software SCControl
Through browsing, users can select the reserving place for the project. Fill
in the project name in file name frame (project file takes .prj as suffix) and
click the save button, then a new project is created. Click “Cancel” button,
will give up creating work of current project.
Choose "FBD" namely FBD language type in the dialog box of "Program
Type".
Then users can choose either program or module from the two section
types:
24
Graphical Programming software SCControl
If user has already created or opened more than one project, he should pay
attention to activate the corresponding project (to confirm that click this
project name first) when creating a new program section, in order to avoid
creating it under other projects.
3) Essential element
Function and function block (when connected, they become logic unit)
4) Programming principle
5) Programming skill
For complicated or large FBD programming, user should split program into
simple program section first, then program one by one.
25
Graphical Programming software SCControl
After programming, user save project in disc and then call on compilation
instruction to compile project; debug until the compilation is correct. Then
call the instruction of "Control Station Address", and it will eject a dialog
box:
Users fill in the master control board address of the control station and click
“OK”; then click menu item "connect" or the button to connect with the l
control station.
26
Graphical Programming software SCControl
Except these objects, remark text and debugging text can be placed in LD
section. The size of text depends on the length of text. According to the
contents of text, it will occupy more or less grid in vertical or horizontal
direction. Text doesn't occupy memory of control station.
Introduce as follow:
LD editor
Contact
Coil
27
Graphical Programming software SCControl
FFB module
link
Execution sequence
LD programming
1. LD Editor
28
Graphical Programming software SCControl
2. Contacts
Normal-open contacts
Normal-close contacts
Positive-transition contacts
Negative-transition contacts
1) Normal-open contacts
29
Graphical Programming software SCControl
2) Normal-close contacts
3) Positive-transition contacts
30
Graphical Programming software SCControl
4) Negative-transition contacts
3. Coils
Coil is element of LD. It transfers status of the horizontal link on the left to
the horizontal link on the right. Status of related variables will be saved.
Normal-open coils
Normal-close coils
Set coils
Reset coils
Positive-transition coils
31
Graphical Programming software SCControl
Negative-transition coils
1) Normal-open coils
2) Normal-close coils
In normal-close coils, status of left link will be copied to right link. Neg.
status of left link will be copied to related Boolean variable. If status of left
link is OFF, then status of right link will be OFF while related variables will
be ON.
3) Set coils
In set coils, status of left link will be copied to right link. If status of left link is
ON, then related Boolean variable will be set as ON, otherwise it will keep
unchanged until it is changed by program or people. Related Boolean
variable can be reset under the help of reset coils. Set coil corresponds to
output of MOVE function and will always keep ON.
32
Graphical Programming software SCControl
4) Reset coils
In reset coils, status of left link will be copied to right link. If status of left link
is ON, then related Boolean variable will be set as OFF, otherwise it will
keep unchanged until it is changed by program or people. Related Boolean
variable can be set under the help of set coils. Reset coil corresponds to
output of MOVE function and will always keep OFF.
5) Positive-transition coils
33
Graphical Programming software SCControl
6) Negative-transition coils
4. Link
Link is the connection among function blocks. Output of one function block
can link input of several function blocks. The data type of input/output
needing link should be corresponding data type. It is allowed that link is
overlapped with other objects. Link cannot be used in circular configuration.
cycles must be solves by actual parameters.
34
Graphical Programming software SCControl
Solutions
5. Execution sequence
If there are multiple starting modules in a section, the top one in diagram
region is called Startup Module.
35
Graphical Programming software SCControl
6. LD language programming
36
Graphical Programming software SCControl
Through browsing, users can choose the reserving place of project. Fill in
project name (project name takes .prj as the suffix) in file name frame and
click button "Save", a new project is created successfully. Click button
“Cancel” to give up the creating work of the current project.
After creating a new project successfully, users need to create one or more
than one program sections.
37
Graphical Programming software SCControl
Choose "LD" namely LD language type from "Program Type" in the dialog
box.
If user has already created or opened more than one project, he should pay
attention to activate the corresponding project (to confirm that click this
project name first) when creating a new program section, in order to avoid
creating it under other projects.
38
Graphical Programming software SCControl
1) Essential element
2) Programming principle
b. Each logic row must start from left bus with contact input;
1) Programming skill
For complicated or large FBD programming, user should split program into
simple program section first, then program one by one.
After programming, users save project in disc and then call on compilation
instruction, compiling project, debug until the compilation is correct. Then
call the instruction of "Control Station Address", and it will eject a dialog
box:
Users fill in the master control board address of the control station and click
“OK”, click menu item "connect" or the button to connect with the lower
computer.
39
Graphical Programming software SCControl
Step
Transition
Link
Text
Text is a remark text, which is used to make SFC module more readability.
Text could be placed at any place of the draw region.
Sequence structure
40
Graphical Programming software SCControl
Parallel structure
41
Graphical Programming software SCControl
Selection structure
Selection structure realizes the function that selects any one to execute in
several sequence branches. It is used on the occasion when one operation
is completed, and it needs to select one operation according to current
status of industry process. Selection structure starts with single transverse
selection branch, which is indicated by diagram and ends with selection
connection, which is indicated by single transverse. Every branch must be
T-S-T structure in selection structure. If the conditions of several branches
are met simultaneously, then system will select one branch to execute
according to the priority from left to right. Sequence branches that are lead
out from one selection branch must join to one selection connection or jump
out through jump.
Jump
42
Graphical Programming software SCControl
Jump allows program to continue running from different region. Jump has
two structures: sequential jump and cycle.
43
Graphical Programming software SCControl
Such as the above figure: execute S2 after executing S1, and after
executing S2, if the condition is met, it can execute S2 again instead of
executing the following S3. Consequently, it can execute S2 repetitively,
and it will not execute the following S3 until the repetitive condition is no
longer met.
Diagram of jump is an arrow in which there is the name of the step that is
jumped to.
1. Summarize
2. Step
Steps are a group of action set that is relatively independent in control flow.
In steps, the user can define all types of actions without any quantity limit.
Use these actions to control flow.
44
Graphical Programming software SCControl
In a SFC diagram, there are only one Step-start and one Step-end.
Execution of SFC starts from Step-start and ends with Step-end.
Running time
Appoint the variable that evaluates step's activation time to ULONG type to
display.
45
Graphical Programming software SCControl
Variable type
Appoint whether use system tag browse or variable browse when selecting
variable.
Qualifier
Time
Operation variable
Appoint operation
Operation describing
Change sequence of execution through “Move up” and “Move down” after
selecting operation.
3. Transition
Transition is used to specify the condition that control transits from one step
to another.
When transition conditions are met, status of the step ahead will change
from activation to deactivation while status of the followed step will change
from deactivation to activation.
Only when all steps ahead are activated, will transition conditions be tested.
46
Graphical Programming software SCControl
4. Jump
47
Graphical Programming software SCControl
5. Alternative Branch
The priority of branch jump is from left to right. (I.e. if some branches’ judge
variable is met at the same time, the most left branch is executed.)
The branch should end with the same alternative joint or jump.
6. Parallel branch
48
Graphical Programming software SCControl
The jump inside parallel structure cannot jump to the outside of parallel
structure.
7. Actions
There are 0 or several actions in a step. For actions, there are many types
described by action qualifiers. An action can be a Boolean variable (action
variable) as well as an assignment expression.
49
Graphical Programming software SCControl
= assign action qualifier. It shows section keeps going during the whole
period of step’s activation and will get back to deactivation after step quits
activation.
50
Graphical Programming software SCControl
The user can set the following control variables to control SFC program’s
going:
Running control
Reset
Transition forbidden
Forcing stepping
Operation enabled
When status of reset variable is ON, the step-start of SFC will be set to an
activated step and other steps are forced to become deactivation. SFC
program will re-proceed from the very beginning and at the same time reset
variable will become OFF automatically. When running variable is OFF,
reset variable will be invalid.
When transition forbidden variable is ON, the current activated step will
keep executing no matter whether following transition conditions are met or
not. Transition conditions will not be tested. Transition forbidden variable is
affected by running variable and reset variable.
When forcing stepping variable is ON, the current activated step will
become deactivation no matter whether transition conditions are met or not.
Next step will become activated in order. It is affected by all of the above
variables.
51
Graphical Programming software SCControl
1.3.6 ST LANGUAGE
Usage
Text code module can be inserted in ladder diagram and function block
diagram and ST language is used to program in module.
52
Graphical Programming software SCControl
1. ST language phrasing
1) ST language phrasing
Expression
B1
FUNC1 ()
Usage
Keyword
53
Graphical Programming software SCControl
keyword Description
FUNCTION_BLOCK
Definition of function block
END_FUNCTION_BLOCK
IF...THEN...ELSEIF...ELSE...END_IF IF statement
ON Logic true
VAR...END_VAR
VAR_OUTPUT...END_VAR
Operator
() Expression operation 9
- Minus 7
54
Graphical Programming software SCControl
OR Or Logic operation 1
Statements
A = B;
1 Assignment statement
A = B + 1;
A = FUNC(P1,P2);
3 RETURN
RETURN A;
IF A > 0 THEN
B = 1;
4 IF
ELSEIF A > -5 THEN
B = 2;
55
Graphical Programming software SCControl
ELSE
B = 3;
END_IF;
TW = FUNC1();
CASE TW OF
1 : I = 1;
5 CASE
2 : I = 2;
ELSE I = 3;
END_CASE;
J = 10;
FOR I = 1 TO 100 BY 2 DO
IF B1 THEN
6 FOR J = 1;
EXIT;
END_IF;
END_FOR;
J = 1;
END_WHILE;
J = 1;
REPEAT
8 REPEAT J = J + 2;
UNTIL J = 101 OR B1
END_REPEAT;
J = 1;
J = J + 2;
EXIT;
END_IF;
END_WHILE;
FOR I = 1 TO 100 BY 2 DO
10 EMPTY ;
END_FOR;
56
Graphical Programming software SCControl
Assignment statement
The call of function and function block includes function name or function
block name followed by parenthesis. In parenthesis are parameters and
between parameters is comma.
The call of function block should strictly accord with the sequence of input
and output. First enter input parameters then output parameters and the
sequence of parameters should be the sequence of definition.
Function definition
More than one outputs, or output bears relation with not only current input,
but also the last inner status.
57
Graphical Programming software SCControl
When calling function block, accord to the input output sequence strictly.
First, input the input parameter and then input output parameter. The
parameter sequence is according to the defined sequence.
Usage restrictions
Call ST FUNCTION.
TEXTCODE module
Call ST FUNCTION.
Call ST FUNCTION_BLOCK.
Compiling speed
58
Graphical Programming software SCControl
3) Function
VAR_INPUT
IN1: BOOL;
END_VAR
VAR
TEMP1: BOOL;
END_VAR
END_FUNCTION
Explanation:
4) Function block
FUNCTION_BLOCK FB3
VAR_INPUT
59
Graphical Programming software SCControl
IN1: BOOL;
END_VAR
VAR_OUTPUT
OUT1: BOOL;
END_VAR
VAR
TEMP1: BOOL;
END_VAR
DoSomething();
END_FUNCTION_BLOCK
Explanation:
Assignment statement
60
Graphical Programming software SCControl
A = B;
A = B + C;
A = B * C + D;
A = B AND C AND D OR E;
IF statement
AA = BB;
AA = CC;
ELSE
AA = DD;
END_IF;
CASE statement
CASE A OF
1:
AA = BB;
2:
AA = CC;
61
Graphical Programming software SCControl
3:
AA = DD;
ELSE
AA = EE;
END_CASE;
FOR statement
FOR I = 1 TO 100 BY 2 DO
DOSOMETHING ();
END_FOR;
WHILE statement
WHILE conditions DO
END_WHILE;
62
Graphical Programming software SCControl
REPEAT statement
REPEAT
END_REPEAT;
First execute the statement list once, then judge termination conditions, so
the specified statement list will be executed for at least one time. When
termination conditions become TRUE, the cycle will be terminated.
Arithmetic operation
Comparison Function
Conversion Function
Boolean calculation
Mathematics Function
Select Function
Especially Function
Other Function
Input manage
6) Arithmetic operation
ADD Function
63
Graphical Programming software SCControl
The function of this module is adding input values, its result will assign to
out. The function type as follows:
Average Function
The function of this module is getting average value of input values, its
result will assign to out. The function type as follows:
Divide Function
The function of this module is dividing of inputs and its result will assign to
out. The function type as follows:
64
Graphical Programming software SCControl
Mode Function
The function of this module is dividing of inputs and its remainder will assign
to out. The function type as follows:
Assign Function
The function of this module is taking of input and assigning to out. The
function type as follows:
65
Graphical Programming software SCControl
Multiply Function
The function of this module is multiplying of inputs and its result will assign
to out. The function type as follows:
Subtract Function
The function of this module is subtracting of inputs and its result will assign
to out. The function type as follows:
7) Comparison function
Equal
The function of this module is checking two inputs, if input value equals, it is
outputs ON, otherwise OFF. The function type shown as follows:
66
Graphical Programming software SCControl
The function of this module is checking if first input is greater than or equal
to the second input, if it is, outputs ON, otherwise OFF. The function type
shown as follows:
Greater
The function of this module is checking if first input is greater than the
second one, if it is, outputs ON, otherwise OFF. The function type shown as
follows:
67
Graphical Programming software SCControl
The function of this module is checking if first input is less than or equal to
second input, if it is, outputs ON, otherwise OFF. The function type shown
as follows:
Less
The function of this module is checking if first input is less than second input,
if it is, outputs ON, otherwise OFF. The function type shown as follows:
68
Graphical Programming software SCControl
Unequal
8) Conversion Function
The function of this module is taking the input of DWORD type and
converting to output of LONG type.
The function of this module is taking the input of FLOAT type and
converting to output of INT type.
69
Graphical Programming software SCControl
The function of this module is taking the input of INT type and converting to
output of FLOAT type.
The function of this module is taking the input of INT type and converting to
output of LONG type.
The function of this module is taking the input of INT type and converting to
output of UINT type.
The function of this module is taking the input of INT type and converting to
output of WORD type.
The function of this module is taking the input of LONG type and converting
to output of DWORD type.
The function of this module is taking the input of LONG type and converting
to output of FLOAT type.
The function of this module is taking the input of LONG type and
converting to output of INT type.
The function of this module is taking the input of LONG type and converting
to output of ULONG type.
The function of this module is taking the input of UINT type and converting
70
Graphical Programming software SCControl
The function of this module is taking the input of UINT type and converting
to output of ULONG type.
The function of this module is taking the input of UINT type and converting
to output of WORD type.
The function of this module is taking the input of ULONG type and
converting to output of DWORD type.
The function of this module is taking the input of ULONG type and
converting to output of LONG type.
The function of this module is taking the input of ULONG type and
converting to output of UINT type.
The function of this module is taking the input of WORD type and
converting to output of BYTE type.
The function of this module is taking the input of BYTE type and converting
to output of WORD type.
The function of this module is taking the input of WORD type and
converting to output of INT type.
71
Graphical Programming software SCControl
The function of this module is taking the input of WORD type and
converting to output of UINT type.
The function of this module is taking the input of SFLOAT type and
converting to output of FLOAT type.
The function of this module is taking the input of FLOAT type and
converting to output of SFLOAT type.
The function of this module is taking the input of SFLOAT type and
converting to output of INT type.
The function of this module is taking the input of INT type and converting to
output of SFLOAT type.
The function of this module is taking the input of decimal type and
converting to output of BCD code, the algorism of input is BYTE type, the
maximum is 255.
9) Boolean calculation
The function of this module is taking the inputs, carrying AND operation,
assigning to output.
72
Graphical Programming software SCControl
Not Function
The function of this module is taking the inputs, carrying NOT operation,
assigning to output.
Or Function
The function of this module is taking the inputs, carrying cyclic shift left
operation, assigning to output.
The function of this module is taking the inputs, carrying cyclic shift right
operation, assigning to output.
73
Graphical Programming software SCControl
Shift left
The function of this module is taking the inputs, carrying shift left operation,
assigning to output (fill zero in right side).
Shift right
The function of this module is taking the inputs, carrying Shift right
operation, assigning to output (fill zero in left side).
XOR Function
The function of this module is taking the inputs, carrying XOR operation,
assigning to output.
74
Graphical Programming software SCControl
The function of the three modules are taking the input's absolute value, and
assigning to output.
The function of this module is taking the arcsine operation, and assigning to
output as arc.
The function of this module is taking the cosine of input and assigning to
output.
The function of this module is taking the input's project cosine operation,
and assigning to output, the value of input must be arc.
The function of this module is taking the value of input as power based e
and assigning to output.
The function of this module is taking the logarithm of input based on e and
assigning to output.
75
Graphical Programming software SCControl
The function of this module is taking the input's logarithm operation based
on 10, assigning to output.
The function of this module is taking the value of y as power x as the base,
and assigning to output.
The function of this module is taking the sine of input and assigning to
output.
The function of this module is taking the input's project sine operation, and
assigning to output.
The function of these two modules are taking the square root of input and
assigning to output. The input range of SQRT_SFLOAT is 0~1.
The function of this module is taking the tangent of input and assigning to
output.
The function of this module is taking the input's project tangent operation,
and assigning to output.
Limit Function
The function of this module is limiting value, when input is greater than
76
Graphical Programming software SCControl
upper limit output upper limit, when input is less than lower limit output
lower limit, otherwise output input. The function type as follows:
Maximum Function
The function of this module is taking the maximum of inputs and assigning
to output. The function type as follows:
Minimum Function
The function of this module is taking the minimum of inputs and assigning to
output. The function type as follows:
77
Graphical Programming software SCControl
Selection Function
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out. The function type as
follows:
BOOL SEL_1IN5 (BOOL pv1, BOOL pv2, BOOL pv3, BOOL pv4,
BOOL pv5);
The function of this module is getting appoint tab num from DWORD value
of input, if equals 1, output ON; if equals 0, output OFF.
78
Graphical Programming software SCControl
Function: Getting integer type value (16 bit) from DWORD value (32 bit) of
input. SERIAL=0, take low 16 bit; SERIAL=1, take high 16 bit.
Function: Getting UINT value (16 bit) from 32 bit DWORD input value.
SERIAL=0, take low 16 bit; SERIAL=1, take high 16 bit.
Function: Getting WORD value (16 bit) from 32 bit DWORD input value
num. When SERIAL=0, take low 16 bit; SERIAL=1, take high 16 bit.
Function: Getting SFLOAT value (16 bit) from 32 bit DWORD input value.
When SERIAL=0, take low 16 bit; SERIAL=1, take high 16 bit.
Function: Setting serial bit valuable of input num, when val = OFF, this bit is
79
Graphical Programming software SCControl
Function: Input FLOAT type data and output DWORD type data.
Function: Getting SFLOAT value (16 bit) from 32 bit DWORD input value.
When SERIAL=0, take low 16 bit of input value num as val; when
SERIAL=1, take high 16 bit of input value num as val.
Function: Getting SFLOAT value (16 bit) from 32 bit DWORD input value.
When SERIAL=0, take low 16 bit of input value num as val; when
SERIAL=1, take high 16 bit of input value num as val.
Function: Getting SFLOAT value (16 bit) from 32 bit DWORD input value.
When SERIAL=0, take low 16 bit of input value num as val; when
SERIAL=1, take high 16 bit of input value num as val.
Function: Getting SFLOAT value (16 bit) from 32 bit DWORD input value.
When SERIAL=0, take low 16 bit of input value num as val; when
SERIAL=1, take high 16 bit of input value num as val.
Function: Gained the first two numbers of the currently year, get along with
YEAR () function make up of currently year.
Function: Gained the two further numbers of the currently year, get along
with CENTURY () function make up of currently year.
80
Graphical Programming software SCControl
Function: Monitor number variable input that is under eight and generate
one Boolean output according to the status set by S9 and S10. Refer FBD
specification for details.
Function: Evaluate the square root of the Semi float input IN, OUT= KP *
SQRT (IN) + DIS. Refer FBD specification for details.
81
Graphical Programming software SCControl
Function: Received PAT working sign of the Nth channel. Refer FBD
specification for details.
Function: Received PAT state of the Nth channel. Refer FBD specification
for details.
82
Graphical Programming software SCControl
Function: Broken line table function, X is input value, n is which one broken
line table.
Function: Get X value of the numth in the Nth broken line table.
Function: Get Y value of the numth in the Nth broken line table.
Function: Set X value of the numth in the Nth broken line table.
Function: Set Y value of the numth in the Nth broken line table.
User-defined data type, global variable and section in SCControl all can be
imported or exported. Through importing and exporting user can reuse
former information easily and transmit configuration between projects.
83
Graphical Programming software SCControl
When select one or several user-defined data type in dialog frame of “Data
Type Editor” to export, user should assign reserving file's name of exporting
data. SCControl will check all data type, if discovers that selected data type
is coming from deriving of unselected data type, SCControl will add this
user-defined data type automatically. In importing select already built up
export file, will add contained data type into project.
The user creates user-defined data type through data type editor. When
defining new data type, the user can use essential data type and
user-defined data type established in project.
Graphical programming has inner data type editor, user can generate
user-defined data type through data type editor and it can be used in any
edited variable type.
Press “Add” to pop up the dialog of “Insert composite data type” and the
84
Graphical Programming software SCControl
Select an array type and press “Edit” to pop up the dialog of “Array
declaration”, shown as Figure 1-56.
Select a structure type and press “Edit” to pop up the dialog of “Structure
declaration”, shown as Figure 1-57.
85
Graphical Programming software SCControl
The user can save data type to a file through import/export function. Other
project can use these user-defined data types if importing this file.
Part of data types has been predefined in the system. These data types are
read-only and the user cannot modify or delete them.
5. Variable editor
6. DFB editor
DFB editor is used to create DFB (Derived Function Blocks). DFB can be
comprehended as sub program.
DFB can generate by FBD editor and LD editor, it also can be called by
FBD, LD and SFC.
86
Graphical Programming software SCControl
Inside DFB, one or multiple EFB and other DFB can be referred. DFB
cannot nest loops of itself.
DFB variable
Private variable
Input variable
Output variable
Input variable is used to transfer values to DFB and output variable is used
to extract values from DFB. These two types of variables are called “Formal
parameter”. These variables appear as external input/output pins when
DFB is used.
The name, data type and pin number of formal parameter are defined in
variable editor. The pin number is the natural order in variable editor.
87
Graphical Programming software SCControl
Hot backup variable is invisible to users. When DFB refers FFB containing
hot backup variables, DFB will inherit FFB’s hot backup variables
automatically.
When you use DFB containing private variables to build new DFB, new
DFB will inherit all private variables in DFB.
7. System resource
Timer
Application example:
88
Graphical Programming software SCControl
Timers [20] = 0;
END_IF;
Dosomething ();
END_IF;
g_bsc[64]
g_csc[64]
Note: g_bsc and g_csc use system memory together, but they can not use
the same subscript simultaneously.
DWORD g_msg[128]
Control station sharing this data region is to transfer data among stations.
Note: control stations can not share the same array subscript.
Application example:
Send data to other control stations from NO.2 control station (the address is
2 and 3) and use array subscript NO.6
g_msg[6] = 0;
89
Graphical Programming software SCControl
Read data sent from NO.2 control station from other control stations (use
array subscript NO.6)
DWORD dw;
dw = getmsg ( 2 , 6); (* read data from NO.2 control station and use
array subscript NO.6*)
BOOL1 = getbit (dw , 0); (* read switching value from the zero digit*)
BOOL2 = getbit (dw, 1); (* read switching value from the first digit*)
For SCX language does not have bit operation introduction, but flag adopts
bit definition, users can get the info that whether a signal is on alarm status
by means of "And" operation of flag and related value of one member. For
example, related value of upper limit alarm is 1.
Definition of analog input tag number data member Flag (tag number flag)
Related
Bit of flag Description Bit format
value
1--Alarm
D0 Upper limit alarm 1
0--Not alarm
D2=0
1--Alarm
D1 Lower limit alarm 2
0--Not alarm
90
Graphical Programming software SCControl
1--Alarm
D0 Upper upper limit alarm 5
0--Not alarm
D2=1
1--Alarm
D1 Lower lower limit alarm 6
0--Not alarm
D3
D4
D5
D6
D7
1--Alarm
D9 Speed alarm 512
0--Not alarm
1--Alarm
Outrange alarm(channel fault
D11 2048
alarm)
0--Not alarm
1--Alarm
D12 Time limit alarm 4096
0--Not alarm
D13
D14
D15
91
Graphical Programming software SCControl
For example, if you need to verdict whether one analog input signal is on
HH limit alarm, do "And" operation to member Flag and the related value 5
of member HH of this analog signal firstly (see the above table), that is to
shield non-related bit and only remain the related bit (D2D0) of FLAG, then
compare the value that is after completing "And" operation with this related
value 5, and verdict whether they are equal. If they are equal, then indicate
that this signal is on the status of HH limit alarm; or this signal is not on the
status of HH limit alarm. In principle, when HH limit alarms, upper limit also
alarms; in a similar way, LL limit alarms, lower limit also alarms.
SCControl is required to run in IPC with above PII 300 and 128M memory.
z Windows 7
z Windows XP
92
Graphical Programming software SCControl
1. Menu
2. Toolbar
93
Graphical Programming software SCControl
gray. If menu item is activated, then related toolbar icon will be also
activated.
Configuration elements of LD
3. Workspace
4. Programming area
The program editing area shown in the following figure is used to design
and edit programs and modules. The background of window is logic
coordinate grid.
94
Graphical Programming software SCControl
5. Information column
Info column will output “Open project succeed” if the user succeeds in
opening a project or creating a new project. Otherwise, it will output “Open
project failed”.
If the program section or project is not finished or has errors, the compiling
will not succeed and info column (Output) will output the unsuccessful
reason (Shown as the following figure). The user has to modify the program
and debug over and over again till info column outputs “Compiling succeed”,
then the user can turn to the next operation.
95
Graphical Programming software SCControl
Besides, info column (Output) also displays error info during compiling.
Double-click error info to jump to related wrong diagram element. It is used
to easily correct errors.
6. Status
Menu integrates all the functions of SCControl; you can edit the whole
project by making well use of the menu. SCControl software provides users
with File, Edit, View, Object, Project, Build, Window and Help, totally 8
types of menu items. They are introduced as follows:
File Edit
View Object
Project Compile
Window Help
There are many functions on file menu pop. Using or effective managing
these functions will be greatly helpful to edit of graphical programming
software.
New project
96
Graphical Programming software SCControl
Open
Close
Save Project
If editing a already existent old project file and saving it, then it will directly
save as original file name automatically instead of appearing a dialog frame.
Edited project's content will cover with original content.
Save Project As
New Section
It is used to create a new program section. For related content, please refer
"Create New Program Section" in LD or FBD language programming.
Open Section
97
Graphical Programming software SCControl
Save
It is used to save program section which has been edited or is being edited.
After saving project or program section file, if users want to print built file
content, click "Print" icon button or select file/print instruction to execute
print, and it will appear a dialog frame of "Print". Shown as figure:
Printer
Print range
98
Graphical Programming software SCControl
Print to file
This check box is to save the file content that needs to be printed
in one file instead of printing out by printer. When printing this file
in another computer that only has DOS system, users can enter
in command under DOS prompt:
Copy
Attribute
99
Graphical Programming software SCControl
Therein, there are sheet, diagram and equipment item three parts. Users
can set separately according to requirement.
Before formal printing file, SUPCON flow chart making software provides
the function of browsing file printing status: file/print browse. It can avoid
unnecessary waster because of improper of printer's status.
Print Preview
Print Setup
It is used to select required print set condition in dialog frame of "Print Set"
to get the best printing effect according to users' actual requirement. For
specific info, please refer print function.
Exit
100
Graphical Programming software SCControl
Undo
It is used to cancel last time's operation. SCControl software offer time after
time undo function.
Redo
After executing undo operation, used to make edit status coming back to
before undo operation.
Cut
2) Cut
Click cut button with mouse, selected content will be copied to paste
plate and at the same time delete original content of this region.
That time according requirement user can copy the content of paste
plate into other file of graphical programming software.
Copy
101
Graphical Programming software SCControl
same with cut. Particular users please see also "Cut function" detail.
Paste
It is used to copy the newest content of paste plate into designated edit
region. Click paste icon of tool column, a paste icon will appear and move
with mouse, at designated place click left button of mouse, the newest
content of paste plate will be pasted in this place.
Delete
Look up
Replace
Select all
It is used to select all contents in edit region, which include function block,
contact, link wire, coil and text etc.
102
Graphical Programming software SCControl
are parts of them and other contents can refer “Jump function”.
Select
It is used to select module, link wire, coil etc. in editing region, it is default
operation.
Link
Link wire is used to connect module with module, module with coil, module
with bus, module with contact etc.
Vertical link
A vertical link wire is used to connect several inputs with an output. Inputs
may have several, they are module, bus, coil etc. Output is only one, may
connect with module or coil. Its function equals a module.
Reverse
Remark text
103
Graphical Programming software SCControl
Variable definition
Global Variables
Section Manager
Task Manager
104
Graphical Programming software SCControl
The above figure is dialog frame of setting running time. Users can click the
"modify period" button at the right side of the dialog frame to modify running
period.
Users can set the priority of each program's running of the same running
period through several operations, such as "shift to head", "upper shift",
"lower shift" and "shift to end". That means the same period program that is
in the front will be executed first. The program's priority between different
running periods can be compared.
5. Introduction of Window
105
Graphical Programming software SCControl
Cascade
Cascade ranges all the opened windows and windows have opened before
are shown in the edit area, shown as following:
Title Horizontally
Show all the opened windows in the edit area with the method of title
horizontally, shown as following:
106
Graphical Programming software SCControl
Close All
Content
Submit online helps. When using graphical program software make LD,
FBD language programming or carry through other operations, will produce
questions, meet problem and hope helps, then may click this menu and get
a lot of detailed, related helping information from software.
About SCControl
7. Introduction of Build
Compile
107
Graphical Programming software SCControl
machine.
Rebuild All
Connect
Debug
Variable Debugger
108
Graphical Programming software SCControl
Type Description
BOOL 1Byte
BYTE 1Byte
INT 2Bytes
UINT 2Bytes
WORD 2Bytes
SFLOAT 2Bytes
LONG 4Bytes
ULONG 4Bytes
DWORD 4Bytes
FLOAT 4Bytes
structAccum 8Bytes
structAI AIByte
structDI DIByte
structPAT PATByte
structCSC CSCByte
structBSC BSCByte
Start configuration software SCKey from Windows, and then start graphical
programming from user-defined graphical configuration after opening
object file.
109
Graphical Programming software SCControl
Select "New Project" from "File" menu. Enter project name in the dialog
frame of "New Project".
Select "Open project" from "File" menu. Select the project file that needs to
be edited in the dialog frame of "Open Project".
Step 3 Programming
Select "New Section" from "File" menu. Enter section name in the dialog
frame and select section attributes.
Select "Control Station Address" from "Project" menu to set related control
station address.
110
Graphical Programming software SCControl
Step 7 Documentation
After the connection of editor and control station, users can download
programs and do online debug. When doing inline debug, operating station
and actual control station should be checked first, if they are not the same,
do alarm. Current project in editor is actually connected to control station,
so switching value and switching link in program will display on and off
111
Graphical Programming software SCControl
status according to actual data. Debugging text (PV) in program will display
its actual value. Users can set the data of control station through PV set.
1. Connect
Only when connect is on work can it use debug command. Enter into
connection status by using connect instruction in Compile menu or click
connect button on tool pop. At that time, debug command become into
usable status from unusable status.
2. Debug
When BOOL values of variable and link are ON, motion picture is green,
when OFF, it is red.
112
Graphical Programming software SCControl
Running time
Under debugging status, open running time window to observe the time
that every program spends on every execution.
Set password
Delete password
Use attention
113
Graphical Programming software SCControl
1. Set password
The section set password or delete password must after opening edit
interface.
2. Delete password
After opening section in edit interface, if have password then can delete
password operation. When deleting password, appeared confirm dialog box,
show as follows. After confirming delete password, the password deleted
from the project.
114
Graphical Programming software SCControl
3. Use attention
When a section in project file is set password, old SCControl version can
not open the project file with password protection.
The current exported section, if passwords are protected, the section led
out has a password that is protected all the time. When importing, the edit
interface is the same as close status as default, the password is the same
with before.
If the current section edit interface with password protection is on open, the
corresponding section still has password protection after modifying and on
open. As well as if the current section edit interface with password
protection is on close, the corresponding section still has password
protection after modifying and on close.
When the current section is in the state of password protecting and editor
interface is on open, password input frame will appear when double clicking
the object in output frame. Section edit interface will be on open after
inputting a correct password and avoid password input frame right away to
double click afterwards.
If doing the operation of “Save as” for project file with password protection,
then the corresponding sections are still protected by password.
115
Graphical Programming software SCControl
116
Graphical Programming software SCControl
Unequal module
Great module
Equal module
Less module
1) Unequal module
NE_BOOL
Brief Description
The function of this module is checking if first input value isn't equal
to the second one; it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
117
Graphical Programming software SCControl
NE_DWORD
Brief Description
The function of this module is checking if first input value isn't equal to
the second one; it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
OUT = ON if IN1!=IN2
Parameter Description
NE_FLOAT
Brief Description
The function of this module is checking if first input value isn't equal to
118
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
NE_INT
Brief Description
The function of this module is checking if first input value isn't equal to
the second one; it is then outputs ON, otherwise OFF.
Representation
Symbol
119
Graphical Programming software SCControl
Formula
OUT = ON if IN1!=IN2
OUT = OFF if IN1=IN2
Parameter Description
NE_SFLOAT
Brief Description
The function of this module is checking if first input value isn't equal to the
second one; it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
OUT = ON if IN1!=IN2
OUT = OFF if IN1= IN2
120
Graphical Programming software SCControl
Parameter Description
NE_LONG
Brief Description
The function of this module is checking if first input value isn't equal to the
second one; it is then outputs ON, otherwise OFF.
Symbol
Formula
OUT = ON if IN1!=IN2
Parameter describing
121
Graphical Programming software SCControl
NE_UINT
Brief Description
The function of this module is checking if first input value isn't equal to the
second one; it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
OUT = ON if IN1!=IN2
Parameter Description
NE_ULONG
Brief Description
The function of this module is checking if first input value isn't equal to the
second one, it is then outputs ON, otherwise OFF.
Representation
122
Graphical Programming software SCControl
Symbol
Formula
OUT = ON if IN1!=IN2
Parameter Description
NE_WORD
Brief Description
The function of this module is checking if first input value isn't equal to the
second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
123
Graphical Programming software SCControl
OUT = ON if IN1!=IN2
OUT = OFF if IN1=IN2
Parameter Description
NE_BYTE
Brief Description
The function of this module is checking if first input value isn't equal to the
second one; it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
124
Graphical Programming software SCControl
2) Greater module
GT_FLOAT
Brief Description
The function of this module is checking if the first input value is greater than
the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
GT_INT
125
Graphical Programming software SCControl
Brief Description
The function of this module is checking if the first input value is greater than
the second one; it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
GT_LONG
Brief Description
The function of this module is checking if the first input value is greater than
the second one; it is then outputs ON, otherwise OFF.
Representation
126
Graphical Programming software SCControl
Symbol
Formula
Parameter Description
GT_SFLOAT
Brief Description
The function of this module is checking if the first input value is greater than
the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
127
Graphical Programming software SCControl
Parameter Description
GT_UINT
Brief Description
The function of this module is checking if the first input value is greater than
the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
128
Graphical Programming software SCControl
GT_ULONG
Brief Description
The function of this module is checking if the first input value is greater than
the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
GE_FLOAT
Brief Description
The function of this module is checking if the first input value is greater than
129
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
GE_INT
Brief Description
The function of this module is checking if the first input value is greater than
or equal to the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
130
Graphical Programming software SCControl
Formula
Parameter Description
GE_LONG
Brief Description
The function of this module is checking if the first input value is greater than
or equal to the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
OUT = ON if IN1 >= IN2
131
Graphical Programming software SCControl
Parameter Description
GE_UINT
Brief Description
The function of this module is checking if the first input value is greater than
or equal to the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
132
Graphical Programming software SCControl
GE_SFLOAT
Brief Description
The function of this module is checking if the first input value is greater than
or equal to the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
GE_ULONG
Brief Description
The function of this module is checking if the first input value is greater than
or equal to the second one, it is then outputs ON, otherwise OFF.
133
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
4) Equal module
EQ_BOOL
Brief Description
The function of this module is checking two inputs, if input values are equal
to each other; it is then outputs ON, otherwise OFF.
Representation
Symbol
134
Graphical Programming software SCControl
Formula
Parameter Description
EQ_DWORD
Brief Description
The function of this module is checking two inputs, if input values are equal
to each other, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
135
Graphical Programming software SCControl
Parameter Description
EQ_INT
Brief Description
The function of this module is checking two inputs, if input values are equal
to each other; it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
136
Graphical Programming software SCControl
EQ_FLOAT
Brief Description
The function of this module is checking two inputs, if input values are equal
to each other, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
EQ_LONG
Brief Description
The function of this module is checking two inputs, if input values are equal
to each other; it is then outputs ON, otherwise OFF.
137
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
EQ_SFLOAT
Brief Description
The function of this module is checking two inputs, if input values are equal
to each other; it is then outputs ON, otherwise OFF.
Representation
Symbol
138
Graphical Programming software SCControl
Formula
Parameter Description
EQ_UINT
Brief Description
The function of this module is checking two inputs, if input values are equal
to each other; it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
139
Graphical Programming software SCControl
Parameter Description
EQ_ULONG
Brief Description
The function of this module is checking two inputs. If input values are equal
to each other, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
140
Graphical Programming software SCControl
EQ_WORD
Brief Description
The function of this module is checking two inputs. If input values are equal
to each other, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
EQ_BYTE
Brief Description
The function of this module is checking two inputs, if input values are equal
to each other; it is then outputs ON, otherwise OFF.
141
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
5) Less module
LT_FLOAT
Brief Description
The function of this module is checking if the first input value is less than
the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
142
Graphical Programming software SCControl
Formula
Parameter Description
LT_INT
Brief Description
The function of this module is checking if the first input value is less than
the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
143
Graphical Programming software SCControl
Parameter Description
LT_LONG
Brief Description
The function of this module is checking if the first input value is less than
the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
144
Graphical Programming software SCControl
LT_SFLOAT
Brief Description
The function of this module is checking if the first input value is less than
the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
LT_UINT
Brief Description
The function of this module is checking if the first input value is less than
the second one, it is then outputs ON, otherwise OFF.
Representation
145
Graphical Programming software SCControl
Symbol
Formula
Parameter Description
LT_ULONG
Brief Description
The function of this module is checking if the first input value is less than
the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
146
Graphical Programming software SCControl
Parameter Description
LE_INT
Brief Description
The function of this module is checking if the first input value is less than or
equal to the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
147
Graphical Programming software SCControl
LE_FLOAT
Brief Description
The function of this module is checking if the first input value is less than or
equal to the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
LE_LONG
Brief Description
The function of this module is checking if the first input value is less than or
equal to the second one, it is then outputs ON, otherwise OFF.
148
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
LE_SFLOAT
Brief Description
The function of this module is checking if the first input value is less than or
equal to the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
149
Graphical Programming software SCControl
Formula
Parameter Description
LE_UINT
Brief Description
The function of this module is checking if the first input value is less than or
equal to the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
150
Graphical Programming software SCControl
LE_ULONG
Brief Description
The function of this module is checking if the first input value is less than or
equal to the second one, it is then outputs ON, otherwise OFF.
Representation
Symbol
Formula
Parameter Description
IEC Counter and timer module including ten different kinds of function
module, parts of them is: RS trigger, SR trigger, R_TRIG trigger, F_TRIG
151
Graphical Programming software SCControl
trigger, TOFF timer, TON timer, TP timer, CTD, CTU and CTUD.
RS trigger module
Brief Description
The function of this module is used to store RS, reset has a priority.
Representation
Symbol
Parameter Description
S BOOL Set
R1 BOOL Reset(priority)
Q1 BOOL Output
SR trigger
Brief Description
The function of this module is used to store RS, set has a priority.
152
Graphical Programming software SCControl
Representation
Symbol
Parameter Description
R BOOL Reset
Q1 BOOL Output
R_TRIG
Brief Description
The function of this module is raising trigger, that is when CLK changes
from OFF to ON, Q will be ON at next cycle and OFF at other situation.
Representation
Symbol
VOID R_TRIG(CLK,Q)
153
Graphical Programming software SCControl
Parameter Description
Q BOOL output
F_TRIG
Brief Description
The function of this module is falling trigger, that is when CLK changes from
ON to OFF, Q will be ON at next cycle and OFF at other situation.
Representation
Symbol
VOID F_TRIG(CLK,Q)
Parameter Description
TOFF
Brief Description
The function of this module is when input changes from ON to OFF, Q will
has a delay output
154
Graphical Programming software SCControl
Representation
Symbol
Parameter Description
IN BOOL Input
Detail
If IN becomes OFF, will start inner clock ET, increase as (system running
period * number of task running period), delay start. For example, set
system running time in SCKey is 500ms, task management in SCControl
occupies 5 periods, so delay increases 2500ms every time. If inner clock
attains PT, Q becomes OFF, ET = PT. if IN becomes ON before ET attains
155
Graphical Programming software SCControl
TON
Brief Description
The function of this module is when input changes from OFF to ON, Q will
has a delay output.
Representation
Symbol
Parameter Description
IN BOOL Input
Detail
156
Graphical Programming software SCControl
If IN becomes ON, will start inner clock ET, increase as (system running
period * number of task running period), delay start. For example, set
system running time in SCKey is 500ms, task management in SCControl
occupies 5 periods, so delay increases 2500ms every time. If inner clock
attains PT, Q becomes ON, ET = PT. if IN becomes ON before ET attains
PT, then ET = 0, Q = OFF.
TP
Brief Description
The function of this module is building up a pulse, which has a certain time.
Representation
Symbol
VOID TP(IN,PT,Q,ET)
Parameter Description
IN BOOL Input
Detail
157
Graphical Programming software SCControl
If ET = 0, IN becomes ON, then Q becomes ON, will start inner clock ET,
increase as (system running period * number of task running period). For
example, set system running time in SCKey is 500ms, task management in
SCControl occupies 5 periods, so delay increases 2500ms every time. If
inner clock has not attained PT, IN becomes OFF, both ET and Q will be
impacted. If ET attains PT, Q becomes OFF (there is no relationship with
IN). IN becomes OFF if ET attains PT, inner clock stops ET= 0, Q = OFF.
CTD
Brief Description
Representation
Symbol
158
Graphical Programming software SCControl
Parameter Description
CTU
Brief Description
When R = ON, CV = 0;
Representation
Symbol
159
Graphical Programming software SCControl
Parameter Description
R BOOL Reset
CTUD
Brief Description
Representation
Symbol
160
Graphical Programming software SCControl
Parameter Description
R BOOL Reset
IEC Logic operation module including: AND, OR, NOT, Cyclic shift left,
Cyclic shift right, Shift left, Shift right and XOR function operator and so on,
show as follows:
Tag and: perform and operation to every input, that is 1&1 equals 1,1&0
equals 0, and 0&0 equals 0. For example, 10011001&00101101 equals
00001001.
Tag or: perform or operation to every input that is 1|1 equals 1, 1|0 equals 1,
and 0|0 equals 0. For example, 10011001|00101101 equals 10111101.
Not: perform not operation to every input that is ~ 1 equals 0 and ~ 0 equals
1. For example, ~10011001 equal 01100110.
Left shift: perform left shift to input, and zeroes from right. For example,
a=01000000, a<<1=10000000 and a<<2=00000000.
Right shift: perform right shift to input and zeroes from left. For example,
b=1001011111101101 and b>>1=0100101111110110.
161
Graphical Programming software SCControl
Cycle left shift: perform left shift to input and high order's overflow item fills
in low order. For example, c equals 10101001, when cycle shifts two digits
to left, it becomes 10100110.
Cycle right shift: perform right shift to input and low order's overflow item
fills in high order. For example, d equals 10101001, when cycle shifts two
digits to right, it becomes 01101010.
Not or: perform tag not or operation to every input. That is 1^1 equals 0, 1^0
equals 1 and 0^0 equals 0. For example, 10100101^01101100 equals
11001001.
AND_BOOL
Brief Description
The function of this module is taking the inputs, carrying AND operation,
assigning to output. Number of inputs isn't limited.
Representation
Symbol
Formula
Parameter Description
162
Graphical Programming software SCControl
AND_DWORD
Brief Description
The function of this module is taking the inputs, carrying AND operation,
assigning to output. Number of inputs isn't limited.
Representation
Symbol
Formula
Parameter Description
AND_WORD
Brief Description
The function of this module is taking the inputs, carrying AND operation,
assigning to output. Number of inputs isn't limited.
163
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
AND_BYTE
Brief Description
The function of this module is taking the inputs, carrying AND operation,
assigning to output. Number of inputs isn't limited.
Representation
Symbol
Formula
164
Graphical Programming software SCControl
Parameter Description
OR_BOOL
Brief Description
Representation
Symbol
Formula
Parameter Description
165
Graphical Programming software SCControl
OR_DWORD
Brief Description
Representation
Symbol
Formula
Parameter Description
OR_WORD
Brief Description
166
Graphical Programming software SCControl
assigning to output.
Representation
Symbol
Formula
Parameter Description
OR_BYTE
Brief Description
Representation
Symbol
167
Graphical Programming software SCControl
Formula
Parameter Description
NOT_BOOL
Brief Description
The function of this module is taking the input, carrying NOT operation,
assigning to output.
Representation
Symbol
Formula
OUT = NOT IN
Parameter Description
168
Graphical Programming software SCControl
IN BOOL Input
NOT_DWORD
Brief Description
The function of this module is taking the input, carrying NOT operation,
assigning to output.
Representation
Symbol
Formula
OUT = NOT IN
Parameter Description
IN DWORD Input
NOT_WORD
Brief Description
The function of this module is taking the input, carrying NOT operation,
assigning to output.
Representation
169
Graphical Programming software SCControl
Symbol
Formula
OUT = NOT IN
Parameter Description
IN WORD Input
NOT_BYTE
Brief Description
The function of this module is taking the input, carrying NOT operation,
assigning to output.
Representation
Symbol
Formula
OUT = NOT IN
Parameter Description
170
Graphical Programming software SCControl
IN BYTR Input
SHL_DWORD
Brief Description
The function of this module is taking the inputs, carrying Shift left operation,
assigning to output (fill zero in right side).
Representation
Symbol
OUT = SHL_DWORD(IN,N)
Parameter Description
IN DWORD Input
SHL_WORD
Brief Description
The function of this module is taking the inputs, carrying Shift left operation,
assigning to output (fill zero in right side).
Representation
171
Graphical Programming software SCControl
Symbol
OUT = SHL_WORD(IN,N)
Parameter Description
IN WORD Input
SHR_DWORD
Brief Description
The function of this module is taking the inputs, carrying Shift right
operation, assigning to output (fill zero in left side).
Representation
Symbol
OUT = SHR_DWORD(IN,N)
Parameter Description
IN DWORD Input
172
Graphical Programming software SCControl
SHR_WORD
Brief Description
The function of this module is taking the inputs, carrying Shift right
operation, assigning to output (fill zero in left side).
Representation
Symbol
OUT = SHR_WORD(IN,N)
Parameter Description
IN WORD Input
ROL_DWORD
Brief Description
The function of this module is taking the inputs, carrying cyclic shift left
operation, assigning to output.
Representation
173
Graphical Programming software SCControl
Symbol
OUT = ROL_DWORD(IN,N)
Parameter Description
IN DWORD Input
ROL_WORD
Brief Description
The function of this module is taking the inputs, carrying cyclic shift left
operation, assigning to output.
Representation
Symbol
OUT = ROL_WORD(IN,N)
Parameter Description
IN WORD Input
174
Graphical Programming software SCControl
ROR_DWORD
Brief Description
The function of this module is taking the inputs, carrying cyclic shift right
operation, assigning to output.
Representation
Symbol
OUT = ROR_DWORD(IN,N)
Parameter Description
IN DWORD Input
ROR_WORD
Brief Description
The function of this module is taking the inputs, carrying cyclic shift right
operation, assigning to output.
Representation
175
Graphical Programming software SCControl
Symbol
OUT = ROR_WORD(IN,N)
Parameter Description
IN WORD Input
XOR_BOOL
Brief Description
The function of this module is taking the inputs, carrying XOR operation,
assigning to output. Number of inputs isn't limited.
Representation
Symbol
Formula
Parameter Description
176
Graphical Programming software SCControl
XOR_DWORD
Brief Description
The function of this module is taking the inputs, carrying XOR operation,
assigning to output. The number of inputs isn't limited.
Representation
Symbol
Formula
Parameter Description
177
Graphical Programming software SCControl
XOR_WORD
Brief Description
The function of this module is taking the inputs, carrying XOR operation,
assigning to output. The number of inputs isn't limited.
Representation
Symbol
Formula
Parameter Description
XOR_BYTE
Brief Description
The function of this module is taking the inputs, carrying XOR operation,
assigning to output. The number of inputs isn't limited.
Representation
178
Graphical Programming software SCControl
Symbol
Formula
Parameter Description
IEC Mathematic function module including LOG, ASIN, ACOS, ATAN, SINH,
COSH, TANH, ABS, POW, SQRT, EXP, SIN, COS, TAN twenty kinds of
functions module an so on, show as follow:
ACOS
Brief Description
Representation
Symbol
179
Graphical Programming software SCControl
Formula
OUT: [0, π]
Parameter Description
IN FLOAT Input
ATAN
Brief Description
Representation
Symbol
Formula
180
Graphical Programming software SCControl
Parameter Description
IN FLOAT Input
ATAN2
Brief Description
Representation
Symbol
Formula
Parameter Description
Y FLOAT Input Y
X FLOAT Input X
ASIN
181
Graphical Programming software SCControl
Brief Description
The function of this module is taking the arcsine operation, and assigning to
output as arc.
Representation
Symbol
Formula
Parameter Description
IN FLOAT Input
COSH
Brief Description
The function of this module is taking the input's project cosine operation,
and assigning to output, the value of input must be arc.
Representation
Symbol
182
Graphical Programming software SCControl
Formula
e x + e−x
cosh( x) =
2
Parameter Description
IN FLOAT Input(arc)
TANH
Brief Description
The function of this module is taking the input's project tangent operation,
and assigning to output.
Representation
Symbol
Formula
e x − e−x
tanh( x) =
e x + e−x
183
Graphical Programming software SCControl
Parameter Description
IN FLOAT Input
SINH
Brief Description
The function of this module is taking the input's project sine operation, and
assigning to output.
Representation
Symbol
Formula
e x − e−x
cosh( x) =
2
Parameter Description
IN FLOAT Input
ABS_FLOAT
Brief Description
184
Graphical Programming software SCControl
The function of this module is taking the input's absolute value, and
assigning to output.
Representation
Symbol
Formula
OUT=|IN|
Parameter Description
IN FLOAT Input
ABS_INT
Brief Description
The function of this module is taking the input's absolute value, and
assigning to output.
Representation
Symbol
Formula
185
Graphical Programming software SCControl
OUT=|IN|
Parameter Description
IN INT Input
ABS_LONG
Brief Description
The function of this module is taking the input's absolute value, and
assigning to output.
Representation
Symbol
Formula
OUT=|IN|
Parameter Description
IN LONG Input
ABS_SFLOAT
Brief Description
186
Graphical Programming software SCControl
The function of this module is taking the input's absolute value, and
assigning to output.
Representation
Symbol
Formula
OUT=|IN|
Parameter Description
IN SFLOAT Input
POW
Brief Description
The function of this module is taking the value of y as power x as base, and
assigning to output.
Representation
Symbol
187
Graphical Programming software SCControl
OUT = POW(X, Y)
Parameter Description
SQRT_FLOAT
Brief Description
The function of this module is taking the square root of input and assigning
to output.
Representation
Symbol
Formula
OUT= SQRT(IN)
Parameter Description
IN FLOAT Input
188
Graphical Programming software SCControl
SQRT_SFLOAT
Brief Description
The function of this module is taking the square root of input and assigning
to output. The input range of SQRT_SFLOAT is 0~1.
Representation
Symbol
Formula
OUT= SQRT(IN)
Parameter Description
IN SFLOAT Input
COS
Brief Description
The function of this module is taking the cosine of input and assigning to
output.
Representation
Symbol
189
Graphical Programming software SCControl
Formula
Parameter Description
IN FLOAT Input(arc)
TAN
Brief Description
The function of this module is taking the tangent of input and assigning to
output.
Representation
Symbol
Formula
OUT=TAN (IN)
Parameter Description
190
Graphical Programming software SCControl
SIN
Brief Description
The function of this module is taking the sine of input and assigning to
output.
Representation
Symbol
Formula
Parameter Description
IN FLOAT Input
EXP
Brief Description
The function of this module is taking the value of input as power based e
and assigning to output.
Representation
191
Graphical Programming software SCControl
Symbol
Formula
and EXP( x) = e
x
OUT = exp (IN)
Parameter Description
IN FLOAT Input
LN
Brief Description
The function of this module is taking the logarithm of input based e and
assigning to output.
Representation
Symbol
Formula
Parameter Description
192
Graphical Programming software SCControl
IN FLOAT Input
LOG
Brief Description
The function of this module is taking the input's logarithm operation based
10, assigning to output.
Representation
Symbol
Formula
Parameter Description
IN FLOAT Input
NEWSQRT
Brief Description
This module is evaluating the square root of the floating point between 0.0
and 1.0 and do linearity compensation according to inputted gradient and
displacement.
Representation
193
Graphical Programming software SCControl
Symbol
Arithmetic
This module only used with SFLOAT type between 0.0 and 1.0 :
When input between 0.0 and 1.0, the module gets 32 part with this section,
first received the square root value, which every point corresponding. Gets
the value leave in array's care, then gets a section curve to more section
table line. When input IN is in which table line, that can evaluation
according to line section.
Formula:
Parameter Description
IN SFLOAT Input
194
Graphical Programming software SCControl
follows:
1)Multiply module
MUL_FLOAT
Brief Description
The function of this module is multiplying of inputs and its result will be
assigned to output.
Representation
Symbol
Formula
OUT = IN1*IN2
Parameter Description
MUL_INT
Brief Description
The function of this module is multiplying of inputs and its result will be
assigned to output.
195
Graphical Programming software SCControl
Representation
Symbol
Formula
OUT = IN1*IN2
Parameter Description
MUL_LONG
Brief Description
The function of this module is multiplying of inputs and its result will be
assigned to output.
Representation
Symbol
Formula
OUT = IN1*IN2
196
Graphical Programming software SCControl
Parameter Description
MUL_SFLOAT
Brief Description
The function of this module is multiplying of inputs and its result will be
assigned to output.
Representation
Symbol
Formula
OUT = IN1*IN2
Parameter Description
MUL_UINT
197
Graphical Programming software SCControl
Brief Description
The function of this module is multiplying of inputs and its result will be
assigned to output.
Representation
Symbol
Formula
OUT = IN1*IN2
Parameter Description
MUL_ULONG
Brief Description
The function of this module is multiplying of inputs and its result will be
assigned to output.
Representation
Symbol
198
Graphical Programming software SCControl
Formula
OUT = IN1*IN2
Parameter Description
2) Divide module
DIV_FLOAT
Brief Description
The function of this module is dividing of input Int1 to Int2 and its result will
be assigned to output.
Symbol
Formula
OUT = IN1/IN2
199
Graphical Programming software SCControl
Parameter Description
DIV_INT
Brief Description
The function of this module is dividing of input Int1 to Int2 and its result will
be assigned to output.
Representation
Symbol
Formula
OUT = IN1/IN2
Parameter Description
200
Graphical Programming software SCControl
DIV_LONG
Brief Description
The function of this module is dividing of input Int1 to Int2 and its result will
assign to out.
Representation
Symbol
Formula
OUT = IN1/IN2
Parameter Description
DIV_SFLOAT
Brief Description
The function of this module is dividing of input Int1 to Int2 and its result will
be assigned to output.
201
Graphical Programming software SCControl
Representation
Symbol
Formula
OUT = IN1/IN2
Parameter Description
DIV_UINT
Brief Description
The function of this module is dividing of input Int1 to Int2 and its result will
be assigned to output.
Representation
Symbol
Formula
202
Graphical Programming software SCControl
OUT = IN1/IN2
Parameter Description
DIV_ULONG
Brief Description
The function of this module is dividing of input Int1 to Int2 and its result will
be assigned to output.
Representation
Symbol
Formula
OUT = IN1/IN2
Parameter Description
203
Graphical Programming software SCControl
3) Assign module
MOVE_BOOL
Brief Description
Symbol
Formula
OUT = IN
Parameter Description
MOVE_DWORD
Brief Description
Representation
Symbol
204
Graphical Programming software SCControl
Formula
OUT = IN
Parameter Description
MOVE_FLOAT
Brief Description
Representation
Symbol
Formula
OUT = IN
Parameter Description
205
Graphical Programming software SCControl
MOVE_INT
Brief Description
Representation
Symbol
Formula
OUT = IN
Parameter Description
MOVE_LONG
Brief Description
Representation
Symbol
206
Graphical Programming software SCControl
Formula
OUT = IN
Parameter Description
MOVE_SFLOAT
Brief Description
Representation
Symbol
Formula
OUT = IN
Parameter Description
MOVE_UINT
Brief Description
207
Graphical Programming software SCControl
Representation
Symbol
Formula
OUT = IN
Parameter Description
MOVE_ULONG
Brief Description
Representation
Symbol
Formula
OUT = IN
208
Graphical Programming software SCControl
Parameter Description
MOVE_WORD
Brief Description
Representation
Symbol
Formula
OUT = IN
Parameter Description
MOVE_BYTE
Brief Description
209
Graphical Programming software SCControl
Representation
Symbol
Formula
OUT = IN
Parameter Description
4)Add module
Add module can part to FLOAT, INT, LONG, SFLOAT, UINT and ULONG,
totally six module data type and so on, show as follows:
ADD_FLOAT
Brief Description
The function of this module is adding the input values, its result will be
assigned to output. Number of Inputs isn't limit.
Representation
Symbol
Formula
210
Graphical Programming software SCControl
Parameter Description
ADD_INT
Brief Description
The function of this module is adding the input values, its result will be
assigned to output. Number of Inputs isn't limit.
Representation
Symbol
Formula
Parameter Description
211
Graphical Programming software SCControl
ADD_LONG
Brief Description
The function of this module is adding the input values, its result will be
assigned to output. Number of Inputs isn't limit.
Representation
Symbol
Formula
Parameter Description
ADD_SFLOAT
Brief Description
The function of this module is adding the input values, its result will be
assigned to output. Number of Inputs isn't limit.
212
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
ADD_UINT
Brief Description
The function of this module is adding the input values, its result will be
assigned to output. Number of Inputs isn't limit.
Representation
Symbol
213
Graphical Programming software SCControl
Formula
Parameter Description
ADD_ULONG
Brief Description
The function of this module is adding the input values, its result will be
assigned to output. Number of Inputs isn't limit.
Representation
Symbol
Formula
Parameter Description
214
Graphical Programming software SCControl
5) Subtract module
SUB_FLOAT
Brief Description
The function of this module is subtracting of inputs and its result will be
assigned to output.
Representation
Symbol
Formula
OUT = IN1-IN2
Parameter Description
SUB_INT
Brief Description
215
Graphical Programming software SCControl
The function of this module is subtracting of inputs and its result will be
assigned to output.
Representation
Symbol
Formula
OUT = IN1-IN2
Parameter Description
SUB_LONG
Brief Description
The function of this module is subtracting of inputs and its result will be
assigned to output.
Representation
Symbol
216
Graphical Programming software SCControl
Formula
OUT = IN1-IN2
Parameter Description
SUB_SFLOAT
Brief Description
The function of this module is subtracting of inputs and its result will be
assigned to output.
Representation
Symbol
Formula
OUT = IN1-IN2
Parameter Description
217
Graphical Programming software SCControl
SUB_UINT
Brief Description
The function of this module is subtracting of inputs and its result will be
assigned to output.
Representation
Symbol
Formula
OUT = IN1-IN2
Parameter Description
SUB_ULONG
Brief Description
The function of this module is subtracting of inputs and its result will be
assigned to output.
218
Graphical Programming software SCControl
Representation
Symbol
Formula
OUT = IN1-IN2
Parameter Description
6) Average
AVE_INT
Brief Description
The function of this module is getting average values of input, its result will
be assigned to output. Number of inputs isn't limited.
Representation
Symbol
219
Graphical Programming software SCControl
Formula
Parameter Description
AVE_FLOAT
Brief Description
The function of this module is getting average values of input, its result will
be assigned to output. Number of inputs isn't limited.
Representation
Symbol
Formula
Parameter Description
220
Graphical Programming software SCControl
AVE_LONG
Brief Description
The function of this module is getting average values of input, its result will
be assigned to output. Number of inputs isn't limited.
Representation
Symbol
Formula
Parameter Description
AVE_SFLOAT
Brief Description
The function of this module is getting average values of input, its result will
221
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
AVE_UINT
Brief Description
The function of this module is getting average values of input, its result will
be assigned to output. Number of inputs isn't limited.
Representation
Symbol
222
Graphical Programming software SCControl
Formula
Parameter Description
AVE_ULONG
Brief Description
The function of this module is getting average values of input, its result will
be assigned to output. Number of inputs isn't limited.
Representation
Symbol
Formula
Parameter Description
223
Graphical Programming software SCControl
7) Mode module
MOD_INT
Brief Description
The function of this module is dividing of input values, its remainder will be
assigned to OUT1 while quotient will be assigned to OUT2.
Representation
Symbol
Formula
OUT2 = (IN1-OUT1)/IN2
Parameter Description
224
Graphical Programming software SCControl
MOD_LONG
Brief Description
The function of this module is dividing of input values, its remainder will be
assigned to OUT1 while quotient will be assigned to OUT2.
Representation
Symbol
Formula
OUT2 = (IN1-OUT1)/IN2
Parameter Description
MOD_ULONG
Brief Description
225
Graphical Programming software SCControl
The function of this module is dividing of input values, its remainder will be
assigned to OUT1 while quotient will be assigned to OUT2.
Representation
Symbol
Formula
OUT2 = (IN1-OUT1)/IN2
Parameter Description
MOD_UINT
Brief Description
The function of this module is dividing of input values, its remainder will be
assigned to OUT1 while quotient will be assigned to OUT2.
226
Graphical Programming software SCControl
Representation
Symbol
Formula
OUT2 = (IN1-OUT1)/IN2
Parameter Description
BYTE_TO_WORD
Brief Description
The function converts an input value from data type BYTE into a data type
of the WORD.
Representation
Symbol
227
Graphical Programming software SCControl
Formula
OUT = (WORD) IN
Parameter Description
IN BYTE Input
DENORM
Brief Description
The function of this module is taking the input of integer type and converting
to output of SFLOAT type.
Representation
Symbol
Parameter Description
IN INT Input
DWORD_TO_LONG
Brief Description
228
Graphical Programming software SCControl
The function of this module is taking the input of DWORD type and
converting to output of LONG type.
Representation
Symbol
IN DWORD Input
DWORD_TO_ULONG
Brief Description
The function of this module is taking the input of DWORD type and
converting to output of ULONG type.
Symbol
229
Graphical Programming software SCControl
IN DWORD Input
FLOAT_TO_INT
Brief Description
The function of this module is taking the input of FLOAT type and
converting to output of INT type.
Representation
Symbol
Parameter Description
IN FLOAT Input
FLOAT_TO_LONG
Brief Description
The function of this module is taking the input of FLOAT type and
converting to output of LONG type.
Representation
230
Graphical Programming software SCControl
Symbol
IN FLOAT Input
FLOAT_TO_SFLOAT
Brief Description
The function of this module is taking the input of FLOAT type and
converting to output of SFLOAT type.
Representation
Symbol
Parameter Description
IN FLOAT Input
INT_TO_FLOAT
231
Graphical Programming software SCControl
Brief Description
The function of this module is taking the input of INT type and converting to
output of FLOAT type.
Representation
Symbol
Parameter Description
IN INT Input
INT_TO_LONG
Brief Description
The function of this module is taking the input of INT type and converting to
output of LONG type.
Representation
Symbol
232
Graphical Programming software SCControl
Parameter Description
IN INT Input
INT_TO_SFLOAT
Brief Description
The function of this module is taking the input of INT type and converting to
output of SFLOAT type.
Representation
Symbol
Parameter Description
IN INT Input
INT_TO_WORD
Brief Description
The function of this module is taking the input of INT type and converting to
output of WORD type.
233
Graphical Programming software SCControl
Representation
Symbol
Parameter Description
IN INT Input
ULONG_TO_DWORD
Brief Description
The function of this module is taking the input of ULONG type and
converting to output of DWORD type.
Representation
Symbol
Parameter Description
234
Graphical Programming software SCControl
IN ULONG Input
ULONG_TO_LONG
Brief Description
The function of this module is taking the input of ULONG type and
converting to output of LONG type.
Representation
Symbol
Parameter Description
IN ULONG Input
ULONG_TO_UINT
Brief Description
The function of this module is taking the input of ULONG type and
converting to output of UINT type.
Representation
235
Graphical Programming software SCControl
Symbol
Parameter Description
IN ULONG Input
WORD_TO_INT
Brief Description
The function of this module is taking the input of WORD type and
converting to output of INT type.
Representation
Symbol
Parameter Description
IN WORD Input
236
Graphical Programming software SCControl
WORD_TO_UINT
Brief Description
The function of this module is taking the input of WORD type and
converting to output of UINT type.
Representation
Symbol
Parameter Description
IN WORD Input
WORD_TO_BYTE
Brief Description
The function converts an input value from data type WORD into a data type
of the BYTE. The least significant bits of the input value are transferred to
the output.
Representation
Symbol
237
Graphical Programming software SCControl
OUT = (BYTE) IN
Parameter Description
IN WORD Input
Limit module
Selection module
Maximum module
Minimum module
1) Multi selection
MUX_BOOL
Brief Description
The function of this module is when K=0 take input IN1 and assign to output,
when K=1 take input IN2 and assign to output. When K=n-1 take input INn
and assign to output.
238
Graphical Programming software SCControl
Representation
Symbol
Parameter Description
MUX_DWORD
Brief Description
The function of this module is when K=0 take input IN1 and assign to output,
when K=1 take input IN2 and assign to output. When K=n-1 take input INn
and assign to output.
Representation
Symbol
239
Graphical Programming software SCControl
Parameter Description
MUX_FLOAT
Brief Description
The function of this module is when K=0 take input IN1 and assign to output,
when K=1 take input IN2 and assign to output. When K=n-1 take input INn
and assign to output.
Representation
Symbol
Parameter Description
240
Graphical Programming software SCControl
MUX_INT
Brief Description
The function of this module is when K=0 take input IN1 and assign to output,
when K=1 take input IN2 and assign to output. When K=n-1 take input INn
and assign to output.
Representation
Symbol
Parameter Description
MUX_LONG
Brief Description
The function of this module is when K=0 take input IN1 and assign to output,
241
Graphical Programming software SCControl
when K=1 take input IN2 and assign to output. When K=n-1 take input INn
and assign to output.
Representation
Symbol
Parameter Description
MUX_SFLOAT
Brief Description
The function of this module is when K=0 take input IN1 and assign to output,
when K=1 take input IN2 and assign to output. When K=n-1 take input INn
and assign to output.
Representation
242
Graphical Programming software SCControl
Symbol
Parameter Description
MUX_ULONG
Brief Description
The function of this module is when K=0 take input IN1 and assign to output,
when K=1 take input IN2 and assign to output. When K=n-1 take input INn
and assign to output.
Representation
Symbol
Parameter Description
243
Graphical Programming software SCControl
MUX_UINT
Brief Description
The function of this module is when K=0 take input IN1 and assign to output,
when K=1 take input IN2 and assign to output. When K=n-1 take input INn
and assign to output.
Representation
Symbol
Parameter Description
244
Graphical Programming software SCControl
MUX_WORD
Brief Description
The function of this module is when K=0 take input IN1 and assign to output,
when K=1 take input IN2 and assign to output. When K=n-1 take input INn
and assign to output.
Representation
Symbol
Parameter Description
2) Limit
LIM_FLOAT
Brief Description
The function of this module is limiting value, when input is greater than
245
Graphical Programming software SCControl
upper limit output upper limit, when input is less than lower limit output
lower limit, otherwise output input.
Representation
Symbol
Formula
Parameter Description
IN FLOAT Input
LIM_INT
Brief Description
The function of this module is limiting value, when input is greater than
upper limit output upper limit, when input is less than lower limit output
lower limit, otherwise output input.
246
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
LIM_LONG
Brief Description
The function of this module is limiting value, when input is greater than
upper limit output upper limit, when input is less than lower limit output
lower limit, otherwise output input.
Representation
Symbol
247
Graphical Programming software SCControl
Formula
Parameter Description
LIM_SFLOAT
Brief Description
The function of this module is limiting value, when input is greater than
upper limit output upper limit, when input is less than lower limit output
lower limit, otherwise output input.
Representation
Symbol
Formula
248
Graphical Programming software SCControl
Parameter Description
LIM_UINT
Brief Description
The function of this module is limiting value, when input is greater than
upper limit output upper limit, when input is less than lower limit output
lower limit, otherwise output input.
Representation
Symbol
Formula
249
Graphical Programming software SCControl
Parameter Description
LIM_ULONG
Brief Description
The function of this module is limiting value, when input is greater than
upper limit output upper limit, when input is less than lower limit output
lower limit, otherwise output input.
Representation
Symbol
Formula
Parameter Description
250
Graphical Programming software SCControl
3) Selection module
SEL_BOOL
Brief Description
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out.
Representation
Symbol
Formula
Parameter Description
251
Graphical Programming software SCControl
SEL_DWORD
Brief Description
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out.
Representation
Symbol
Formula
Parameter Description
SEL_FLOAT
Brief Description
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out.
Representation
252
Graphical Programming software SCControl
Symbol
Formula
Parameter Description
SEL_INT
Brief Description
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out.
Representation
Symbol
Formula
253
Graphical Programming software SCControl
Parameter Description
SEL_LONG
Brief Description
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out.
Representation
Symbol
Formula
Parameter Description
254
Graphical Programming software SCControl
SEL_SFLOAT
Brief Description
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out.
Representation
Symbol
Formula
Parameter Description
SEL_UINT
Brief Description
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out.
255
Graphical Programming software SCControl
Representation
Symbol
Formula
Parameter Description
SEL_ULONG
Brief Description
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out.
Representation
Symbol
256
Graphical Programming software SCControl
Formula
Parameter Description
SEL_WORD
Brief Description
The function of this module is when SW=OFF take input IN1 and assign to
out, when SW=ON take input IN2 and assign to out.
Representation
Symbol
Formula
Parameter Description
257
Graphical Programming software SCControl
4) Maximum
MAX_FLOAT
Brief Description
The function of this module is taking the maximum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
Symbol
Parameter Description
258
Graphical Programming software SCControl
MAX_INT
Brief Description
The function of this module is taking the maximum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
Symbol
MAX_LONG
Brief Description
The function of this module is taking the maximum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
259
Graphical Programming software SCControl
Symbol
Parameter Description
th
INn LONG The N input
MAX_UINT
Brief Description
The function of this module is taking the maximum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
Symbol
260
Graphical Programming software SCControl
MAX_SFLOAT
Brief Description
The function of this module is taking the maximum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
Symbol
MAX_ULONG
Brief Description
The function of this module is taking the maximum of inputs and assigning
to output, the number of inputs isn't limited.
261
Graphical Programming software SCControl
Representation
Symbol
Parameter Description
5) Minimum
MIN_FLOAT
Brief Description
The function of this module is taking the minimum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
Symbol
262
Graphical Programming software SCControl
MIN_INT
Brief Description
The function of this module is taking the minimum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
Symbol
263
Graphical Programming software SCControl
MIN_LONG
Brief Description
The function of this module is taking the minimum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
Symbol
Parameter Description
MIN_SFLOAT
Brief Description
The function of this module is taking the minimum of inputs and assigning
to output, the number of inputs isn't limited.
264
Graphical Programming software SCControl
Representation
Symbol
Parameter Description
MIN_UINT
Brief Description
The function of this module is taking the minimum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
Symbol
265
Graphical Programming software SCControl
Parameter Description
MIN_ULONG
Brief Description
The function of this module is taking the minimum of inputs and assigning
to output, the number of inputs isn't limited.
Representation
Symbol
266
Graphical Programming software SCControl
1. Control module
BSC
Brief Description
Representation
Symbol
Arithmetic
This module is PID single loop control module, flow chart as follows:
267
Graphical Programming software SCControl
Parameter Description
268
Graphical Programming software SCControl
Modification description
Note:
BSCX module must be note that the setting parameter can't be collide with
correlation parameter of AdvanTrol, otherwise can result in correlation
parameter inefficacy in AdvanTrol menu.
269
Graphical Programming software SCControl
CSC
Brief Description
This module used to set double loop in the user-defined loop, make up an
in series control ring loop. The tag corresponding user-defined loop group
in AdvanTrol menu, then can be set parameter in AdvanTrol menu. CSC
module extended the CSCX module; more and more parameters in BSCX
module are open to users.
Representation
Symbol
Arithmetic
270
Graphical Programming software SCControl
271
Graphical Programming software SCControl
Parameter Description
272
Graphical Programming software SCControl
Note
CSC module must be note that the setting parameter can't be collide with
correlation parameter of AdvanTrol, otherwise can result in correlation
parameter inefficacy in AdvanTrol menu.
DGAP2
Brief Description
The function of this module is two positions gap controller, it will use in two
statuses control, the function of output equals to switch.
Representation
Symbol
273
Graphical Programming software SCControl
Arithmetic
Parameter Description
ER SFLOAT Bias
274
Graphical Programming software SCControl
DGPA3
Brief Description
The function of this module is two positions gap controller, it will use in
three statuses control. The function is provided with dead area and switch.
Representation
Symbol
Arithmetic
For output P:
When ER between GAP/2-HY and GAP/2, output P retain the last output
value.
For output N:
When ER between -GAP/2 and -GAP/2+HY, output N retain the last output
value.
275
Graphical Programming software SCControl
When ER digression:
Show as follows:
Parameter Description
ER SFLOAT Bias
276
Graphical Programming software SCControl
EPID
Brief Description
This module inputs an error signal, gained a control output value based on
this error signal.
Representation
Symbol
Arithmetic
Parameter description
277
Graphical Programming software SCControl
FLASH
Brief Description
Generate output signal of one pulse. When input IN1=OFF, then output
OUT=OFF;
When input IN1=ON and IN2=OFF, then the output tracks the status of IN1,
that is OUT=ON;
When input IN1=IN2=ON, then the output alternates between 1 and 0. The
alternative period is the scanning period.
Representation
Symbol
Arithmetic
278
Graphical Programming software SCControl
Parameter Description
INTEG
Brief Description
Output is the integral of input and go through limit transact with input. When
the output has exceeded the set high-low limit, it would be limited and
corresponding alarm sign would be set.
Representation
Symbol
Arithmetic
When SET=OFF, the value of output Y is the integral value of input X. The
unit for sampling time is 0.1 ms. Transfer function and discrete calculation
equals to Integration (no limit) module.
279
Graphical Programming software SCControl
Parameter Description
X SFLOAT Input
Y SFLOAT Output
INTEG1
Brief Description
When the output is the integral of input, which hasn't made any limit
transaction to input but only has exceeded the limit value, the alarm sign is
set up.
Representation
Symbol
280
Graphical Programming software SCControl
Arithmetic
When SET=OFF, the output Y is the integral of output, lag time unit is 0.1s.
Transfer function:
Y ( S ) GAIN
G(S ) = =
X (S ) S
S × Y ( S ) = GAIN × X ( S )
Taking integral calculation based on the input average value, then the
above formula changes to be:
X (n) + X (n − 1)
Y (n) = Y (n − 1) + GAIN × dt ×
2
Both of the above mentioned situations would have a limit judgment to the
input value. When the output Y>=MAX, YMAX=ON, otherwise the YMAX
=OFF; when the output Y<=MIN, MIND=ON, otherwise the YMIN=OFF.
Parameter Description
X SFLOAT Input
281
Graphical Programming software SCControl
Y SFLOAT Output
LEPID
Brief Description
This module has offered locked and increased and decreased the function,
resisted the saturation function of the total mark, outputted the following
function, outputting the amplitude limiting function, its introduction, for the
deviations of the establishing value and measurement value.
Representation
Symbol
Arithmetic
1 Kd ∗ Td ∗ S
Y (S ) = ( K p + + ) E ( s ) + FF ( s )
Ti ∗ S Td ∗ S + 1
This module adopts the increment type algorithm, the formula after melting
282
Graphical Programming software SCControl
dispersedly is:
Ts Td Kd ∗ Td
Y ( n ) = K p ∗ e( n ) + ∗ e(n) + Y (n − 1) + ∗ Y ( n − 1) + ∗ [e(n) − e(n − 1)] + FF (n)
Ti Td + Ts Td + Ts
∆Y p = Y p (n) − Y p (n − 1) = K p ∗ ∆e
Ts
∆YI = YI (n) − YI (n − 1) = ∗ ∆e
Ti
∆YD = YD (n) − YD (n − 1)
∆Y = ∆Y p + ∆YI + ∆YD
Td Kd ∗ Td
YD ( n ) = YD (n − 1) + ∗ ∆e
Td + Ts Td + Ts
∆e = e(n) − e(n − 1)
Parameter Description
283
Graphical Programming software SCControl
SwTV BOOL Export and follow the switch, when SwTV =ON, Y =TV.
PID outputs and crosses the upper limit sign, when Y>YH,
DH FLOAT
DH=ON.
PID outputs and crosses the lower limit sign, when Y<YL,
DL FLOAT
DL=ON.
LIMITOR
Brief Description
Monitor number variable input that is under eight and generate one boolean
output according to the status set by S9 and S10. When the input having
logic 1 status is less than, equal to or greater than the number that is
pointed by S9, it generates one corresponding output signal: if it is less than
284
Graphical Programming software SCControl
the number, then the output logic is 0; if S10 is not equal to 0 and the above
comparing result is equal, then output logic 1; if S10 equals 0 and the
above comparing result is equal or greater, then output logic 1.
Representation
Symbol
Arithmetic
Parameter Description
NBSWITCH
Brief Description
285
Graphical Programming software SCControl
Select one from two inputs IN1 and IN2 according to the logic (0 or 1) of
input IN3. There are two non-disturbance switching qualifying parameters
S4 and S5. When the logical status of input IN3 changes, make switch
transit smoothly according to the corresponding qualifying parameter.
When IN3 is OFF, its output OUT equals IN1 when reaching balance; when
IN3 is ON, its output OUT equals IN2 when reaching balance.
Representation
Symbol
Arithmetic
1, When IN3 changes from OFF to ON, i.e. OUT changes from IN1 to IN2,
remember the last time output value of flatness manage is LY, then have
the same thing as follows:
2, When changes IN3 from ON to OFF, i.e. OUT changes from IN2 to IN1,
remember the last time output value of flatness manage is LY, then have
the same thing as follows:
286
Graphical Programming software SCControl
LY=IN1, OUT=IN1.
Parameter Description
RAMP_GNT
Brief Description
Note: Output lower limit don't greater than upper limit, otherwise when
starting switch changes from OFF to ON, Y=IV, other conditions this module
can't do any manage return immediacy.
Representation
Symbol
Arithmetic
287
Graphical Programming software SCControl
Initialization and produce ramp signal output, both limited with output, if
output great than upper limit, Y=H, if output less than lower limit Y=L.
Parameter Description
IV SFLOAT Initialization
Y SFLOAT Output
THOSEL
Brief Description
Select output mode and output quality according to work mode parameter
MD and input quality flagIN1 and flagIN2 of two inputs.
288
Graphical Programming software SCControl
Representation
Symbol
Arithmetic
1. If three inputs are all bad points, then output remains and quality alarm
Qo is logic 1;
2. If two points are bad points and the other is a good point, then select the
good point as output;
3. If only one point is bad, then according to other two good points select
output. If the warp of two good points can't exceeds DB, then output the
average of two good points, otherwise then output remains last period
valuable and quality alarm QO is logic 1.
4. If three points are both good points, then select according to whether the
289
Graphical Programming software SCControl
i. If the three both warp can't exceeds DB, then the output according to
MD selection.
ii. If only one warp exceeds DB, then output the mid of three input value.
iii. If two both warps exceeds DB, then output the other one.
iv. If the three both warps exceeds DB, then output remains last period
valuable and quality alarm QO is logic 1.
Quality output:
4. If has one bad point with IN1, IN2, IN3 ,then output quality QQ is logic 1;
otherwise output quality Q1 is logic 0.
Parameter Description
290
Graphical Programming software SCControl
Application:
THERRPOSITION
Brief Description
Three position switch control module action ON and OFF by two contact
output , the controller have three mode open and close contact output pass
by comparing with PV and SV.
Representation
Symbol
291
Graphical Programming software SCControl
Arithmetic
When the sign select switch SEL= ON, that is positive control, according to
the position of warp between PV and SV, execute different output.
When then sign switch SEL=OFF, that is reverse control, according to the
position of warp between input value and setting value, then executable
different output.
292
Graphical Programming software SCControl
Parameter Description
293
Graphical Programming software SCControl
DB SFLOAT Mid-rang
TWOPOSITION
Brief Description
Compared with PV and SV, selects the switch peculiarity of contact output
according to directional .This module executes ON/OFF control action by
contact output signal.
Representation
Symbol
Arithmetic
When positive and negative selection switch SEL = OFF, that is negative
control, if the difference exceeded HYS value of positive switch between
PV and SV, output CPV = OFF; if the difference less then HYS value of
negative switch between PV and SV, output CPV = ON.
294
Graphical Programming software SCControl
Parameter Description
TWOSEL
Brief Description
Select output mode and output quality according to work mode parameter
MD and input quality flagIN1 and flagIN2 of two inputs.
Representation
295
Graphical Programming software SCControl
Symbol
Arithmetic
1. If two inputs are both bad points, then output remains and quality
alarm Qo is logic 1;
2. If one point is a bad point and the other is a good point, then select
the good point as output;
3. If two points are both good points, then select according to whether
the deviation between two inputs exceeds the setting value DB:
i.If the deviation exceeds the limit, then output remains and quality
alarm Qo is logic 1;
ii.If the deviation does not exceed the limit, then output work mode
value and quality alarm Qo is logic 0;
Quality output:
296
Graphical Programming software SCControl
1. If input points (IN1 and IN2) are bad points, then the corresponding
output quality (Q1 and Q2) is logic 1;
2. If two inputs are bad points, then quality total output QQ is logic 1.
Parameter Description
GETBIT
Brief Description
The function of this module is getting appoint tab from DWORD value of
input, if equals 1, output ON; if equals 0, output OFF.
Representation
Symbol
297
Graphical Programming software SCControl
Formula:
Shift appointed SERIAL tabs through 1 and make an operation AND with
input X to get the information of appoint tab.
Parameter Description
X DWORD Input
Q BOOL Output
Description
2) More and more SERIAL variable is INT type in program, the pin is UINT
type in SCControl module.
GETFLOAT
Brief Description
The function of this module is getting FLOAT type value from DWORD
value of input.
Representation
Symbol
298
Graphical Programming software SCControl
Parameter description
X DWORD Input
Y FLOAT Output
GETINT
Brief Description
The function of this module is getting INTGER type value (16 bit) from
DWORD value (32 bit) of input. When SERIAL=0, take low 16 bit; when
SERIAL=1, take high 16 bit.
Representation
Symbol
Arithmetic
When SERIAL= 0, put input variable and 0XFFFF according to bit to and
return to INT type;
When SERIAL= 1, return INT type after shift input variable right for 16 bits.
Parameter description
299
Graphical Programming software SCControl
GETMSG
Brief Description
The function of this module is getting information passed from other control
stations. Every control stations have a received buffer:
DWORD msg[4096]
That used to leave in share information that other control stations send care
from network, every control stations has 512 bit information.
Representation
Symbol
Arithmetic
This module according to input control stations serial NO. and information
NO., read the one control stations information you want from received
buffer directly.
Parameter description
300
Graphical Programming software SCControl
GETSFLOAT
Brief Description
The function of this module is getting SFLOAT value (16 bit) from 32 bit
DWORD input value. When SERIAL=0, take low 16 bit; when SERIAL=1,
take high 16 bit.
Representation
Symbol
Arithmetic
When SERIAL= 0, put input variable and 0XFFFF according to bit to and,
return to SFLOAT type;
When SERIAL= 1, return SFLOAT type after shift input variable right for 16
bits.
Parameter description
GETUINT
Brief Description
The function of this module is getting UINT value (16 bit) from 32 bit
DWORD input value. When SERIAL=0, take low 16 bit; when SERIAL=1,
301
Graphical Programming software SCControl
Representation
Symbol
Arithmetic
When SERIAL= 0, put input variable and 0XFFFF according to bit to and,
return to INT type;
When SERIAL= 1, return INT type after shift input variable right for 16 bits.
Parameter description
GETWORD
Brief Description
The function of this module is getting WORD value (16 bit) from 32 bit
DWORD input value. When SERIAL=0, take low 16 bit; when SERIAL=1,
take high 16 bit.
Representation
Symbol
302
Graphical Programming software SCControl
Arithmetic
When SERIAL= 0, put input variable and 0XFFFF according to bit to and,
return to INT type;
When SERIAL= 1, return INT type after shift input variable right for 16 bits.
Parameter Description
X DWORD Input
Y WORD Output
SENDMSG
Brief Description
The function of this module is informing No. of information sent out, every
message occupies 4 bytes. Number of messages are defined by SIZE, the
contents of information are placed in g_msg[].
Representation
Symbol
Arithmetic
303
Graphical Programming software SCControl
Parameter Description
SETBIT
Brief Description
The function of this module is that set digital value at assigning place of X
variable input, rest unchanged and then output it.
Representation
Symbol
Arithmetic
Parameter Description
304
Graphical Programming software SCControl
SETFLOAT
Brief Description
The function of this module is that input FLOAT type data and output
DWORD type data.
Representation
Symbol
Parameter Description
SETINT
Brief Description
The function of this module is setting input variable IN of INT type (16 bit)
from DWORD value (32 bit) of input, others are not changes and assign to
output. When SERIAL=0, setting IN of low 16 bit with input; when
SERIAL=1, setting IN of high 16 bit with input.
305
Graphical Programming software SCControl
Representation
Symbol
Arithmetic
The function converts an input value from data type INT into an UINT data
type forcibly.
When SERIAL= 0, first take low 16 bits to zero, then and with input IN;
When SERIAL=1, first take high 16 bits to zero, then and with after shift left
16 bits;
Parameter Description
SETSFLOAT
Brief Description
The function of this module is setting input variable SF of SFLOAT type (16
bit) from DWORD value (32 bit) of input, others are not changed and assign
to output. when SERIAL=0, setting SF of low 16 bit with input; when
SERIAL=1, setting SF of high 16 bit with input.
306
Graphical Programming software SCControl
Representation
Symbol
Arithmetic
When SERIAL=0, first take low 16 bits to zero, then and with input SF;
When SERIAL=1, first take high 16 bits to zero, then and with after shift left
16 bits;
Parameter Description
SETUINT
Brief Description
The function of this module is setting input variable of INT type (16 bit) from
DWORD value (32 bit) of input and others are the same. When SERIAL=0,
setting the UINT type IN of low 16 bit with input ; when SERIAL=1, setting
the UINT type IN of high 16 bit with input.
Representation
307
Graphical Programming software SCControl
Symbol
Arithmetic
The function converts an input value from data type INT into an UINT data
type forcibly.
When SERIAL= 0, first take low 16 bits to zero, then do OR operation with
input IN;
When SERIAL=1, first take high 16 bits to zero, then and do OR operation
with after shift left 16 bits;
Parameter Description
SETWORD
Brief Description
The function of this module is setting input variable of WORD type (16 bit)
from DWORD value (32 bit ) of input and others are the same. when
SERIAL=0, setting the WORD type IN of low 16 bit with input ; when
SERIAL=1, setting the WORD type IN of high 16 bit with input.
308
Graphical Programming software SCControl
Representation
Symbol
Arithmetic
The function converts an input value from data type INT into an UINT data
type forcibly.
When SERIAL= 0, first take low 16 bits to zero, then do OR operation with
input IN;
When SERIAL=1, first take high 16 bits to zero, then and do OR operation
with after shift left 16 bits;
Parameter Description
3. Accumulate Function
ACCUM_TO_AISUM
Brief Description
309
Graphical Programming software SCControl
Simulation and accumulation data type explain see cumulate data type
explain of help text.
Representation
Symbol
For example
Y.SUM0=7.123291, Y.SUM1=8388607.
Parameter Description
X structAccum Input
Y structAI Output
ACCUM_TO_INTS
Brief Description
Representation
Symbol
310
Graphical Programming software SCControl
Parameter describing
Implementation method
ACCUM_TO_SUM0
Brief Description
Representation
Symbol
Parameter Description
311
Graphical Programming software SCControl
Implementation method
Input accumulating value of the integral part changes to LONG type, the
last four bit (binary system) express -7~+7(the integral part of SFLOAT),
input the fractional part of accumulating value is the fractional part of
SFLOAT immediacy.
Note
ACCUM_TO_SUM1
Brief Description
Representation
Symbol
Parameters Description
Implementation method
Taking out the fractional part of input accumulating value, the integral part
converse LONG type and then shift right four bit managed, the request
SUM1 equals to the gained number.
312
Graphical Programming software SCControl
Note
ADD_ACCUM
Brief Description
The function of this module is adding accumulation values and then output
it.
Representation
Symbol
Formula
Y = X1 + X2
Parameter Description
Y structAccum Output
Implementation method
Add the fixed-point part and integer part of input accumulations with
313
Graphical Programming software SCControl
integrals, fixed-point part should consider carrying, then convert data to the
format of accumulate.
ADD_ACCUM_RANGE
Brief Description
The function of this module is adding accumulate values, then the output
sum is the biggish of input quantity rang, must be note that the sum of
accumulate values can't exceeds rang.
Representation
Symbol
Arithmetic
For example
The sum of input accumulate values that corresponding quantity rang is:
X1= 117982.981934, R1= 133, X2 = 456.122803,R2 = 2, the accumulate
sum of output is :SUM = 148315.148193.
Parameter Description
314
Graphical Programming software SCControl
AISUM_TO_ACCUM
Brief Description
Representation
Symbol
For example
Parameter Description
BSET
315
Graphical Programming software SCControl
Brief Description
Representation
Symbol
SV = BSET (ACCUM,ASET,AUP,TUP,ADOWN,TDOWN,MH,ML)
Explanation
In fixed quantity control about valve position setting curve it will be thus,
when start accumulating, require valve position at low limit ML, until
accumulating quantity attains AUP, valve position will open according
certain rate to high limit MH. When accumulating quantity attains ADOWN,
valve position will close according certain rate to low limit ML again. At last
accumulating quantity attains setting value, then valve will be fully shut.
This module will give out setting value of valve position according current
field accumulating quantity ACCUM.
316
Graphical Programming software SCControl
Parameter Description
COMP_ACCUM
Brief Description
Representation
Symbol
317
Graphical Programming software SCControl
Formula
Y = 1 when X1 > X2
Y = 0 when X1 = X2
Y =-1 when X1 < X2
Parameter Description
Y INT output
Implementation method
First compare with integral part of cumulating values, if they are equal, then
compare the decimal fraction part and output the result.
CONVERT_ACCUM
Brief Description
Representation
Symbol
Parameter Description
318
Graphical Programming software SCControl
IN StructAccum Input
Implementation method
Gets decimal fraction and integral part converts FLOAT then adding each
other.
CONVERT_TO_ACCUM
Brief Description
Representation
Symbol
Parameter Description
IN FLOAT Input
Implementation method
First gets integral part 16 high bit and 16 low bit (binary system) of FLOAT
type with input value that storage accum2 and accum1 difference, then the
decimal fraction part multiply of 4096 changed to FLOAT type equals to the
319
Graphical Programming software SCControl
INTS_TO_ACCUM
Brief Description
The function of this module is to combine three two bytes variables into an
accumulating value, so as to realize the redundancy of the accumulating
value convenient.
Representation
Symbol
Parameter Description
y structAccum Output
Implementation method
Get three INT type input variable that by way of cumulate variable three
parts to compose a cumulate type variable.
SUB_ACCCUM
Brief Description
320
Graphical Programming software SCControl
Representation
Symbol
Formula
Y = X1 - X2
Parameter Description
Implementation method
First, subtracting integer part; second, subtracting decimal fraction part; and
then compose output Cumulative quantity.
SUB_ACCUM_RANGE
Brief Description
The function subtracts the value at input from two different rang of
SCControl cumulative quantity, output is the biggest of input rang.
321
Graphical Programming software SCControl
Representation
Symbol
Formula
For example
Parameter Description
SUM_TO_ACCUM
Brief Description
322
Graphical Programming software SCControl
value.
Representation
Symbol
Parameter Description
Implementation method:
Get the last 12 bits from input value SUM0 as the decimal fraction of
accumulating part, add SUM1 shifted left 4 bits and higher 4 bits of SUM0
as the integer part of accumulating value.
TOTAL_ACCUM
Brief Description
The function of this module is taking accumulating values and then output it.
When Y and accum are the same type data, Y increases by X.
Representation
323
Graphical Programming software SCControl
Symbol
Formula
Y =accum + X
Parameter Description
Y structAccum Output
Implementation method
Input accumulating value of the integral part changes to LONG type, the
part of decimal fraction add to increased value, then composed
accumulating value output.
Note
This module adds once per second, but must satisfy some condition as
follows:
2. The programming operate period must be 1Ts, that is each master block
operate period call this module one time.
4. Assistant calculation
BCD_TO_BIN
324
Graphical Programming software SCControl
Brief Description
This module converts four bits BCD code into sixteen bits binary digit
equals output.
Representation
Symbol
Arithmetic
If input BCD code is B3B2B1B0, every bit coverts four bits binary system
number, example A15A14A13A12...A3A2A1A0, then every binary digit is 1
or 0, the output is ON or OFF.
Parameter Description
BCD_TO_DEC
Brief Description
The function converts an input value from the data type BYTE into a data
325
Graphical Programming software SCControl
type of algorism output, input BCD code is BYTE type, the maximum is 99.
The rang of BCD code is [0,9], when input BCD one digit is exceeded 9,
output BCD alarm sign is 0X0F(15); when input BCD tens digit is exceeded
9, output BCD alarm sign is 0XF0(240); when input BCD one digit and tens
digit are all exceeded 9, output BCD alarm sign is 0XFF(255).
Representation
Symbol
DECOUT=BCD_TO_DEC (BCDIN)
Parameter Description
BCD_TO_DEC4
Brief Description
This module converts four bits BCD code into decimal system number.
Representation
Symbol
326
Graphical Programming software SCControl
Arithmetic
Parameter Description
BIN_TO_BCD
Brief Description
Representation
Symbol
327
Graphical Programming software SCControl
Arithmetic
Parameter Description
DEC_TO_BCD
Brief Description
This function converts an input value from the data type BYTE into a data
328
Graphical Programming software SCControl
type of the BCD code output, input algorism is BYTE type, the maximum is
255.
Representation
Symbol
Parameter Description
DEC_TO_BCD4
Brief Description
This module converts unsigned decimal system number into four bits BCD
code.
Note: The max value of four bits BCD code is 9999, so the decimal system
of input can't be exceeded 9999, otherwise the BCD code of output is 0,
and the alarm sign bit is ON.
Representation
Symbol
329
Graphical Programming software SCControl
Arithmetic
Parameter Description
DEC_TO_HEX
Brief Description
This module converts unsigned decimal system number into hex to output,
because of SCControl can't display letter, so the output divide into four pins
to display, each pin display one hex number.
Representation
Symbol
330
Graphical Programming software SCControl
Arithmetic
Pick-up four binary digit of four from input unsigned integer and assign to
the corresponding H0~H3 separately, that is H0~H3 express the four digital
codes of hex bits.
Parameter Description
DIMENSIONLESS
Brief Description
Note: High limit of input must be greater than low limit, otherwise output
always is zero.
Representation
Symbol
Arithmetic
X − LL
In this module, output Y=
HL − LL
331
Graphical Programming software SCControl
Parameter Description
ENGINEER
Brief Description
Note: High limit of input must be greater than low limit, otherwise output
always is zero. The precision of converts increases along with increase of
high-low limit.
Representation
Symbol
Arithmetic
332
Graphical Programming software SCControl
Parameter Description
FKDIVF
Brief Description
The function of this module is zooming out a semi float numeral with
integers.
Representation
Symbol
Parameter Description
Y SFLOAT Output
Implementation method:
If divisor is 0, then output 7.999756 or -8.0; the two numbers convert LONG
type to division, if quotient exceed SFLOAT type rang then expression with
boundary value (if quotient > 7.999756, then show 7.999756, if quotient <
333
Graphical Programming software SCControl
FKMULF
Brief Description
The function of this module is zooming in semi float numeral with integers.
Representation
Symbol
Parameter Description
Y SFLOAT Output
Implementation method:
FKMULK
Brief Description
334
Graphical Programming software SCControl
Representation
Symbol
Parameter Description
Y INT Output
Implementation method:
Converts two input value into LONG type then to multiply, product shift right
11bits, if the last bit doesn't 0 then add 1 (round), shift right one bit also.
The multiply is LONG type variable, if it exceed the rang of INT type
expression then get boundary value (if multiply >32767 then show 32767; if
multiply <-32768 then show -32768). The multiply converts INT type into
output.
HEX_TO_DEC
Brief Description
This module converts four bits hex into decimal system number to output.
Representation
Symbol
335
Graphical Programming software SCControl
Arithmetic
Compose four bits hex number with input, than assign to output.
Parameter Description
KFDIVK
Brief Description
The function of this module is make a integer numeral dividing with a semi
float numeral and then output it's round value.
Y = K/ SF.
Representation
Symbol
Parameter description
K INT Dividend
SF SFLOAT Divisor
336
Graphical Programming software SCControl
Y INT Output
Implementation method:
KKDIVF
Brief Description
Representation
Symbol
Parameter description
K1 INT Dividend
K2 INT Divisor
Y SFLOAT Output
Implementation method:
337
Graphical Programming software SCControl
V_T_MEASURE
Brief Description
When voltage temperature measure sign FLAG=ON, this output all kinds of
voltage and environmental temperature of controller.
Representation
Symbol
Parameter Description
338
Graphical Programming software SCControl
5. Input manage
ACCELERATE_MV
Brief Description
This module use the method of average move value then can receive
average acceleration in appointed time Ts.
Representation
Symbol
Arithmetic
V [m + 1] + V [m + 2] + L + V [n]
MV [n] =
n−m
339
Graphical Programming software SCControl
V [m] + V [m + 1] + L + V [n − 1]
MV [n − 1] =
n−m
V [ n] − V [ m]
MV [n] = MV [n − 1] +
n−m
V [n] − MV [m]
MV [n] = MV [n − 1] +
n−m
After predigest:
(n − m) * MV [n − 1] + V [n]
MV [n] =
n − m +1
Adjust:
V [ n] − V [ m]
A=
( n − m) * T 0 ,
After predigest:
MV [n] − MV [n − 1]
A=
T0
Parameter Description
340
Graphical Programming software SCControl
AIALM
Brief Description
This module is analyzing quality code of analog input and analyzing quality
code of alarm output.
Representation
Symbol
Arithmetic
Alarm deal with input PV in master block, High-high warning limit = 0X05,
High warning limit = 0X01, Low warning limit = 0X02, Low-low warning limit
= 0X06, shadiness and error signal is equals to 0X0100 and 0X0800, this
module is analyzing this alarm information, compared with quality code and
this numerical value, output analyzing result.
Parameter Description
341
Graphical Programming software SCControl
ALM_LEAK
Brief Description
The function of this module is that judges wrap between the input values of
accumulate currently and that of last period whether exceeded LK. When
wrap up LK, LEAK = ON; when wrap below (LK-HYS), LEAK = OFF. The
main usage is the measure of boiler's flow and the progress of qualities'
measurement.
Representation
Symbol
Parameter Description
342
Graphical Programming software SCControl
AVE_C
Brief Description
This module used to gains the input data's average value in a period, which
is input once of every scan period, if don't reach the ordered time, then
output the output value of completed in the last given period.
Representation
Symbol
Arithmetic
When set switch SET = ON, output CPY = YSET, set inner accumulate and
count variable zero.
SPV
When set switch SET=OFF, output, CPV = Gain × where SPV is
NUM
the accumulation of input variables in NUM scan periods.
Parameter Description
343
Graphical Programming software SCControl
COMPENSATE
Brief Description
Representation
Symbol
Arithmetic
Based on actual temperature and actual pressure value of steam, check list
received actual specific volume, adopt formula underside:
Parameter Description
FLOW0 SFLOAT The press signal with flow meter measurement, Numerical value bound: 0~100%
Y SFLOAT Flow rate after compensation, is dimensionless numbers, Numerical value bound:
344
Graphical Programming software SCControl
0~100%
DEADBND
Brief Description
This module is setting a dead zone [-DB, +DB], deal with dead zone of
input.
Representation
Symbol
Arithmetic
Parameter Description
IN SFLOAT Input
345
Graphical Programming software SCControl
DED
Brief Description
Representation
Symbol
Arithmetic
− s*t
Transfer function: G ( s ) = Y ( s ) / X ( s ) = e
Parameter Description
X SFLOAT Input
Y SFLOAT Output
346
Graphical Programming software SCControl
EXHSTEAM
Brief Description
Representation
Symbol
Arithmetic
1
enthalpy and specific volume, that densities ρ= adopt formula
µ
underside:
This function is put up temperature and pressure compensation with too hot
steam, input flow0 is dimensionless numbers measurement flow, output
flow is flow rate dimensionless numbers after compensation, have no use
for other management.
Parameter Description
347
Graphical Programming software SCControl
FXY
Brief Description
Users can custom two dimensions broken line table, the input range is
divided into ten sections and a linear input to output relationship is set up
for each of the ten sections, that including eleven point.
Note: This only treatment for two dimensions broken line table.
Representation
Symbol
Arithmetic
First ,the program judges the N whether exceeded, if between 0 and 63,
that the value of input X in the part of ten sections, then inserts linearity
value, the material arithmetic as follows:
X − X [i ]
Y = Y [i ] + (Y [i + 1] − Y [i ]) ×
X [i + 1] − X [i ]
If input X < X [0], output Y = Y[0]; if input X > X[10], output Y=Y[10].
348
Graphical Programming software SCControl
Parameter Description
X SFLOAT Input
Y SFLOAT Output
GET_FXY_X
Brief Description
Users can custom two dimensions broken line table, the input range is
divided into ten sections and a linear input to output relationship is set up
for each of the ten sections, that including eleven point. Users can read the
X order NUM value of N table's order, which is in sixty-four table's orders.
Representation
Symbol
Arithmetic
Parameter Description
349
Graphical Programming software SCControl
GET_FXY_Y
Brief Description
Users can custom two dimensions broken line table, the input range is
divided into ten sections and a linear input to output relationship is set up
for each of the ten sections, that including eleven point. Users can read the
X order NUM value of N table's order, which is in sixty-four table's orders.
Representation
Symbol
Arithmetic
Parameter Description
Y SLFOAT Output
GETPATFLAG
Brief Description
Representation
350
Graphical Programming software SCControl
Symbol
Arithmetic
Parameter Description
GETPATPV
Brief Description
Representation
Symbol
Arithmetic
Parameter Description
351
Graphical Programming software SCControl
GETPATSTATE
Brief Description
Representation
Symbol
Arithmetic
Parameter Description
352
Graphical Programming software SCControl
HAL
Brief Description
This module produces an input high- limited alarm sign in accordance with
the alarm limit and alarm dead.
Representation
Symbol
Arithmetic
When input X>ALM, output alarm switch Y=ON, it suggests that the input
has exceeded the set high limit at this time.
When input X<ALM-GAP, output alarm switch Y=OFF, it suggests that the
alarm has been dismissed; Note: this doesn't mean that the input which
declines below ALM has made Y=OFF, so as to dismiss the alarm, but do
mean that there's one dead area here.
When the input X is within the block of ALM-GAP and ALM, the output
alarm switch remains the status as it was last time.
353
Graphical Programming software SCControl
Parameter Description
X SFLOAT Input
LAG
Brief Description
The input signs would be dealt with 1st order lag and the unit for lag time
LAG is based on 0.1S, that is, when the LAG=1, it means that the lag time
is 0.1 second.
Note: the sum of input X (K) and X (K-1) should not exceed the maximum
SFLOA value 7.999756, otherwise there will be an overflow and cause a
mistake.
Representation
Symbol
354
Graphical Programming software SCControl
Arithmetic
When the set switch SET=OFF, the output Y is the 1st order lag output, lag
time unit is 0.1s.
GAIN
G ( s) =
1 + LAG × S
That is:
Y (S ) GAIN
=
X ( S ) 1 + LAG × S
After predigest:
Y ( S ) + LAG × S × Y ( S ) = GAIN × X ( S )
Y (k ) − Y (k − 1)
Y (k ) + LAG × = GAIN × X (k )
dt
Farther predigest:
GAIN × X (k ) − Y (k − 1)
Y (k ) = Y (k − 1) + × dt
dt + LAG
X (k ) + X (k − 1)
X (k) get in programming, put up average value
2
filter;
355
Graphical Programming software SCControl
X (k ) + X (k − 1)
GAIN × − Y (k − 1)
Y (k ) = Y (k − 1) + 2 × dt
dt + LAG
−t
Parameter description
Y SFLOAT Output
LAL
Brief Description
The function of this module is producing a low limit alarm according to sets
alarm limit and alarm dead area.
Representation
Symbol
356
Graphical Programming software SCControl
Arithmetic
When input X<ALM, then output alarm switch Y = ON, input already
exceeded lowest temporality.
When input X>ALM + GAP, then output alarm switch Y = OFF, it suggests
that the alarm has been dismissed; Note: this doesn't mean that the input
which declines above ALM has made Y=OFF, so as to dismiss the alarm,
but do mean that there's one dead area here.
When the input X is within the block of ALM + GAP and ALM, the output
alarm switch remains the status as it was last time.
Parameter Description
X SFLOAT Input
357
Graphical Programming software SCControl
LED
Brief Description
Producing an order derivative output for input, the uite of derivative time is
0.1s, input LED = 1, namely 0.1s.
Representation
Symbol
Arithmetic
Transfer function:
LED × S
G(S ) =
1 + LED × S
Namely:
Y (S ) LED × S
=
X ( S ) 1 + LED × S
After predigest:
Y ( S ) + LED × S × Y ( S ) = LED × S × X ( S )
358
Graphical Programming software SCControl
Y (k ) − Y (k − 1) X (k ) − X (k − 1)
Y (k ) + LED × = LED ×
dt dt
End:
Y (k − 1) + X (k ) − X (k − 1)
Y (k ) = × LED
LED + dt
−t
Transfer function time field expression: Y = e LED
Parameter description
X SFLOAT Input
Y SFLOAT Output
LEDLAG
Brief Description
The function of this module is producing a one order derivative/ lag output,
the units of derivative and lag time constant is 0.1s. When LAG>LED, is
one order lag output; when LAG=LED output value equals to input value.
Representation
359
Graphical Programming software SCControl
Symbol
Arithmetic
When SET = OFF, output Y is the value calculated for one order derivative.
1 + LED × S
G ( s ) = GAIN ×
1 + LAG × S
That is:
Y (S ) 1 + LED × S
= GAIN ×
X (S ) 1 + LAG × S
After predigest:
Y (k ) − Y (k − 1) X (k ) − X (k − 1)
Y (k ) + LAG × = GAIN × [ X (k ) + LED × ]
dt dt
The end formula is:
360
Graphical Programming software SCControl
−t
LAG − LED LAG
Y= e
LAG
Parameters Description
X SFLOAT Input
Y SFLOAT Output
LINECPS
Brief Description
Representation
Symbol
Formula
OUT=IN X Kp + DIS
361
Graphical Programming software SCControl
Parameter Description
MAV
Brief Description
Used to gained sample data average of input past, the units of sample time
space T is 0.1s, that is input 1 is 0.1s, the num between 0 to 8.
Representation
Symbol
Arithmetic
X r + X r −1 + ∧ + X r − m +1
CPV = GAIN *
m
CPV equals output Y, Xj equals sample value of every sample point with
input, m equals NUM of sample value.
362
Graphical Programming software SCControl
This arithmetic is dead against the sampling data of the newest time section,
principle drawing as follows:
This module cut nine amortize section of input data, used to leave in
sampling value care, so the num is between 0 and 8. When num >8 or
num = 0, the output return to input value, videlicet when SET = ON, NUM =
0, input X determine output Y.
Parameter Description
X SFLOAT Input
Y SFLOAT Output
OHSTEAM
Brief Description
This module must be notice the relation between SIGNALSEL and SIGNAL,
363
Graphical Programming software SCControl
Expression
Arithmetic
1
enthalpy and specific volume, that density is ρ= , If
µ
SIGNALSEL=ON, adopt formula underside:
Parameter Description
364
Graphical Programming software SCControl
P_CMT
Brief Description
This module is put up deal with PT compensation that gas low rate signal
already by square root.
Representation
Expression
Arithmetic
Actual press measurement value = Press tag range X Press heaps of times
value + Press tag of range lower limit
FLOW = FLOW 0 × C
Parameter Description
365
Graphical Programming software SCControl
PAT341H
Brief Description
The function of this module is setting die section of PAT block (FW341) and
inspect the alarm status.
Representation
Symbol
Parameter Description
Implementation method
When PATMA=ON, PAT341H changes die section to FF with the Nth PAT
channel; When PATMA=OFF, PAT341H changes die section to users
setting value .At the same time make sure the currently status a according
to status bit. When SUB=ON, that is on output moment of decrease pulse;
when ADD=ON, that is on output moment of increase pulse; When
PLIM=ON, that is on increase limit alarm; When NLIM=ON, that is on
366
Graphical Programming software SCControl
PAT342H
Brief Description
The function of this module is used in PAT block (FW342), which is detect
the alarm status and action status of control electrical.
Representation
Symbol
Parameter Description
367
Graphical Programming software SCControl
Implementation method
When PAT decrease sign output from 1 to 0, then get zero for especial
operate control byte;
When PAT increase sign output from 1 to 0, then get zero for especial
operate control byte;
When self-study sign output from 1 to 0, then get zero for especial operate
control byte.
PT_CMT
Brief Description
Representation
Symbol
Expression
368
Graphical Programming software SCControl
Arithmetic
FLOW = FLOW 0 × C
Parameter Description
RAMP
Brief Description
When input comes into being an order change, make the output has a
gradual change ramp peculiarity, it is the changes of output are relative
gently. Show as follows:
369
Graphical Programming software SCControl
Representation
Symbol
Arithmetic
When set switch SET=OFF and input PV unequal zero, output according to
the step value (UNIT) of time space (T) , then attain the effect of the gradual
change ,until equals to the input value of PV.
Parameter Description
370
Graphical Programming software SCControl
SATENTHA
Brief Description
Representation
Symbol
Expression
Y = SATENTHA (P)
Arithmetic
Parameter Description
Practice pressure,
P FLOAT
Units:Kpa,bound:0~15989.867777kpa
SATSTEAM
371
Graphical Programming software SCControl
Brief Description
This function adopt saturation steam with pore plate measure put up deal
with temperature and pressure compensation, input flow0 is dimensionless
numbers of measurement flow, output flow is dimensionless numbers of
flow after compensation, can't need other management.
Representation
Symbol
Arithmetic
Based on actual pressure, check list received enthalpy and specific volume,
1
that density ρ = , then adopt formula underside:
µ
Parameter Description
P FLOAT Pressure,Units:Kpa,Bound:0~15989.867777Kpa
SATSTEAM_DP
Brief Description
372
Graphical Programming software SCControl
Representation
Expression
Arithmetic
Based on actual press, check list received enthalpy and specific volume,
1
that density ρ = , adopt formula underside:
µ
Parameter Description
SATSTEAM_EX
Brief Description
373
Graphical Programming software SCControl
This module must be notice the relation between SIGNALSEL and SIGNAL,
when SIGNALSEL = OFF, SIGNAL is temperature_pressure signal.
Temporality, the value after compensation must be management by square
root then can receive dimensionless numbers of flow rate. When
SIGNALSEL = ON, SIGNAL is flow signal. At that time, the value after
compensation is actual flow rate value, have no use for other
management.
Representation
Expression
Arithmetic
Based on actual press and actual temperature, check list received enthalpy
1
and specific volume, that density is ρ = , If SIGNAL SEL=ON, adopt
µ
formula underside:
Parameter Description
Signal selection switch, when is OFF , deal with temperature pressure signal, when is ON,
SIGNALSEL BOOL
deal with flow rate signal
SIGNAL SFLOAT When SIGNALSEL = OFF is pressure signal, when SIGNALSEL = ON is flow signal, is
374
Graphical Programming software SCControl
FLOW SFLOAT The dimensionless numbers after steam compensation, Numerical value bound: 0~100%
SET_FXY_X
Brief Description
Users can custom two dimensions broken line table, the input range is
divided into ten sections and a linear input to output relationship is set up
for each of the ten sections, that including eleven point. Users can read the
X order NUM value of N table's order.
Note
The table line with SCControl and SCKey is syncretism already, that is the
system supply sixty-four table line, users can defined one dimension and
two dimensions in SCKey, also can defined two dimensions in SCControl,
they leave in a address area's care, so the table line is differently with
SCControl and SCKey.
Representation
Symbol
Arithmetic
Firstly, users should judge that if the order numbers of table line and X axis
points are overage or not, when table line NO. between 0 and 63, X order
NO. between 0 and 10, then read-in data in X order of table line.
Parameter description
375
Graphical Programming software SCControl
SET_FXY_Y
Brief Description
Users can custom two dimensions broken line table, the input range is
divided into ten sections and a linear input to output relationship is set up
for each of the ten sections, that including eleven point. Users can read the
Y order NUM value of N table's order.
Representation
Symbol
Arithmetic
Firstly, users should judge that if the order numbers of table line and X axis
points are overage or not, when table line NO. between 0 and 63, Y order
NO. between 0 and 10, then read-in data in Y order of table line.
Parameter Description
376
Graphical Programming software SCControl
SETPATCON
Brief Description
Representation
Symbol
Arithmetic
01: Trig
02: Startup
03: Automatism
04: Manual
06:Manual decrease
08: Remain
377
Graphical Programming software SCControl
The object operated is the thirteen bit of PAT block configuration data area
(PATBUF+PATLEN X n+PAT_WR+0 X D)
Parameter Description
STAT_FLOAT
Brief Description
This module can receive additive value, average value, max. and min. in T
time.
Note: When statistical mode SM beside the rang [0, 3], this module unable
do any manage then return.
Representation
Symbol
Arithmetic
When reset signal RS from OFF to ON, output CPV equals to initial value
IV.
378
Graphical Programming software SCControl
(1) If SM=0, the output select additive mode, output input data additive
value in time T, CPV (k) = CPV(k-1) + PV(k).
(2) If SM=1, the output select average mode, output input data average
value in time T, CPV=PV(1)+PV(2)+...+PV(k)/k.
(3) If SM=2, the output select max. mode, output input data max. value in
time T, CPV=MAX[PV(1), PV(2),...PV(k)].
(4) If SM=3, the output select min. mode, output input data min. value in
time T, CPV=MIN [PV(1), PV(2),...PV(k)].
Parameter Description
T_CMT
Brief Description
This module is put up deal with PT compensation that gas low rate signal
already by square root.
Representation
379
Graphical Programming software SCControl
Expression
Arithmetic
FLOW = FLOW 0 × C
Parameter Description
VELALARM
Brief Description
Restrain the rate of inputted points. If it exceeds limit, then alarm and
engineer can adopt measures according to the alarming type. The unit of
input setting time S1 & S4 is 0.1S, the module counter variable step is that
increasing with master control block sample period.
Representation
Symbol
380
Graphical Programming software SCControl
Arithmetic
When IN2=OFF, put up speed alarm. If the increment of the input signal IN1
exceeds speed increase limit S2 in the prescriptive time, then send the
alarm signal of exceeding speed increase, OUT1=ON; if the decrement
exceeds speed decrease limit S3, then send alarm signal of exceeding
speed decrease ,OUT2=ON. Time after exceed speed alarm. If there is
new exceed speed alarm, it will time again. When timing to S4, clean alarm.
Parameter Description
VLM
Brief Description
381
Graphical Programming software SCControl
When set is on, Y = YSET; when set is off, if X increases, Y also increases
to X according speed V1 and if X decreases, Y also decreases to X
according speed V2.
Representation
Symbol
Parameter Description
X SFLOAT Input
Y SFLOAT Output
Implementation method
If used integral manage, the precision is quite high, be fit for low speed of
go up and drop, if speed is high can't adopt integral in order to improve
running speed.
6. TEXTCODE module
382
Graphical Programming software SCControl
TEXTCODE
Brief Description
Representation
Symbol
Parameter Description
Usage
383
Graphical Programming software SCControl
Users can input ST program in this section, it can operate or excerpt all
kinds of system, tag, variable, function and so on.
7. Electricity Calculation
384
Graphical Programming software SCControl
385
Graphical Programming software SCControl
ACMETER12
ACMETER33
ACMETER34
ACMETER12
Brief Description
Representation
Symbol
386
Graphical Programming software SCControl
Parameter Description
F SFLOAT Frequency
R SFLOAT Power-factor
Implementation method
Frequency (F)
387
Graphical Programming software SCControl
Reactive power(Q)
Power-factor( )
Five signals by cumulating that is: Reactive power(Q), Watch power (S),
Active electrical energy(E), Reactive electrical energy(EN), Power-factor(λ),
in this application situation, FW355 most can sample quadruplet one-phase
two-wires system, the accumulation as follows:
ACMETER33
Brief Description
Representation
Symbol
388
Graphical Programming software SCControl
Parameter Description
F1 SFLOAT Frequency1
F2 SFLOAT Frequency2
R SFLOAT Power-factor
Implementation method
389
Graphical Programming software SCControl
Frequency (F1,F2)
Active power(P)
Reactive power(Q)
Power-factor( )
ACMETER34
Brief Description
Representation
390
Graphical Programming software SCControl
Symbol
Parameter Description
F1 SFLOAT Frequency1
F2 SFLOAT Frequency2
F3 SFLOAT Frequency3
R SFLOAT Power-factor
391
Graphical Programming software SCControl
Implementation method
Frequency (F1,F2,F3)
Active power(P)
Reactive power(Q)
Power-factor( )
P=P1+P2+P3
392
Graphical Programming software SCControl
E =P×t
EN =Q×t
AVE_1IN3_SFLOAT
Brief Description
This module output the average of three signals from one and the same
signal headstream.
Representation
Symbol
Arithmetic
PV 1 + PV 2 + PV 3
Output value: CPV =
3
Parameter Description
393
Graphical Programming software SCControl
AVE_1IN5_SFLOAT
Brief Description
This module output the average of three signals from one and the same
signal headstream.
Representation
Symbol
Arithmetic
PV 1 + PV 2 + PV 3 + PV 4 + PV 5
Output value: CPV =
5
Parameter Description
394
Graphical Programming software SCControl
SEL_1IN3
Brief Description
Input three digital value signals, output signal keeps the same with the
more input digital signal, shown as follows:
Representation
Symbol
OUT=SEL_1IN3 (PV1,PV2,PV3)
Parameter Description
SEL_1IN3_SFLOAT
Brief Description
According to the position of select switch, select three of one signal assigns
to output, from the same signal headstream.
395
Graphical Programming software SCControl
Representation
Symbol
Arithmetic
Parameter Description
SEL_1IN5
Brief Description
Input five digital value signals, output signal keeps the same with the more
396
Graphical Programming software SCControl
Representation
Symbol
Parameter Description
SEL_1IN5_SFLOAT
Brief Description
According to the position of select switch, select five of one signal assigns
to output, from the same signal headstream.
397
Graphical Programming software SCControl
Representation
Symbol
Arithmetic
Parameter Description
398
Graphical Programming software SCControl
SEL_2IN3
Brief Description
This module has three logic input variable, output equals the most of input
type. If input has two or three ON, output equals ON, otherwise equals
OFF.
Representation
Symbol
Arithmetic
First calculate the number of ON in three logic input, when the number of
ON greater than two, output ON, otherwise output OFF.
Parameter Description
SEL_DUAL
Brief Description
399
Graphical Programming software SCControl
Gain two input signal from the same signal headstream by two different
pass, auto select a signal output by redundancy collocation.
Representation
Symbol
Arithmetic
When SW=3, adjust the output according to input quality and variety, select
corresponding signal output:
(1) If two inputs are both bad points, that is their quality code is 0x0100 or
0x0800, then output remains the status as it was last time.
If signal 2 change rate exceed, output remains the status as it was last
time.
If signal 1 change rate exceed, output remains the status as it was last
time.
400
Graphical Programming software SCControl
If two points change rate are both exceeded, output remains the status
as it was last time.
If two points change rate are both don't exceeded, select input signal 1
to output, CPV=PV1.
Parameter Description
F_DEADBND
Brief Description
This module setting a dead zone [-DB, +DB], deal with dead zone of input.
401
Graphical Programming software SCControl
Representation
Symbol
Arithmetic
Parameter Description
IN FLOAT Input
F_ERRALM
Brief Description
This module judged the warp of two input whether in upper-lower limit,
usually input IN2 is setting value, input IN1 need to compare with this
setting value. If there warp in upper-lower limit, output OFF, if there warp
exceeded upper-lower limit, output ON.
402
Graphical Programming software SCControl
NOTE: Input upper-lower limit warp are positive number, if you want to set
lower limit is -5, then only set LL=5.
Representation
Symbol
Arithmetic
Parameter Description
F_FXY
Brief Description
This module treatment insert value for two dimensions broken line table,
output the value after treatment insert value.
Representation
403
Graphical Programming software SCControl
Symbol
Arithmetic
Y [i + 1] − Y [i ]
Y = Y [i ] + ∗ ( X − X [i ])
X [i + 1] − X [i ]
Parameter Description
F_GET_FXY
Brief Description
This module used to get corresponding broken line table data of X and Y
coordinate, refer to broken line table setting module.
Representation
Symbol
404
Graphical Programming software SCControl
Parameter Description
F_HLALM
Brief Description
The function of this module is judged whether input value between upper
limit and lower limit, when input value exceed upper limit, output = ON,
when input less than lower limit, output = OFF, when input between upper
limit and lower limit, output keeps the last status as last period.
NOTE: The upper limit can't be less then lower limit, otherwise this module
can't do any manage return immediacy.
Representation
Symbol
405
Graphical Programming software SCControl
Arithmetic
Parameter Description
IN FLOAT Input
F_INTEG
Brief Description
Output is the integral of input and go through limit transact with input. When
the output has exceeded the set high-low limit, it would be limited and
corresponding alarm sign would be set.
Representation
Symbol
406
Graphical Programming software SCControl
Arithmetic
When SET=OFF, the value of output Y is the integral value of input X. The
unit for sampling time is 0.1 ms. Transfer function and discrete calculation
equals to Integration (no limit) module.
Parameter Description
X FLOAT Input
Y FLOAT Output
F_LAG
Brief Description
The input signs would be dealt with 1st order lag and the unit for lag time
407
Graphical Programming software SCControl
LAG is based on 0.1S, that is, when the LAG=1, it means that the lag time
is 0.1 second.
Representation
Symbol
Arithmetic
When the set switch SET=OFF, the output Y is the 1st order lag output, lag
time unit is 0.1s.
GAIN
G(S ) =
1 + LAG × 3
That is:
Y (S ) GAIN
=
X ( S ) 1 + LAG × 3
After predigest:
Y ( S ) + LAG × S × Y ( S ) = GAIN × X ( S )
Y (k ) − Y (k − 1)
Y (k ) = LAG × = GAIN × X (k )
dt
Farther predigest:
GAIN × X (k ) − Y (k − 1)
Y (k ) = Y (k − 1) + × dt
dt + LAG
408
Graphical Programming software SCControl
X (k ) + X (k − 1)
X(k) get, in 2 programming, put up average value filter ;
X (k ) + X (k − 1)
GAIN × − Y (k − 1)
Y (k ) = Y (k − 1) + 2 × dt
dt + LAG
−t
Y = GAIN ∗ (1 − e LAG )
Parameter description
X FLOAT Input
Y FLOAT Output
F_LINECPS
Brief Description
409
Graphical Programming software SCControl
the output.
Representation
Symbol
Formula
OUT=IN X Kp + DIS
Parameter Description
F_SET_FXY
Brief Description
Float type broken line table are all two dimensions broken line table, divided
into ten sections, X and Y coordinate point have eleven, one control station
have thirty-two pieces at best, each piece distribute 128 bits, the first four
bits is broken line table type, then leave in 88 bits X and Y coordinate value
care, the rest are remain bits.
NOTE: Input table's order between 0 and 31, X coordinate point of input,
assign to X0~X10 from small to big. Y coordinate points don't have this
limit.
410
Graphical Programming software SCControl
Representation
Symbol
Parameter Description
F_THOSEL
Brief Description
Select output mode and output quality according to work mode parameter
MD and input quality flagIN1 and flagIN2 of two inputs .If signal input quality
is ON that is bad points, if quality code is OFF that is good points.
Representation
Symbol
411
Graphical Programming software SCControl
Arithmetic
1. If three inputs are all bad points, then output remains and quality alarm
Qo is logic 1;
2. If two points are bad points and the other is a good point, then select the
leave good point as output;
3. If only one point is bad, then according to other two good points select
output. If the warp of two good points can't exceeds DB ,then output the
average of two good points, otherwise then output remains last period
valuable and quality alarm QO is logic 1.
4. If three points are both good points, then select according to whether the
deviation between two inputs exceeds the setting value DB:
i. If the three both warps can't exceed DB, then the output according to
MD selection.
412
Graphical Programming software SCControl
ii. If only one warp exceeds DB, then output the mid of three input value.
iii. If two both warps exceed DB, then output the other one.
iv. If the three both warps exceed DB, then output remains last period
valuable and quality alarm QO is logic 1.
Quality output:
4. If has one bad point with IN1, IN2, IN3 ,then output quality QQ is logic 1;
otherwise output quality Q1 is logic 0.
Parameter Description
413
Graphical Programming software SCControl
F_TWOSEL
Brief Description
Select output mode and output quality according to work mode parameter
MD and input quality flagIN1 and flagIN2 of two inputs. If signal input quality
is ON that is bad points, if quality code is OFF that is good points.
Representation
Symbol
Arithmetic
1. If two inputs are both bad points, then output remains and quality
alarm Qo is logic 1;
414
Graphical Programming software SCControl
2. If one point is a bad point and the other is a good point, then select
the good point as output;
3. If two points are both good points, then select according to whether
the deviation between two inputs exceeds the setting value DB:
i. If the deviation exceeds the limit, then output remains and quality
alarm Qo is logic 1;
ii. If the deviation does not exceed the limit, then confirm output
according to the selection of work mode parameter MD.
Quality output:
1. If input points (IN1 and IN2) are bad points, then the corresponding
output quality (Q1 and Q2) is logic 1;
2. If two inputs are bad points, then quality total output QQ is logic 1.
Parameter Description
415
Graphical Programming software SCControl
F_UDLMT
Brief Description
NOTE: Set upper limit must be greater than lower limit, otherwise this
module can't do any manage return immediacy.
Representation
Symbol
Arithmetic
416
Graphical Programming software SCControl
Parameter Description
IN FLOAT Input
UP BOOL Up instruction
MD BOOL Working
F_VLM
Brief Description
Note:
When working on step process, T set step space time, unit is 0.1s.
When working on smooth process, T is the unit of speed, unit is 0.1s. For
example: if VUP=10, T=2, then increase speed is 5/s. T must be great then
0, otherwise this module can't do any manage include manual setting.
417
Graphical Programming software SCControl
T must be great then 0, otherwise this module can't do any manage return.
Representation
Symbol
Arithmetic
When SET=OFF:
(1) When MD=ON, output working on step process, T is the unit of speed,
unit is 0.1s. If input X increase by degrees, then Y increase by degrees one
time every other T times according to the speed of VUP, until equals to X. If
X decreases, then Y decreases one time every other T times according to
the speed of VUP, until equals to X.
Parameter Description
418
Graphical Programming software SCControl
X FLOAT Input
Y FLOAT Output
1. Especially module
D_INVERSE_COUNT
Brief Description
Representation
Symbol
Arithmetic
(2) When SL=0, cumulate the time of IN from 0 to 1 with input port.
(3) When SL=1, cumulate the time of IN from 1 to 0 with input port.
(4) When SL=2, cumulate the time that IN changed (the time of raising + the
time of falling)
(5) When SL equals other value, the result same as when SL=0.
419
Graphical Programming software SCControl
Parameter Description
D trigger
Brief Description
Representation
Symbol
Arithmetic
(1) Note: D and R connect the same bit actually. Correspond a normal-open
button, after D=ON one second D=OFF.
(2) When D changes from OFF to ON, Q reverse action one time and
produces the duration of pulses is 1s.
420
Graphical Programming software SCControl
Parameter Description
D BOOL Input
Q BOOL Output
MOTOR_PULSE
Brief Description
It is used for two bit electric engine of pulse RUN and STOP command. The
pulse motor control function block produces a RUN pulse with a specified
pulse duration when input the RUN command and a STOP pulse with a
specified pulse duration when input the STOP command. Besides, the
function block will check the input state and determine the shutdown alarm.
Representation
Symbol
Arithmetic
421
Graphical Programming software SCControl
(1) NOTE: In practical use, the RUN switch (SW_RUN) and the reset RUN
switch (RST_SW_RUN) must be assigned with the same tag; the STOP
switch (SW_STOP) and the reset STOP switch (RST_SW_STOP) must be
assigned with the same tag.
(2) When DCS_CON = ON, and there is no RUN state signal (STATE_RUN
= OFF) or STOP output (STOP_OUT = OFF), if SW_RUN = ON, each of
the RUN output (RUN_OUT) and the reset RUN switch (RST_SW_RUN) is
a ON pulse with a pulse duration of PULSE_WIDTH ms. That is, as soon as
SW_RUN has a OFF to ON transition, RUN-OUT and RST_SW_RUN
output ON. PULSE_WIDTHms later, RUN_OUT and RST_SW_RUN output
OFF.
422
Graphical Programming software SCControl
Parameter Description
423
Graphical Programming software SCControl
MPSETB
Brief Description
Representation
Symbol
Arithmetic
(9) NOTE: DO keep the restriction: 0<=PB1 < PB2 < PB3 < PB4 < PB5 <
PB6 < PB7, otherwise the function will not work.
Parameter Description
424
Graphical Programming software SCControl
I1 SFLOAT Input
AV SFLOAT Output
ONOFF_TIME_ACCUM
Brief Description
Representation
Symbol
Arithmetic
Parameter Description
425
Graphical Programming software SCControl
PULPOS
Brief Description
The pulse positioned (PULPOS) function code compares two analog input
signals (SV and FB) and produces output pulses that are proportional in
time duration to the difference between these two analog signals. The
deviation that is between two inputs is converted to a timed forward or
reverse Boolean output. There are provisions for specifying the error dead
band and the cycle time.
Representation
Symbol
Arithmetic
426
Graphical Programming software SCControl
If forward output pulse OFF time greater than period time (CT),
forward output pulse OFF time=CT.
If reverse output pulse OFF time greater than period time (CT),
reverse output pulse OFF time=CT.
Note: Forward and reverse output pulse durations are computed to the
nearest ten milliseconds with a 50-millisecond minimum duration for
controller modules and a ten-millisecond minimum duration for all other
modules.
(4) Forward stroke time FSR: when SV > FB and greater than the dead
band, then the forward output will be held high one second for every FSR.
(5) Reverse stroke time RSR: when SV< FB and greater than the dead
band, then the forward output will be held high one second for every RSR.
(6) Cycle time (CT) sets the time between calculations, or how often this
function is calculated. It delays the processing of the block.
Parameter Description
427
Graphical Programming software SCControl
VALVE_PULSE_CTL
Brief Description
This pulse is used to output two bit electric valve. The pulse valve control
function block produces an OPEN pulse with a specified pulse duration
when input the OPEN command and a CLOSE pulse with a specified pulse
duration when input the CLOSE command. Besides, the function block will
check the feedback signals of open state and close state to determine
whether the valve failed or not.
Representation
Symbol
Arithmetic
(1) NOTE: In practical use, the OPEN switch (SW_OPEN) and the reset
OPEN switch (RST_SW_OPEN) must be assigned with the same tag; the
CLOSE switch (SW_CLOSE) and the reset CLOSE switch
428
Graphical Programming software SCControl
(4) If the duration from the risen edge of OPEN_OUT to the moment when
there is a feedback signal of open state (STATE_OPEN = ON) exceed the
specified stroke time (PRO_TIME), the function block considers that a
failure occurred and output a pulse with a duration of 15 seconds.
(5) If the duration from the risen edge of CLOSE_OUT to the moment
when there is a feedback signal of close state (STATE_CLOSE = ON)
exceed the specified stroke time (PRO_TIME), the function block considers
that a failure occurred and output a pulse with a duration of 15 seconds.
429
Graphical Programming software SCControl
Parameter Description
430
Graphical Programming software SCControl
INVALID_TIME_SFLOAT
Brief Description
The function of this module is used to analyse AI quality yard that signal
produce, accumulate AI time reported to the alarm to happen.
Representation
Symbol
Parameter Description
2. Boiler module
COAL_AND_WIND
Brief Description
The controlling of giving coal is an important control object that ensures the
431
Graphical Programming software SCControl
Fuel quantity assort with air quantity by supply air controlling, ensure the
fuel's economical. Combined with operational experience, setting
appropriate air-coal ratio, the output of blower equals the product of given
coal and air-coal ratio.
Representation
Symbol
432
Graphical Programming software SCControl
Parameter Description
TimerSNo UINT The second timer serial number that the module used
433
Graphical Programming software SCControl
CtoG_SC001_POINT
Brief Description
This module is the time point which is used to evaluate used in twelve camp
stoves.
Representation
Symbol
434
Graphical Programming software SCControl
Explanation:
(2) t_point01_o = t_point01_o +1; //1# camp stove time point add by self
435
Graphical Programming software SCControl
CtoG_SC002_INERTGAS
Brief Description
Make lazy and rich oxygen gasification to switch over in gasification that
this module is used for controlling 12 stoves.
Representation
Symbol
Explanation:
436
Graphical Programming software SCControl
opening the stove , can't carry on gasification / make and switch over lazily),
then
oldinertgas1_o = oldinertgas1;
oldinertgas2_o = oldinertgas2;
inertgas_o = oldinertgas2_o;
(3) If working01~working12 take the post as one when being OFF (While
stopping the stove , can carry on gasification / make and switch over lazily),
then
inertgas_o = inertgas;
oldinertgas2_o = oldinertgas1_o;
oldinertgas1_o = inertgas_o;
Parameter Description
437
Graphical Programming software SCControl
1~12
CtoG_SC003_FANLOCK
Brief Description
This module used in judged air fan interlock of twelve camp stoves.
Representation
Symbol
Explanation:
438
Graphical Programming software SCControl
Parameter Description
CtoG_SC101_PARAMETER
Brief Description
Representation
Symbol
439
Graphical Programming software SCControl
Explanation:
(2) Avoid the overlap wind function: If gasification, allow serious wind
appear serious wind, is it preserves time, is it preserves time reduce to blow
off to dry (can increase), total cycle increase (can reduce), preserve time
parameter can increase or reduce while being other.
(5) On add by nitrogen the valves not wanting early it fall on the 8 second,
namely tempxx00 (preserve not lasting time) tempxx05 (preserve on add it
nitrogen time) - jdv_dalay (preserve on add by the valves nitrogen not
opening not delaying time) 8 second such as Y, otherwise, tempxx05
(preserve on add by nitrogen time) =Tempxx00 (preserve and dry time) -
jdv_dalay (on add by the valves nitrogen not opening not delaying time) - 8
second.
(6) Tempxx06 (preserves and dries and retrieves time) is not greater than
tempxx00 (preserve and dry time), otherwise tempxx06 =Tempxx00, and
440
Graphical Programming software SCControl
(7) Cycle revises and reports to the police, act as and export and preserve
cycle tempcycle_o Not equal to present cycle cycle_o hour, unlink = ON;
Otherwise unlink =OFF; When revising circulation cycle, provide the
warning suggestion.
(8) Make lazy parameter manage , when choosing to make lazily , and
adopt and making briefly lazily briefly, (dry ,retrieve , make lazily 3 stages to
leave spaces to put to blow to have to dry ) is it put empty time equal to
total cycle make a reduction of and dry to blow on preserving. Is it blow, two
have, blow off, is it add four of nitrogen preserve parameter it forces to be 0
to blow to have to make.
(9) As the condition of the stove is safe (include stopping the stove), the
parameter of time of preserving seven (tempxx00-tempxx06 ) is composed
to the real time parameter, preserve circulation cycle compose give present
cycle , is it blow off starting point is it give at present blowing off the starting
point to compose to preserve.
(10) Is it make lazy outside making lazy stage , taking place cycle greater
than 300 or lighter than 110 briefly to adopt, four basic time parameters are
smaller than equaling 0, the sum of the parameter of real time is not equal
to real cycle ,etc. at the time of the situation . Provide the illegal parameter
and report to the police, and compose the primitive parameter to the actual
parameter. For dry one second, is it blow one second , one last one
second , blow off one second, is it is it mean cycle deduct above-mentioned
parameter to blow to lay to have primitive parameter. Cycle equals cycle_ini,
number value is confirmed at the time of the configuration.
Parameter Description
441
Graphical Programming software SCControl
Preserve and blow off the Quote location number as same as the
temp_point_o INT
starting point ninth pin.
442
Graphical Programming software SCControl
CtoG_SC102_STEPS
Brief Description
This module is used for changing at the stage while starting, stopping the
stove and normal circulation in advance in advance.
Representation
Symbol
Explanation
443
Graphical Programming software SCControl
(5) Rich oxygen gasification operating and running, realize the rich oxygen
switches over at operation stage.
(6) In advance it start, it start not doing not having two times at first in
advance or put empty two (make lazy or not when not intensifying) 10s, and
then according to is it is it change normal running over to line up to dry, rich
oxygen gasification turn on stove carry out rich oxygen start 10 seconds
first, is it park stove is it start , is it start preface in advance to carry out at
parking stove promptly in advance to carry out still in advance to operate
during starting in advance.
(7) Park and must be drying in advance greater then behind the 8s , park
safely , carry out and park the stove safely too during starting in advance,
rich oxygen park stove carry out rich oxygen park stove 10s first safely
when the gasification.
Parameter Description
444
Graphical Programming software SCControl
445
Graphical Programming software SCControl
CtoG_SC103_OPERATION
Brief Description
This module is used for adding and controls burnt, puts the dust to control,
interlock.
Representation
Symbol
446
Graphical Programming software SCControl
Explanation
(1)Several kinds add the burnt mode to switch over differently. Hands add
and in charge of foot auto burnt through the 11th introduction
automatically_feed is switched over. Add the burnt mode and in charge of
foot feed through the 6th introduction automatically_mode is chosen. Add
the burnt mode to include automatically: Dry at the same time opening , is it
blow at the same time opening , is it is it open , open , add burnt 5 mode in
succession sequentially to blow to make to have, blow at the same time
opening , opening , adding burnt 3 moding in succession sequentially on
rich oxygen gasification can only select for use, take vibration give to add
burnt plane can only be selected for use and does not add the burnt mode
in succession non-automatically material machine.
(2) Operate the light to control. Operate the light to control: If the stove is
running, light and operate the light live. Stop the light to control in advance:
Is it park procedure in advance to enter , light scene the light park in
advance.
(3) Put the dust to interlock and control. Must park stove and lay dust is it
turns on stove to allow expiring at putting dust.
(4) Response to operating live. The stove can be started and stopped in
447
Graphical Programming software SCControl
advance at the scene. When push and starts two buttons in advance, parks
at the same time at the scene, the stove stop promptly to carry out.
(5) Interlock and respond. Illegal parameter and valve examine signal is it
park closely to cause , air blower chain way is it is it cut two to interlock to
choose as, see off and interlock and cut two signs of having at jumping the
bike in air blower.
Parameter Description
448
Graphical Programming software SCControl
The scene opened the order of the The order of the on-the-spot button is
to_run_signal BOOL
stove in advance measured
The order of the stove stops in The order of the on-the-spot button is
to_stop_signal BOOL
advance at the scene measured
Feedback the order greyly under The order of the on-the-spot button is
ash_signal BOOL
the scene measured
ash_v_opened BOOL Sign that the gray door is opened Detect the state of gray door
449
Graphical Programming software SCControl
order burnt
CtoG_SC104_VALVEOUTPUT
Brief Description
This module is used for realizing exporting in the manual operation, valve
450
Graphical Programming software SCControl
location.
Representation
Symbol
Explanation
451
Graphical Programming software SCControl
Parameter Description
452
Graphical Programming software SCControl
453
Graphical Programming software SCControl
CtoG_SC105_VALVECHECK
Brief Description
This module is used for comparing the valve location to export and
feedback, measure the valve location.
454
Graphical Programming software SCControl
Representation
Symbol
Explanation
Parameter Description
455
Graphical Programming software SCControl
Valve location feedback signal No. The valve location is closed and
di_v01 BOOL
1 feedbacked for ON
Valve location feedback signal No. The valve location is closed and
di_v02 BOOL
2 feedbacked for ON
Valve location feedback signal No. The valve location is closed and
di_v03 BOOL
3 feedbacked for ON
Valve location feedback signal No. The valve location is closed and
di_v04 BOOL
4 feedbacked for ON
4. DEH module
456
Graphical Programming software SCControl
SERVOCON
Brief Description
This module is used for driving the servo valve and controlling the
module FW346 card, it is mutual to realize the data between FW346 card
and top management card, a different one is that this module mainly issue
and show the servo control parameter of controlling the module of
the valve.
Notice:
Representation
Symbol
457
Graphical Programming software SCControl
Arithmetic
Similar to DEH test the speed and protect module over the speed limit,
module this to is it issue control parameter, FW346 of card is it buffer
district to write to write under the card top management to realize too, issue
data, top management of card buffer FW346 card district read , the middle
go on any treatment to datum studying in.
Parameter Description
458
Graphical Programming software SCControl
SwCardAM BOOL The card automatic sign of hand (OFF: Automatic; ON: Manual)
ManEn BOOL LVDT manual zero-full value enable (OFF: Disable, ON: Enable)
SwAM BOOL Hand automatic switch of PID (OFF: Manual, ON: Automatic)
SwTV BOOL Export and follow the switch (OFF: Does not follow , ON: Follow)
PidWrEn BOOL Servo card PID value download permit (OFF: Not download,
459
Graphical Programming software SCControl
ON: Download)
Tuning BOOL Tuning flag (OFF: Non-sucessful or not start, ON: Starting)
ALM BOOL Card start flag (OFF: Not starting, ON: Starting)
Control setting value and export the fault alarm (OFF: Does not
SvOutAlm BOOL
have, ON: Have)
SPEEDTST
Brief Description
This module is used for driving the measurement of rotational speed of the
460
Graphical Programming software SCControl
steam turbine and protecting module FW345 over the speed limit, realizing
FW345 card and data conversion, through this module, top management
card can give FW345 card to issue the parameter, can observe FW345
card and give the data of a card of top management too.
Notice:
2. Measured fluted disc and teeth of input is limited under 255, if it is more
than 255, it is under send as 255.
Representation
Symbol
Arithmetic
Module this is it deposit top management parameter that card issues in and
write with the buffering area to realize, then convey to FW345 card, buffer
461
Graphical Programming software SCControl
from studying in the district and read the data that FW345 card pass to the
top management card, the middle carry on treatment any to data, and
Model SFLOAT data of two bytes regard as UINT is it punish to come in
module this, need to transform it well in advance.
The card is a type mismatch alarm SLOTERR: When the machine input
envelopes the serial number and serial number of trough location not in
accordance with configuration, SLOTERR=ON, the module return
immediacy, can't issue and receive data ,remains the status as it was last
time.
Parameter Description
The ones that input test the speed the tooth of one of tooth is
TNUM UNIT
counted
OPC protects the signal of forbidden (OFF: Allow 110 action , ON:
OPCPRT BOOL
Forbid 110 action )
462
Graphical Programming software SCControl
OILSLIP BOOL Signal that the oil switch trips (OFF: Allow, ON: Forbidden )
Whether the channel is out of order to test the speed (OFF: Does
FAIL BOOL
not have, ON: Have)
ALM103 BOOL 103% alarm output (OFF: Does not have, ON: Have)
ALM110 BOOL 110% alarm output (OFF: Does not have, ON: Have)
STOP BOOL Park promptly (OFF: Does not have, ON: Have)
SLOTERR BOOL The card is a type mismatch alarm (OFF: Match, ON: Mismatch)
END_IMG_CFG
Brief Description
Representation
Symbol
Explanation
Parameter Description
463
Graphical Programming software SCControl
HOSTLINK_IMG
Brief Description
Representation
Symbol
Explanation
The order is divided into the following several: Read and write IR register
464
Graphical Programming software SCControl
(preserve the contact coil state), read and write HR register (keep the
register, deposit configuration when cutting out), is it write LR register
(connects the register, spend to read Come to preserve with the operational
order at the time of other PLC communication), read AR register (auxiliary
register, preserve the historical mistake to write down, date, the key word of
the terminal mode), read TC state, read and write with DM area , reads the
mistake, read and write TC data, put strongly , cancel and put strongly.
IMGID: Shine upon number, 0-1000 wanton to choose, repeat all right.
CHANEL: I/O channel for the initial trough number that is operated, it is a
start address to read and writing the inner register.
NUM: Count for the troughs operated in succession while clicking I/O (from
initial trough), the address in order to be operated in succession is counted
to read while writing the inside register.
SCLBYTES: Show and operate the target that the number of self-defining
location is byte, 1 byte, 2 bytes, 4 bytes and 8 bytes.
WR: read or write the order, 1 means read, 128 means write.
465
Graphical Programming software SCControl
1 IR
2 HR
3 AR
4 LR
5 TCStaus
6 DM
7 ERROR
8 STATUS
9 TCValue
10 FORCEDCANCEL
Parameter Description
466
Graphical Programming software SCControl
MODBUS_IMG
Brief Description
Representation
Symbol
Explanation
467
Graphical Programming software SCControl
SCLBYTES: Show and operate the target that the number of self-defined
location is byte, 1byte, 2bytes, 4 bytes and 8 bytes.
Parameter Description
468
Graphical Programming software SCControl
SETCOM
Brief Description
Set different serial port parameter with different agreement, so set serial
port parameter before transfer agreement module.
Representation
Symbol
Arithmetic
COMID is 1~6, meaning the one of the six serial ports; BAUD is baud rate,
set by requires; DATALEN is data length, unit is bit, can set is 5, 6, 7, 8;
STOPLEN is stop bit with the unit is bit, can set is 1 and 2; VERIFY is verify
mode, 0 is non-verify, 1 is even, 2 is odd, 3 is set 0 verify, 4 is set 1 verify.
Parameter Description
469
Graphical Programming software SCControl
START_IMG_CFG
Brief Description
Representation
Symbol
Arithmetic
Parameter Description
SUPCON_DCS
Brief Description
This module is used to set cards as following machine model for intelligent
devices, monitoring intelligent device command and responding to it.
470
Graphical Programming software SCControl
Representation
Symbol
Explanation
Function
Address Start Address Hi Start Address Lo Quantity Hi Quantity Lo
code
471
Graphical Programming software SCControl
Parameter Description
UPDATE_READ
Brief Description
Representation
Symbol
Explanation:
All operation of read the data from intelligent equipment that is according to
sample CYCLE, if it can't achieve scheduled cycle, and it will not give read
order to equipment. However, if this function block is executed, it is not
limited by sample and the operation will be done at once. After this
operation, the appointed mapping worked according to connatural sample
cycle, unless executing this UPDATE_READ function block again.
472
Graphical Programming software SCControl
Parameter Description
UPDATE_WRITE
Brief Description
Representation
Symbol
Explanation:
The normal write operation spring by instance of data changed, if the data
write to intelligent equipment are not changed that can't spring this
operation. Execute UPDATE_WRITE function block, then put up write
operation of IMGID appoint unconditionally. After the written operation, the
next operation will be executed after detecting the update data only, unless
executing this UPDATE_WRITE function block again.
Parameter Description
473