Please enable JavaScript to view this site.

Allows you to define the execution frequency of rules.

Syntax

SYS_FREQ ["freq=100"]

freq

Value containing the frequency (min = 25 Hz, max = 5000 Hz) (optional, default 100Hz = 10 ms)

25 Hz = 40 ms; 1KHz = 1 ms; 2KHz = 500 us

WARNING: This keyword is automatically generated by project configurator.

Project Configurator --> General --> System

configuratore_generale

Management of execution frequency rules

There are three ways to set the execution frequency (interrupt) of the RULES task.

If canbus and/or EtherCAT networks are being managed, the frequency MUST be set in the respective fieldbus configuration editors. If both networks are being managed, the frequency MUST be the same in both editors.

If no fieldbuses are being managed, the frequency is imposed from project configurator. If the "System frequency cannot be changed" flag is also present, a frequency change from program via the rule_freq instruction will not be possible, and an attempt to use this instruction will generate an alarm

NOTE: In case the frequency has already been set in the canbus and/or EtherCAT networks configurator the setting from project configurator is ignored and a warning is given in the report.

If no fieldbuses are handled and the "System frequency not changeable" flag is not entered in the project configurator, the rule_freq instruction can be used to change the frequency

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC