Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Edison 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
-
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
-
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
-
Well for me with the PLC it is as simple as
Call SetModOutPut (19,1)
That would turn on output 19
Hood
-
Hi£¬Hood:
That's ok,thanks!!
And how to output the word??
Thanks!!
Edison
-
heres a screenshot of the settings I have for the PLC.
Hood
-
Hi,Hood:
Your ModBusSettings send what to the PLC??
If I want to send 0x0fd to the plc, ....?
Thank
Edison
-
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