Welcome, Guest
Username: Password: Remember me

TOPIC: 06 Write Single Register

06 Write Single Register 4 months 1 week ago #3087

  • Lenator
  • Lenator's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hello everybody,

I'm just an occasional programmer and I have a question about writing the 06 Write Single Register bit by bit.
(Tesla Scada 2.0 IDE Version 2.26.2)
Protocol address 1; Holding Register 40002; Bit 6
How do I define the tag for this?
Tag Settings:
Datentyp: Boolean
only write
SlaveID: 1
Point Typ: Input Register
Offset: 1
Datentyp: Binary
Bit: Bit 6

and further one button with toogle function.
This setting doesn't work...

I also can't figure out how to read the input/holding register bit by bit. sorry

Other tags work; just not this FC06 ?
I thank you in advance for your help.
Raik
The administrator has disabled public write access.

06 Write Single Register 4 months 1 week ago #3088

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 855
  • Thank you received: 126
  • Karma: -108
Hello Raik,

You have to use Point type: Holding Register instead of Input Register.
Also for connection to the real device you have to use TeslaSCADA2 Runtime instead of TeslaSCADA IDE.
IDE can only simulate.

Best regards,
Ruslan
The administrator has disabled public write access.

06 Write Single Register 4 months 1 week ago #3089

  • Lenator
  • Lenator's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hello Ruslan,

Thank you for your help, it's actually quite simple.
But I don't work with ModBus that often.

Have a nice day,
Raik
The administrator has disabled public write access.
Go to top