PDA

View Full Version : mapping output to modbus address in Somachine (M258)


aqueousdan
December 5th, 2016, 09:25 AM
Does anyone have any knowledge regarding mapping my output (%QX0.0) to a MODBUS address in Somachine 4.1? I want to be able to read the status of this output using SCADA software eventually (Ignition)

I am pretty much unsure where to find information on this from Schneider. (No helpful user forums like there are for Siemens!)

Thanks,

Dan B

tragically1969
December 5th, 2016, 10:46 AM
Does anyone have any knowledge regarding mapping my output (%QX0.0) to a MODBUS address in Somachine 4.1? I want to be able to read the status of this output using SCADA software eventually (Ignition)

I am pretty much unsure where to find information on this from Schneider. (No helpful user forums like there are for Siemens!)

Thanks,

Dan B

Not SoMachine but he same principal....

http://www.plctalk.net/qanda/showthread.php?t=106777

gclshortt
December 5th, 2016, 11:00 AM
https://stevenengineering.com/Tech_Support/PDFs/45MANUAL_M258-PROGRAM.pdf

The I/Os are mapped to Modbus registers from Master point of view as following:
- %IWs are mapped from register 0 to n-1 and are R/W (n = Holding register
quantity)
- %QWs are mapped from register n to n+m -1 (m = Input registers quantity) and
are read only.

tragically1969 is correct. Look at the link he provided.

Regards,

aqueousdan
December 6th, 2016, 04:44 AM
Thanks for your help guys. I understand that I cannot directly map my input or output to a modbus address and so have followed the example to change the status of memory bit %MX0.0 instead.

Now I get the following error. I cant seem to work out how to map this to the modbus.