Hello Guest it is March 28, 2024, 08:13:58 AM

Author Topic: How to set the modbus output signal??  (Read 5065 times)

0 Members and 1 Guest are viewing this topic.

How to set the modbus output signal??
« on: October 14, 2008, 12:14:58 PM »
Hi,all:
   In the mach3 the modbus the input signal is set the port is 0 ,
but the output signal is mapping what??

Thanks for help!!

Edison
Edison

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: How to set the modbus output signal??
« Reply #1 on: October 14, 2008, 08:20:15 PM »
What are you trying to do? is it a PLC? Are you wanting to set an output from a macro or a button or?

Hood
Re: How to set the modbus output signal??
« Reply #2 on: October 15, 2008, 07:41:10 AM »
Hi£¬Hood£º
    Now£¬I design a board like ModIO, the input signal is test ok, but I cann't understand the output signal setup.
I want set the output like the input and can from a macro.

Thanks!!

Edison
Edison

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: How to set the modbus output signal??
« Reply #3 on: October 15, 2008, 08:15:05 AM »
Well for me with the PLC it is as simple as

Call SetModOutPut (19,1)

That would turn on output 19

Hood
Re: How to set the modbus output signal??
« Reply #4 on: October 15, 2008, 08:24:26 AM »
Hi£¬Hood:
   That's ok,thanks!!
   And how to output the word??

Thanks!!

Edison
Edison

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: How to set the modbus output signal??
« Reply #5 on: October 15, 2008, 08:50:12 AM »
heres a screenshot of the settings I have for the PLC.
Hood
Re: How to set the modbus output signal??
« Reply #6 on: October 15, 2008, 09:30:45 AM »
Hi,Hood:
   Your ModBusSettings send what to the PLC??
   If I want to send  0x0fd to the plc, ....?

Thank
Edison
Edison

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: How to set the modbus output signal??
« Reply #7 on: October 15, 2008, 05:41:12 PM »
I have no idea about what is sent, the registers in the PLC start at 2048 for inputs (PLC Inputs, Mach Outputs) and thats what I have set up in the above screenset.

Hood