-
Notifications
You must be signed in to change notification settings - Fork 0
ServerSimulator
icmurray edited this page May 13, 2013
·
3 revisions
The server simulator is an application that behaves like a Dirus A40 Ethernet Gateway with a selection of A40 devices attached as slaves.
Currently the script is not very configurable:
- it runs on localhost on port 5200
- there are 3 slaves devices attached, at addresses
0x01,0x02and0x03. - each device has a datablock storage attached for reading the holding registers. The table of available registers is the same as that specified as the first table of registers in the A40 manual.
- each device's registers increment and decrement over time. Bounded between -100 and 100.
To run the server, activate your python virtualenv if you have not already done so:
workon jem_data
And then run the script:
python jem_data/server_sim/main.py