HVAC and Pumping Forum
Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-07-14 11:06 AM
Hi All,
I am trying to map a Generic_Modbus_TCP_Slave. All input data should be mapped to a structure and all the output data to another structure. There seems to be no convenient way to do this. Interestingly when I setup the device as Ethernet/IP I can very easily map the IO connection.
The structure is also a mix of variable types where for example the first type is a DINT. There does not even seem to be a simple way to map from 2xWORD to a DINT.
This is the EtherNet/IP mapping.
EtherNet/IP Mapping
This is the Modbus-TCP mapping. The mapping displayed is the first object in the structure and is a DINT. I can't even see a method to map the 1st two words to this DINT.
Modbus-TCP Mappong
All ideas are welcome!
Thanks
Mark
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-07-14 04:53 PM
What Schneider Electric product and version does this relate to?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-07-15 08:02 AM
Hi Craig,
I am programming a TM241CEC24T using Machine Expert V2.0.
The Modbus TCP device is a Cool Muscle servo (https://docs.myostat.ca/display/MYOS/CM1-T+User+Guide). It uses a PLCopen Motion Control library and the IO needs to be mapped to the AXIS_REF. It is very simple to map the EtherNet/IP IO. So far I ended updating the library to have a union with a multiple word structure. This at least simplified mapping for the Modbus-TCP variant.
Cheers
Mark
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-07-17 10:27 PM
If you would add values to an Mobdus TCP Server you could alterative also asign global variables to a fixed memory space like (%MW0). Then you could read directly via Modbus these values. This possiblity is not very well documentated.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of