Author Topic: Single bit set or clear over comm link  (Read 10464 times)

mundie

  • Newbie
  • Posts: 1
  • I love YaBB 1G - SP1!
    • View Profile
Single bit set or clear over comm link
« on: September 04, 2002, 04:10:12 AM »
Is there a native protocol command to set a single output bit, or must I read the status of the output channel(8bits) and change the bit I want then write the output channel.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: Single bit set or clear over comm link
« Reply #1 on: September 04, 2002, 01:26:47 PM »
There isn't a native command that let you force a single bit ON or OFF so you do have to read in the output channel, make your changes and write back to the output.

MOBDUS does have a function that affects single bit which is function 05.  You could use the MODBUS ASCII protocol for such a purpose.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS