Internet PLC Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Internet PLC Forum
»
General
»
Technical support
»
hostlink command write outputs
« previous
next »
Print
Pages: [
1
]
Author
Topic: hostlink command write outputs (Read 12177 times)
kenobe
Jr. Member
Posts: 66
I'm a llama!
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
Logged
support
Global Moderator
Hero Member
Posts: 3174
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.
Logged
Email: support@triplc.com
Tel: 1-877-TRI-PLCS
kenobe
Jr. Member
Posts: 66
I'm a llama!
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
Logged
support
Global Moderator
Hero Member
Posts: 3174
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.
Logged
Email: support@triplc.com
Tel: 1-877-TRI-PLCS
kenobe
Jr. Member
Posts: 66
I'm a llama!
Re:hostlink command write outputs
«
Reply #4 on:
June 19, 2009, 02:15:27 AM »
Thank you for your help
cheers!!
Logged
Print
Pages: [
1
]
« previous
next »
Internet PLC Forum
»
General
»
Technical support
»
hostlink command write outputs