Modbus Tester Error

'' not a valid integer value

torben33
 
Avatar
 
Subject:

Modbus Tester Error

 · 
Posted: 14.03.2011 - 08:50  ·  #1
Hello,
after I have made some test with the modbus samples I have created my own
prog with the following ModBuff record (see below).
If I start the modbus tester and try to read once I get the message
'' is not a valid integer value.
This message occures also if I change the Modbuff record of the ASCII sample.
I have an older Compiler Version Compiler Rev. 4.83 maybe the problem is fixed with
a newer on (I have ordered) or do I make somthing wrong?

ModBuff[@ModDPR] : record // word byte
System_Mode : mb_RdWrB; // [00] 0 this is lo(ModDPR[0]) //Systemzustand
Operating_Mode : mb_RdWrB; // [00] 1 this is high(ModDPR[0]) //Testart
Comp_Mode : mb_RdWrB; // [01] 2 this is low(ModDPR[1]) //Kompressortype / Versorgung
Control_Mode : mb_RdWrB; // [01] 3 this is high(ModDPR[1]) //Zustand der Steuerung
Monitor_Mode : mb_RdWrB; // [02] 4 this is low(ModDPR[2]) //aktueller Überwachungsmodus
MgntVtlUse : mb_RdWrB; // [02] 5 this is high(ModDPR[2]) //Magnetventilverwendung freigeben
MonitorUse : mb_RdWrB; // [03] 6 this is low(ModDPR[3]) //Überwachung freigeben
VoltageActiv : mb_RdWrB; // [03] 7 this is high(ModDPR[3]) //Versorgungsspannung zugeschaltet?
OffTime : mb_RdWrW32; // [04] 8..11 Timervalue //Ausschaltzeit
OnTime : mb_RdWrW32; // [06] 12..15 Timervalue //Einschaltzeit
HiwiTime : mb_RdWrW32; // [08] 16..19 Timervalue //Hiwizeit
MonitorOffTime : mb_RdWrW32; // [10] 20..23 Timervalue //Überwachungsverzögerung
MgntVntlOnTime : mb_RdWrW32; // [12] 24..27 Timervalue //Einschaltverzögerung MagnetVentil
MgntVntlOffTime : mb_RdWrW32; // [14] 28..31 Timervalue //Abschaltverzögerung des Magentventils
SysStat : mb_RdWrW; // [16] 32..33 //Systemzustand alt
TempL : mb_RdWrW; // [17] 34..35 //Messwerte
GDL : mb_RdWrW; // [18] 36..37
SDL : mb_RdWrW; // [19] 38..39
IL : mb_RdWrW; // [20] 40..41
TempR : mb_RdWrW; // [21] 42..43
GDR : mb_RdWrW; // [22] 44..45
SDR : mb_RdWrW; // [23] 46..47
IR : mb_RdWrW; // [24] 48..49 //Messwerte
AktPrescale : mb_RdWrW; // [25] 50..51 //Vorteilerwert
ActRPM : mb_RdWrW; // [26] 52..53 //aktueller Drehzahlwert
MaxRPM : mb_RdWrW; // [27] 54..55 //minimaler Drehzahlwert
MinRPM : mb_RdWrW; // [28] 56..57 //maximaler Drehzahlwert
StepTime : mb_RdWrW32; // [29] 58..61 Timervalue
Step : mb_RdWrB; // [30] 62 this is low(ModDPR[30]) // Step(index) aktuelle Drehzahl
StepMinindex : mb_RdWrB; // [30] 63 this is high(ModDPR[30]) //
StepMaxIndex : mb_RdWrB; // [31] 64 this is low(ModDPR[31]) //
StepIndex : mb_RdWrB; // [31] 65 this is high(ModDPR[31]) //
StepInc : mb_RdWrB; // [32] 66 this is low(ModDPR[32]) // Step-Richtung (rauf / runter)
I2CLEDs : mb_RdWrB; // [32] 67 this is high(ModDPR[32]) // Ledzustand

end;
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: Modbus Tester Error

 · 
Posted: 14.03.2011 - 13:30  ·  #2
torben33
 
Avatar
 
Subject:

Re: Modbus Tester Error

 · 
Posted: 05.04.2011 - 14:26  ·  #3
Hallo Rolf,
ich habe das oben beschriebene Problem mit dem ModbusTester.
Fehlermeldung: '' is not a valid integer value
Dieses existiert weiter auch mit dem neuesten Software Download 4.99.33.
Gibt es eine Lösung bzw. die neuere Version von der Avra spricht an anderer Stelle?
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Modbus Tester Error

 · 
Posted: 05.04.2011 - 17:54  ·  #4
Hallo Torben,

nein, es gibt keine neuere Software. Da ich z.Zt. mit wesentlich wichtigeren Teilen des AVRco beschäftigt bin, kann ich auch keinen Termin dafür nennen. Sorry.

rolf
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: Modbus Tester Error

 · 
Posted: 06.04.2011 - 08:36  ·  #5
Sorry for bringing confusion. I thought it was fixed.

@Torben: Take a look at this thread (http://forum.e-lab.de/topic.php?t=2406) and see if manual modification of PMBL file described there could help you as a temporary workaround.
torben33
 
Avatar
 
Subject:

Re: Modbus Tester Error

 · 
Posted: 08.04.2011 - 15:26  ·  #6
Hello,
I found a work around for this problem of the modbustester error message '' is not a valid integer value .
If you put in the lights and various_flags from the modbus Ascii Demo at the End of your Modbuff record the program works:
lights : tLightSet; // [38] 74..75
various_flags : tFlagsSet; // [39] 76..77

I think the programm has a problem not to find any kind of coils and discret inputs.
Thank you for your help.
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: Modbus Tester Error

 · 
Posted: 11.04.2011 - 14:34  ·  #7
You are welcome. ;-)
I am glad that you have found a work around.
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   111   125 · Page-Gen-Time: 0.019788s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI