Page 1 sur 1

Vijeo citect SCADA fonction de marche momentanée

Posté : 25 sept. 2023, 15:17
par andala
Bonjour a tous,
Savez-vous si sur Citect il y a une fonction pour faire une marche momentanée comme sur vijeo designer pour un BP ?
merci d'avance

Re: Vijeo citect SCADA fonction de marche momentanée

Posté : 26 sept. 2023, 12:37
par tuscaonline
pulse()

Re: Vijeo citect SCADA fonction de marche momentanée

Posté : 26 sept. 2023, 14:28
par andala
Merci pour ta réponse
Donc si je met :
test==pulse(200)
la variable "test" restera enclenché pendant 200ms ? c'est ça ?

Re: Vijeo citect SCADA fonction de marche momentanée

Posté : 26 sept. 2023, 17:09
par andala
Ah non autant pour moi; Il faut mettre Pulse(Variable) et ça envoi une impulsion

Re: Vijeo citect SCADA fonction de marche momentanée

Posté : 27 sept. 2023, 17:57
par tuscaonline
De rien :D

Y a toggle() aussi à regarder

Re: Vijeo citect SCADA fonction de marche momentanée

Posté : 28 sept. 2023, 08:20
par andala
tuscaonline a écrit : 27 sept. 2023, 17:57 De rien :D

Y a toggle() aussi à regarder
Oui celui la c'est pour basculer ON/OFF mais je connaissais ;)

Re: Vijeo citect SCADA fonction de marche momentanée

Posté : 04 nov. 2023, 10:36
par sinced
Tu peux aussi utiliser les commandes UP et DOWN
Down command
Start = 1

Up command
Sleep(5);
Start = 0

Re: Vijeo citect SCADA fonction de marche momentanée

Posté : 09 nov. 2023, 12:16
par andala
Pas faux ! je testerai quand j'aurais un moment, merci du tuyau