Home AMX User Forum NetLinx Studio

Rs232 Duet modules and serial servers

Hi all, we have a system where there are some projector with rs-232 control. They are far from the controller, so we choose to use ip to serial server.

We the duet modules on Amx site: they work well if we use a "true" netlinx device (like 5001:1:1) as comm port, but we have no idea with the IP port. It looks like that the duet module NEEDS a "true" device, not a socket.

We found that problem with every other duet module that use an rs-232 port.

Does anyone have solved this?

Thank you!

Comments

  • viningvining Posts: 4,368
    In define start open the socket yourself (possibly after a short wait). Also create your own data.event for the dev to monitor the connection of this socket and make sure you maintain your connection and re-connect if it drops.

    This should probably work unless the module does something stupid after a couple of failed com attempts in which case you might need to open the socket immediately and just deal with the nacks or errors you get when the module sends the port config commands to your device when it goes through it's dev online event code.
  • Spire_JeffSpire_Jeff Posts: 1,917
    I spoke with AMX about this a while back and as far as I know, there is now way to do this as of right now. I suggested that there should be a way to tie a duet module for an IP-serial adapter to a device module, but to my knowledge, this has not been accomplished yet.

    Jeff
  • Write your own bridge module using TRANSLATE_DEVICE() to interface the AMX comm module with the IP port.
  • viningvining Posts: 4,368
    Spire_Jeff wrote: »
    I spoke with AMX about this a while back and as far as I know, there is now way to do this as of right now. I suggested that there should be a way to tie a duet module for an IP-serial adapter to a device module, but to my knowledge, this has not been accomplished yet.

    Jeff
    I guess what I was thinking only works with standard modules since DUET mods do take over the comm port on a higher level which requires us to use the passback and translate commands just to access it. Another reason I don't use them.
Sign In or Register to comment.