Wingpath has ceased trading
We are no longer selling licences for our software products (ModSnmp, ModMultiSim, Modsak, ModSlaveSim, ModMaster and ModTest).
The website will remain operational until at least 2027 for reference purposes, and for the registration and transfer of product licences.
ModSlaveSim help v3.07 - 5.4. Pre-defined Variables
Download manual: HTML
There are two variables provided for use in ModSlaveSim expressions : and .
is the period at which ModSlaveSim calculates the values of registers that have statements when running the simulation (that is, when the button is highlighted). The value of is the actual time since the register values were last calculated, and may differ slightly from the configured cycle time (Run Interval setting) due to variations produced by the operating system. See the Edit Run Interval section for how to set the Run Interval value.
The variable is the current time in seconds (since 1 Jan 1970).
Both these variables have floating-point values with millisecond precision.