Temperature Controller Commands; Tcautotune - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Temperature Controller Commands

Note:
Note:
6-7
Temperature Controller Commands
6-7-1

TCAutoTune

Remarks
Argument
Type
returnstate
bool
plcname
string
filename
string
processed
bool
Typical Example
UploadPLCProgram("controlPLC", "Prog01.bin", done)
The program in the PLC 'controlPLC' is uploaded to the file 'Prog01.bin' in the
current directory. Before continuing, the script waits up to five seconds for the
action to succeed.
The operation may not be complete immediately after the statement has been
executed. The processed flag 'done' is set at a later time when the operation
has been completed. Therefore, if using statements that require the upload to
be completed create an On Condition script containing the code to be
executed after the upload, with the processed flag as the expression (e.g.
'done').
This command can only be used when the PLC is in 'STOP' mode. Refer to
chapter 6, GetPLCMode or chapter 6, SetPLCMode for further information.
Syntax
returnstate = TCAutoTune(TController,mode)
Remarks
Argument
Type
returnstate
bool
TController
string
mode
point
Typical Example
SECTION 6 Functions and Methods
Description
1 if the function is successful otherwise 0.
Name of PLC to upload the program from.
Name of the file on disk to upload the program
to. If a drive and path are not specified, the file
is created in the current directory, which may
not be the same as the application directory. If
a filename is specified as "" the user is
prompted at runtime for a filename.
processed is set to 'TRUE' when the operation
is actually completed.
Description
1 if the function is successful otherwise 0.
This is a string representing the name of the
temperature controller.
This is a point depicting the mode of operation
and defines the operation to be carried out
when a TCAutoTune command is issued.
0: Indicates that the auto-tuning operation is to
be stopped.
1: This mode is supported on the E5*K and is
used to set the limit cycle of the manipulated
variable change width to 40%.
2: This is used to start the auto-tuning
operation.
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents