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
»
Sequencer control from within a CusFn routine?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Sequencer control from within a CusFn routine? (Read 10348 times)
skj1402
Newbie
Posts: 28
The Innovator!
Sequencer control from within a CusFn routine?
«
on:
October 22, 2005, 08:25:52 AM »
Is it possible to control a sequencer from within a cusfn routine?
I need to reset a sequencer back to level 1 if a certain logical condition is met from within a custom function. Any example would be appreciated. Thanks!
Logged
support
Global Moderator
Hero Member
Posts: 3174
Re:Sequencer control from within a CusFn routine?
«
Reply #1 on:
October 22, 2005, 11:08:52 AM »
Yes, the step counter for Sequencer is the counter #1 to #8, so to change the step for Seq1, just reassign CTRPV[1] to a new value:
CTRPV[1] = 1 ' to change it to step one.
Logged
Email: support@triplc.com
Tel: 1-877-TRI-PLCS
skj1402
Newbie
Posts: 28
The Innovator!
Re:Sequencer control from within a CusFn routine?
«
Reply #2 on:
October 22, 2005, 12:05:56 PM »
Thanks for the quick reply and for the solution!
Logged
Print
Pages: [
1
]
« previous
next »
Internet PLC Forum
»
General
»
Technical support
»
Sequencer control from within a CusFn routine?