Author Topic: Baud rate setting via dig inputs  (Read 11092 times)

CMS

  • Newbie
  • *
  • Posts: 18
  • I'm a llama!
    • View Profile
Baud rate setting via dig inputs
« on: October 27, 2009, 07:16:45 PM »
In theory could I used the first scan function to read the state of a digital input and have the software set the baud rate accordingly???  PLC is F-series

IE

 DIG 1 true would set baud to 9600

 DIG 1 false would set baud to 19200

???

Many thanks

Daniel


support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Baud rate setting via dig inputs
« Reply #1 on: October 28, 2009, 12:07:50 PM »
Sure! That is definitely doable. In fact you can make it such that after the first scan that set the baud rate, everytime you flip your baud rate control switch the PLC baud rate can be changed. What you need to do is to make the switch control a [DIFD] relay for the "ON to OFF" detection and then run a custom function to switch the baud rate.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

CMS

  • Newbie
  • *
  • Posts: 18
  • I'm a llama!
    • View Profile
Re:Baud rate setting via dig inputs
« Reply #2 on: October 28, 2009, 06:17:27 PM »
Thanks again for the great backup

Cheers