Rocrail communication from DiMAX 1210Z

Rocrail communication from DiMAX 1210Z

Postby Trains4fun » 27.07.2014, 20:24

When running Rocrail, the control of the engine from the Navigator are not recognized and show as an error in the Server window. Rocrail does control the engines through the DiMAX. Is there any idea if anyone is working on this issue?
Ed
Trains4fun
 

Re: Rocrail communication from DiMAX 1210Z

Postby rjversluis » 28.07.2014, 06:21

Ed,

4) If you are asking for support for Rocrail functionality, auto mode, switches, signals ... you have to post your rocrail.ini plan file and the trace file.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Re: Rocrail communication from DiMAX 1210Z

Postby rjversluis » 28.07.2014, 09:53

Trains4fun wrote:Is there any idea if anyone is working on this issue?

The Dimax PC-Interface protocol does not support it.
Please attach your byte level trace file in which the errors occur.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Re: Rocrail communication from DiMAX 1210Z

Postby Trains4fun » 15.08.2014, 05:00

Thanks for looking at this for me.

Here is the Configuration File:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<rocrail resetspfx="false" planfile="plan.xml" occupancy="occ.xml" locs="" backup="true" backuppath="backup" keypath="lic.dat" libpath="." imgpath="images" iconpath="icons" issuepath="issues" soundpath="sounds" soundplayer="" soundplayerlocation="false" ptiid="" lciid="" dpiid="" sviid="" sciid="" fsutf8="true" scsensor="" createmodplan="false" poweroffonexit="true" poweronatinit="false" nodevcheck="false">
  <ctrl sgevents="false" swtimeout="250" minbklc="20" ignevt="5" initfieldpause="500" seed="4711" savepostime="10" secondnextblock="false" initfieldpower="true" enableswfb="true" eventtimeout="0" signalreset="0" routeswtime="10" disablerouteVreduce="false" greenaspect="false" semaphorewait="1" signalwait="0" locostartgap="0" blockinitpause="0" stopnonecommuter="false" syncroutes="false" syncroutetimeout="2500" timedsensors="false" enableanalyzer="true" ebreakforceunlock="false" defaspect="red" skipsetsw="false" skipsetsg="false" usebicom="true" useident="true" poweroffonidentmismatch="false" poweroffatghost="true" ebreakatghost="false" keepghost="false" disablesteal="false" poweroffatreset="true" allowzerothrottleid="false" releaseonidle="false" closeonghost="false" closenoevents="false" selectshortestblock="false" restoreschedule="true" actiontimer60="true" createguestonbidi="false" usebididir="false" disableblockwait4gomanual="false" stopatin4gomanual="true" v0atpoweron="false" useonlyfirstident="true" virtualtimer="1"/>
  <trace rfile="rocrail" protpath="" nr="10" size="100" debug="false" info="true" calc="true" byte="false" automatic="false" monitor="true" listen2all="true"/>
  <anaopt setRouteId="true" setBlockId="true" addSignalBlockAssignment="false" addFeedbackBlockAssignment="false" cleanRouteId="true" resetBlockId="true" resetSignalBlockAssignment="false" resetFeedbackBlockAssignment="false" basicCheck="true" basicClean="false" blockCheck="true" blockClean="false" routeCheck="true" routeClean="false" actionCheck="true" actionClean="false"/>
  <clock hour="23" minute="29" divider="1" update="1"/>
  <tcp port="8051" maxcon="10" controlcode="" slavecode="" onlyfirstmaster="false"/>
  <devices serial="COM1,COM3"/>
  <srcpcon port="4303" active="false" device=""/>
  <SnmpService port="161" active="false" traphost="localhost" trapport="0"/>
  <r2rnet id="" addr="224.0.0.1" port="1234" routes="netroutes.xml" enable="false"/>
  <digint iid="NEW" lib="massoth" restricted="false" stress="false" libpath="C:\Program Files\Rocrail" bps="57600" flow="cts" device="com1" timeout="1000" fbmod="0" fboffset="0" fbpoll="false" fbreset="false" ptsupport="true" systeminfo="true" locolist="false" switchlist="false" overrule="true" protver="0" swtime="250" psleep="200" readbidi="false"/>
  <http port="0" refresh="0">
    <webclient port="0" refresh="0"/>
  </http>
</rocrail>

Here is the Byte trace (not all of it as it is quite large).

directory]
Code: Select all
20140814.232756.073 r9999I main     OSerial  0054 Serial[COM9] closed.
20140814.232756.074 r9999I main     OControl 1693 devices: "COM1,COM3"
20140814.232756.074 r9999I main     OControl 1283 initDigInts lib="massoth" idd="NEW"
20140814.232756.077 r9999I main     OLib     0049 rocs_lib_load OK [C:\Program Files\Rocrail\massoth.dll]
20140814.232756.078 r9999I main     OLib     0063 rocs_lib_getProc OK [C:\Program Files\Rocrail\massoth.dll:rocGetDigInt]
20140814.232756.080 r9999I 000013CC OMassoth 1113 ----------------------------------------
20140814.232756.080 r9999I tick0224 OSystem  0112 Ticker thread has started.
20140814.232756.081 r9999I 000013CC OMassoth 1114 Massoth 2.0.0
20140814.232756.081 r9999I 000013CC OMassoth 1115 ----------------------------------------
20140814.232756.082 r9999I 000013CC OMassoth 1116 iid           = NEW
20140814.232756.083 r9999I 000013CC OMassoth 1117 device        = com1
20140814.232756.084 r9999I 000013CC OMassoth 1118 baudrate      = 57600 (fix)
20140814.232756.085 r9999I 000013CC OMassoth 1119 flow          = cts
20140814.232756.085 r9999I 000013CC OMassoth 1120 reset sensors = no
20140814.232756.085 r9999I 000013CC OMassoth 1121 system info   = yes
20140814.232756.086 r9999I 000013CC OMassoth 1122 ----------------------------------------
20140814.232756.094 r9999I 000013CC OSerial  0093 Opening serial[com1]  [return code=0] [0] [OK]
20140814.232756.095 r9999I 000013CC OSerial  0114 blocking[1] directIO[0]
20140814.232756.097 r9999I dimaxrea OMassoth 0941 DiMAX reader started.
20140814.232756.098 r9999I 000013CC OMassoth 0705 listener set
20140814.232756.098 r9999I main     OControl 1352 initDigInts OK
20140814.232756.098 r9999c purger   OMassoth 1049 purger started.
20140814.232756.099 r9999I main     OPowerMa 0568 Power Manager instantiated.
20140814.232756.101 r9999I clocktic OControl 1537 ClockTicker started.
20140814.232756.102 r9999I main     OControl 0181 Init shortcut sensor...
20140814.232756.102 r9999I checker  OControl 1617 Checker started.
20140814.232756.116 r9999I cconmngr OClntCon 0375 Manager started.
20140814.232756.117 r9999I main     OClntCon 0604 ClientConnection started on port 8051.
20140814.232756.117 r9999I broadcas OClntCon 0494 Broadcaster started.
20140814.232756.118 r9999I main     OModel   1929 Checking all Loco's for V=0...
20140814.232756.149 r9999I main     OModel   3270 init Track Driver blocks...
20140814.232756.149 r9999I main     OModel   0652 updateFB
20140814.232756.150 r9999I main     OModel   0638 add bus 0, 0,1...
20140814.232756.151 r9999I E03      OLoc     1857 Runner for "E03" started.
20140814.232756.162 r9999I V200     OLoc     1857 Runner for "V200" started.
20140814.232756.177 r9999I LGBMRRC2 OLoc     1857 Runner for "LGBMRRC26" started.
20140814.232756.197 r9999I dimaxrea OMassoth 0956 sending interface configuration...
20140814.232756.198 r9999I dimaxrea OMassoth 0963 interface configuration successfully send
20140814.232813.752 r9999I cconmngr OClntCon 0395 client connect count: 1
20140814.232813.758 r9999I cmdr0225 OClntCon 0215 cmdReader started for:127.0.0.1.
20140814.232813.761 r9999I infw0225 OClntCon 0109 infoWriter started for:127.0.0.1.
20140814.232814.761 r9999I cmdr0225 OClntCon 0271 monitoring for client is on
20140814.232814.762 r9999I cmdr0225 OControl 0898 command from [rocview,221953908,5756]
20140814.232814.763 r9999I cmdr0225 OSystem  0556 no key
20140814.232814.764 r9999I cmdr0225 OModel   2195 no valid donation key found
20140814.232815.028 r9999I cmdr0225 OModel   2257 Sending 0 fstats to client...
20140814.232823.146 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated   << Change speed with Navigator 3
20140814.232824.939 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated   
20140814.232825.140 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232825.171 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232825.242 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232825.273 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232826.721 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232826.942 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232827.732 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232827.923 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232827.994 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232828.034 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232828.095 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232828.918 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232828.979 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232829.020 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232829.081 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232829.122 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232829.323 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232829.734 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232829.917 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232830.738 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232830.939 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232831.320 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232831.541 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232831.732 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232831.923 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232831.993 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232832.023 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232832.063 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232926.472 r9999W cmdr0225 OApp     0297 trace levels changes are activated, other setting at restart...
20140814.232926.475 r9999I cmdr0225 OApp     1099 backing up rocrail.ini to rocrail.ini.bak...
20140814.232926.511 r9999I cmdr0225 OApp     1130 saving ini rocrail.ini(new)...
20140814.232926.514 r9999I cmdr0225 OControl 1212 informDigInt [NEW]...
20140814.232926.515 r9999I cmdr0225 OControl 1218 informing fitting DigInt [NEW]...
20140814.232926.516 r9999B dimaxrea OMassoth 0149 info packet read:
20140814.232926.517 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=8 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 00 E1 05 CC 00 01 24 0D                         |......$.        |
20140814.232927.011 r9999B dimaxrea OMassoth 0149 info packet read:
20140814.232927.012 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=8 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|

SNIP

0149 command packet read:
20140814.232945.545 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=5 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 61 E5 00 00 84                                  |a....           |
20140814.232945.547 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232945.608 r9999B dimaxrea OMassoth 0149 info packet read:
20140814.232945.608 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=8 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 00 E1 05 CC 00 01 24 0D                         |......$.        |
20140814.232946.111 r9999B dimaxrea OMassoth 0149 info packet read:
20140814.232946.114 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=8 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 00 E1 05 CC 00 01 24 0D                         |......$.        |
20140814.232946.609 r9999B dimaxrea OMassoth 0149 info packet read:
20140814.232946.610 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=8 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 00 E1 05 CC 00 01 24 0D                         |......$.        |
20140814.232946.743 r9999B dimaxrea OMassoth 0149 command packet read:
20140814.232946.744 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=5 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 61 E2 00 00 83                                  |a....           |
20140814.232946.747 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232946.968 r9999B dimaxrea OMassoth 0149 command packet read:
20140814.232946.969 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=5 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 61 E1 00 00 80                                  |a....           |
20140814.232946.972 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232947.034 r9999B dimaxrea OMassoth 0149 command packet read:
20140814.232947.035 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=5 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 61 E1 00 00 80                                  |a....           |
20140814.232947.038 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232947.069 r9999B dimaxrea OMassoth 0149 command packet read:
20140814.232947.070 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=5 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 61 E1 00 00 80                                  |a....           |
20140814.232947.086 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232947.127 r9999B dimaxrea OMassoth 0149 info packet read:
20140814.232947.128 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=8 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 00 E1 05 CC 00 01 24 0D                         |......$.        |
20140814.232947.141 r9999B dimaxrea OMassoth 0149 command packet read:
20140814.232947.142 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=5 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 61 E1 00 00 80                                  |a....           |
20140814.232947.145 r9999I dimaxrea OMassoth 0926 message 0x61 not (jet) evaluated
20140814.232947.636 r9999B dimaxrea OMassoth 0149 info packet read:
20140814.232947.637 r0000B dimaxrea OMassoth *trace dump( 0x02EEFD04: length=8 )
Trains4fun
 

Re: Rocrail communication from DiMAX 1210Z

Postby rjversluis » 15.08.2014, 05:27

Hi,

the normal packets for speed and functions are send by the throttle.
I will try to implement this.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Re: Rocrail communication from DiMAX 1210Z

Postby rjversluis » 15.08.2014, 06:32

It is implemented in revision 7751.
Please test and report.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 


Return to Massoth