Enabling SimuPlatform
To enable SimuPlatform, modify the Module.ini file and make sure SimuPlatform.rtdll exists as a valid [Platform x] section setting.
“Location” indicates the folder where the SimuPlatform.rtdll is located. “DllName” indicates the rtdll file name. “Disable” should be set to 0 to enable this platform rtdll.
To use the timer of SimuPlatform as the interrupt process, an interrupt must be assigned to SimuPlatform. Interrupts are assigned to non-disabled, non-suspended platforms in the order of their definition in Module.ini (see Module.ini).
By default, SimuPlatform will set all unassigned axes as virtual axes (UserDef = 0). To avoid setting all axes to virtual axes when using the simulator platform together with a non-simulator platform, define SimuPlatform after the non-simulator platform in the Modules.ini file. If SimuPlatform is defined earlier in the Modules.ini file, use UserDef to set only the necessary axes as virtual axes. When multiple interrupts are defined, simulator platforms in earlier interrupts will set axes before platforms in later interrupts. To avoid a simulator interrupt in an earlier interrupt from assigning all remaining axes as virtual axes, use UserDef (see Masters).
Example: Replace “xxx” with the platform in use.
--------------------Module.ini--------------------\n
MessageLevel = 0\n
PrintLog = 0\n
\n
[Platform 0]\n
Location = .\\platform\\xxx\\\n
DllName = xxx.rtdll\n
disable = 0\n
\n
<B>[Platform <span style="color:red">1</span>]</B>\n
Location = .\\platform\\simu\\\n
DllName = SimuPlatform.rtdll\n
disable = 0\n
\n
...
\n
----------------------------------------------------\n