Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dexdyne

  1. dexdyne

    Linux Modbus TCP slave

    I've found 200 lines of code which do a simple example, and I'm going to give that a go. Our need is pretty basic, so having code we have hacked ourselves is probably reasonable.
  2. dexdyne

    Linux Modbus TCP slave

    I need to implement a simple-minded modbus-TCP slave in an embedded Linux system. My first port of call would have been TuxPLC, but that seems to have evaporated - anyone know why? In the absence, does anyone have a recommendation about where to start? There seem to be a couple of commercial...
  3. dexdyne

    Number formats in PLCs

    Thanks OldPfart I'm just going to hope that we never come across anything in BCD. What Omron models feature this 64-bit fpt then?
  4. dexdyne

    Number formats in PLCs

    Thanks - I've got a flowmeter in front of me that uses 32-bit fpt, and heaven help me, ASCII strings in modbus registers. I don't THINK it uses signed integers, but I haven't looked at all 100 registers yet :-( David
  5. dexdyne

    MUlti-register read on modbus

    Thanks mls1, We've got our own s/w in a box see http://www.dexdyne.com/netrix which does the Modbus reads. It will use a block-read on any adjacent blocks of registers, so we're half way there. The Modbus driver at our end is home-brewed, and I'm going to have to get the programmer guy to...
  6. dexdyne

    MUlti-register read on modbus

    I am aware that Modbus is seen as a set of 16-bit registers. I am aware that some of the numbers I'll want to read across a Modbus will need >1 adjacent 16-bit registers - floating point for instance needs 2 or 4. Similarly some data will neeed 32-bit integers, which could suffer in the same...
  7. dexdyne

    Number formats in PLCs

    Thanks Skogsgurra, I meant to say IEEE 754 - I can never remember either. Are you saying that I might encounter all of them, except the non-2-s-complement signed stuff? Do some PLCs really have 64-bit fpt? I know it's what PCs default to these days, so I guess PLCs will not be far behind...
  8. dexdyne

    Number formats in PLCs

    I'd like to find out what number formats are in use in a representative range of PLCs. I guess there's nowhere better to ask ??? We're reading values out of them across modbus. I want to know what possible formats I an expect to meet. I don't know how much flexibility the PLCs give to the...

Part and Inventory Search