ScheduledCopy

Function

The statement ScheduledCopy is a special statement which is not event driven as all the other statements.

It writes the inputs value “In” to the output “Out” only at the end of each application cycle. This statement can be used in cases where a real-time conditions have to be fulfilled and an event-driven algorithm cannot be used.


It can be used when application macros of the CentraLine HVAC palette are used and a special sequence of writing outputs is needed.


This statement was very useful during our AX application library tests.


Whenever one of the CentraLine macros is used in a program, the station will automatically add a service called ControlProgramService. The default cycle time is set to 2 seconds. This cycle time can be adapted to the application requirements.

The user has to set this application time to adapt it to the real cycle time of the programmed application.


Fig. 263.   Control Program Service


Fig. 264.   Wire-sheet Icon

Fig. 265.   Property Sheet


Fig. 266.   Slot Sheet


Inputs and Outputs


Inputs

Type

Functional description

In

analog

Analog input value

In Enabled

binary

If the input “In Enabled” is set to false disabled in the slot sheet, the output “Out” will be disabled and is set to the value “0”.


Table 156.   Outputs

Outputs

Type

Functional description

Out

binary

The output which is written to the output at the end of the ControlProgramService cycle time.


Parameter List

No parameters.