EasyManuals Logo

ALTUS Nexto Series User Manual

ALTUS Nexto Series
392 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #266 background imageLoading...
Page #266 background image
5. CONFIGURATION
Figure 148: Block for Input Updating
Input parameters Type Description
byRackNumber BYTE Rack number.
bySlotNumber BYTE
Position number where the module is con-
nected.
Table 189: REFRESH_INPUT Input Parameters
Possible TYPE_RESULT:
OK_SUCCESS: Execution success.
ERROR_FAILED: This error is returned if the function is called for a module that has only outputs, or also if the option
Always update variables (located in the module’s configuration screen, tab I/O Mapping ) is not checked.
ERROR_NOTSUPPORTED: The called routine is not supported by the product.
ERROR_PARAMETER: Invalid / unsupported parameter.
ERROR_MODULE_ABSENT: The module is absent in the bus.
ERROR_MODULE_NOTCONFIGURED: The module is not configured in the application.
ERROR_MODULE_NOTRUNNING: The module is not running (is not in operational state).
ERROR_MODULE_COMMFAIL: Failure in the communication with the module.
ERROR_MODULE_NOTFOUND: The module was not found in the application or is not supported.
Utilization example in ST language:
PROGRAM UserPrg
VAR
Info: TYPE_RESULT;
byRackNumber: BYTE;
bySlotNumber: BYTE;
END_VAR
//INPUTS:
byRackNumber := 0;
bySlotNumber := 10;
//FUNCTION:
Info := REFRESH_INPUT (byRackNumber, bySlotNumber); //Function call.
//Variable "Info" receives possible function errors.
5.12.2.2. REFRESH_OUTPUT
This function block is used to update the specified module outputs. It is not necessary to wait until the cycle is finished. It
is important to notice that the update time of the module outputs will have to be considered in the effective time of the outputs
update in the application developed by the user.
ATTENTION
The REFRESH_OUTPUT function must only be used in MainTask.
To update outputs in other tasks, the option Enable I/O update per task must be selected, for
further information about this option, consult Table 42.
252

Table of Contents

Other manuals for ALTUS Nexto Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ALTUS Nexto Series and is the answer not in the manual?

ALTUS Nexto Series Specifications

General IconGeneral
BrandALTUS
ModelNexto Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals