Author Topic: hostlink command write outputs  (Read 12170 times)

kenobe

  • Jr. Member
  • Posts: 66
  • I'm a llama!
    • View Profile
hostlink command write outputs
« on: June 18, 2009, 04:04:52 AM »
HI
Is it possible to use the hostlink command to control the T100MD 888 outputs directly?
ie:
     will WO0055* turn on the output device connected to the output of the T100MD 888 directly?
Thanks

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:hostlink command write outputs
« Reply #1 on: June 18, 2009, 02:24:28 PM »
Yes, "WO" command can be used to turn on but it affects all 8 outputs in an 8-bit group. So it is assumed that your host have knowledge over all the 8 outputs and can decide which individual bit to be set and then the whole 8 outputs are sent to the PLC in a single "WO" command.

You can also use "Wb" host link command to control individual output bit if you wish.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

kenobe

  • Jr. Member
  • Posts: 66
  • I'm a llama!
    • View Profile
Re:hostlink command write outputs
« Reply #2 on: June 18, 2009, 06:13:29 PM »
Hi
Thanks for your reply.
If the hostlink command contradict the program running in the PLC, who has the priority?

eg: plc program turns on out1 but hostlink command turns off out1, what wil be the result.
Thanks


support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:hostlink command write outputs
« Reply #3 on: June 18, 2009, 07:38:28 PM »
The output that is controlled by the PLC program will be changed for 1 scan time by the serial command and in the next scan it will be changed back to what the program dictates.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

kenobe

  • Jr. Member
  • Posts: 66
  • I'm a llama!
    • View Profile
Re:hostlink command write outputs
« Reply #4 on: June 19, 2009, 02:15:27 AM »
Thank you for your help
cheers!!