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;
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;