- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-16 09:10 PM
M172 modbus slave
Hi @all
I use M172 as a device slave.
Attach the digital input to a register address in the status variable. I used the Modbus poll to read that address. it's ok. but I want multiple digital inputs to be on the same register which is binary 0000111...
eg digital input1 : 40001.0
digital input 2: 40001.1
digital output 1: 40001.2
how can I do it please help me make it
Thanks
- Labels:
-
HVAC
-
Modicon M2xx
- Tags:
- english
Authentication Failed.
- Authentication Ticket Mismatched, failed authentication.
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-22 12:42 AM
The address range of the status variables did not offer the possibility to add values in this range. The useable address range is between 8960...13959. I would suggest you use the non IEC syntax which means 40001->1. TM17x use generally the IEC Syntax.
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-22 01:12 AM
If you need on TM172 a value on Modbus Register 1 (40001) to be compatible with an other device you have the follow non official possiblitie which is not tested in deep detail and which you have to validate.
If you create a BACnet Objekt you could add to this object a Modbus Address so far you activate publish. In that case you could use any Address you want. If you choos 1 have the possiblity to read Modbus Value on Register address value one. In the programming part you could then write values to this Object.
as said befor you need to valid this option for your own.
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-10-10 03:17 AM
Greetings!
As I understand you just need to use BIT_TO_BYTE function.
You assign DI's as inputs and your status variable as an output.
Link copied. Please paste this link to share this article on your social media post.

