Internet PLC Forum

General => Technical support => Topic started by: kenobe on June 18, 2009, 04:04:52 AM

Title: hostlink command write outputs
Post by: kenobe 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
Title: Re:hostlink command write outputs
Post by: support 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.
Title: Re:hostlink command write outputs
Post by: kenobe 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

Title: Re:hostlink command write outputs
Post by: support 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.
Title: Re:hostlink command write outputs
Post by: kenobe on June 19, 2009, 02:15:27 AM
Thank you for your help
cheers!!