Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-16 09:10 PM
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
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: 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.
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.
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.
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.