<4. Control Application Creation>
55
TI 34P02K35-02E Jun. 6, 2018-00
● Procedure for Modifying a POU
This section describes here the procedure for modifying a POU, using an example
involving adding an input terminal to the “SAMPLE” POU created in Section 4.7.2,
“Procedure for Creating a POU.”
Change in requirement specification
The OUT terminal is to be turned on if the mode, status or alarm condition
becomes true and remains true for a certain duration, which can be specified
individually for each logic.
1. Add an input terminal
Open the variable worksheet of user function block “SAMPLE,” and define a new
terminal.
For this example, specify “TM” as the name of the input terminal for setting the
duration, “VAR_INPUT” as its usage and “TIME” as its data type.
Precautions when adding terminals
- Sequence of variables
The sequence of terminals follows the sequence of the variables on the
variable worksheet.
In the above figure, three VAR_INPUT type variables are defined with the
following sequence: IN, GM and TM. The terminals of the user function block
follow the same sequence: IN, GM and TM.
- Initial value of variable
The initial value of input terminal “TM” is defined as “TIME#1s”.
With this setup, if terminal “TM” is connected to nothing, its default value is 1
second.
In this example, if terminal “IN” or terminal “GM” is connected to nothing, this
comparison logic would be meaningless so this case is not considered in the
logic.
However, terminal “TM” is used for setting the duration so even if it is
connected to nothing, the comparison logic is still meaningful.
Therefore, a default value is defined in case that terminal “TM” is connected
to nothing.
Summary of Contents for STARDOM FCN-500
Page 2: ...Blank Page...
Page 10: ...Blank Page...
Page 32: ...Blank Page...
Page 36: ...TI 34P02K35 02E Jun 6 2018 00 Blank Page...
Page 76: ...TI 34P02K35 02E Jun 6 2018 00 Blank Page...
Page 163: ...Blank Page...
Page 221: ...Blank Page...
Page 225: ...Blank Page...