GTo get to the importer, right-click on the title-bar to get the system menu, select "CSV Importer". Basically the simulator watches a folder for a new file, and when it
exists, it loads it automatically, it was designed for playback - and
auto-opens a file every 15 minutes - for that, the filename must be
equal to the current date and time. The filename is HHMM.csv - and must live in a folder for the date in format YYYYMMDD.
Makes it possible to run 2 simulators on different
ports or protocols at the same time without re-configuring each time. The command-line feature also allows a level of automated testing for me.
will select modbus TCP/IP and port 512 (note how the port number follows the modtcp parameter)
will select RTU mode, you can also add a serial port setting
mod_rssim port:com3 baud=38400 rts=on
will select com3, and use RTS on, the serial options are the same as for the mode command. rts can be on off hs or tg but normally modbus devices use the 1st 2 forms.
The available protocols are modrtu modtcp abslave abmaster
For examples of the format, simply type "mode ?" in a command-prompt
Note1: It's not advisable (nor necessary) to have multiple TCP simulator sessions, since the concept of memory block separation is described in the Modbus Advanced Emulation Settings screen.
Note2: Settings given from the command-line are saved for future sessions of the simulator, just as if you had used the menus.
User Documentation >