Click here to Skip to main content
16,017,833 members
Home / Discussions / C#
   

C#

 
AnswerRe: Empty datetimepicker Pin
dan!sh 10-Jun-08 23:43
professional dan!sh 10-Jun-08 23:43 
AnswerRe: Empty datetimepicker Pin
Vikram A Punathambekar10-Jun-08 23:44
Vikram A Punathambekar10-Jun-08 23:44 
AnswerRe: Empty datetimepicker Pin
Kjetil Svendsen11-Jun-08 0:21
Kjetil Svendsen11-Jun-08 0:21 
QuestionIs there is some way to support SNMP Protocol with .NET ? Pin
Yanshof10-Jun-08 23:00
Yanshof10-Jun-08 23:00 
AnswerRe: Is there is some way to support SNMP Protocol with .NET ? Pin
leppie10-Jun-08 23:28
leppie10-Jun-08 23:28 
GeneralRe: Is there is some way to support SNMP Protocol with .NET ? Pin
Yanshof10-Jun-08 23:46
Yanshof10-Jun-08 23:46 
GeneralRe: Is there is some way to support SNMP Protocol with .NET ? Pin
leppie10-Jun-08 23:48
leppie10-Jun-08 23:48 
QuestionMODBUS RTU C# Pin
garinchabraziliana10-Jun-08 21:50
garinchabraziliana10-Jun-08 21:50 
Hi,

i'm beginner in MODBUS, so please help me.
i have a temperature regulator with MODBUS communication.
For example:
If i want to read holding register e.g.: 0042 „Value of temperature“ from mentioned device, in my application for MODBUS-RTU communication which i was writte in
Microsoft Visual Studio 2005- VC#,
i made request -byte array:
{0x01, 0x03, 0x00, 0x29, 0x00, 0x01, 0x83, 0x01}

1- slave adress (configured in device)- 0x01
2.- function code(Read Holding Registers)- 0x03
3.- start adress Hi- 0x00
4.- start adress Lo- 0x29
5.- no. of registers Hi- 0x00
6.- no of registers Lo- 0x01
7.- error code- 0x83
8.- exception code- 0x01

and sent that array to device. Label Rx blinks ,on the front panel of device, so device received my request, but i don't get any response, Tx doesn't blink!!!
For example:
If holding register 0042 „Value of temperature“=555, response message from device should be:

{slave adress=0x01, function code= 0x03, byte count= 0x02, register value Hi= 0x02,
register value Lo= 0x2B,... } !!!????
But i get nothing!!!!
All other parameters like port name, baud rate, parity, data bits, stop bits,ReadTimeout, WriteTimeout and RS485/RS232 converter are O.K.
Plese, could You help me with some advice to get response from device and tell me what i do wrong.
Is my request -byte array O.K.??? (especialy last two bytes 0x83, 0x01- CRC)

Thank You very much.

Best regards!
AnswerRe: MODBUS RTU C# Pin
carbon_golem11-Jun-08 1:59
carbon_golem11-Jun-08 1:59 
QuestionTools for coding rules Pin
namrata510-Jun-08 21:44
namrata510-Jun-08 21:44 
AnswerRe: Tools for coding rules Pin
J a a n s10-Jun-08 21:46
professionalJ a a n s10-Jun-08 21:46 
GeneralRe: Tools for coding rules Pin
namrata510-Jun-08 22:58
namrata510-Jun-08 22:58 
AnswerRe: Tools for coding rules Pin
Kevin McFarlane11-Jun-08 0:16
Kevin McFarlane11-Jun-08 0:16 
AnswerRe: Tools for coding rules Pin
Vasudevan Deepak Kumar11-Jun-08 0:20
Vasudevan Deepak Kumar11-Jun-08 0:20 
Questiontrailing zero in memory stream Pin
George_George10-Jun-08 21:32
George_George10-Jun-08 21:32 
AnswerRe: trailing zero in memory stream Pin
leppie10-Jun-08 23:31
leppie10-Jun-08 23:31 
GeneralRe: trailing zero in memory stream Pin
George_George10-Jun-08 23:41
George_George10-Jun-08 23:41 
Questionhow to dynamically load pictures from Resource file Pin
Raza Hussain10-Jun-08 21:14
Raza Hussain10-Jun-08 21:14 
AnswerRe: how to dynamically load pictures from Resource file Pin
J a a n s10-Jun-08 21:22
professionalJ a a n s10-Jun-08 21:22 
QuestionBuilding Internet Explorer Tracker Service Pin
shinboxe10-Jun-08 21:10
shinboxe10-Jun-08 21:10 
QuestionScope of variable Pin
Hum Dum10-Jun-08 20:55
Hum Dum10-Jun-08 20:55 
AnswerRe: Scope of variable Pin
N a v a n e e t h10-Jun-08 20:58
N a v a n e e t h10-Jun-08 20:58 
GeneralRe: Scope of variable Pin
Hum Dum10-Jun-08 21:58
Hum Dum10-Jun-08 21:58 
AnswerRe: Scope of variable Pin
Guffa10-Jun-08 22:32
Guffa10-Jun-08 22:32 
GeneralRe: Scope of variable [modified] Pin
Hum Dum10-Jun-08 23:30
Hum Dum10-Jun-08 23:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.