Prompt Message when defined input pin is triggered

If you have a question about the software please ask it here.

Prompt Message when defined input pin is triggered

Postby jonathanponz » Wed Aug 08, 2018 11:21 am

Hello,

I would like to ask how to integrate message prompts when my input pin is triggered.
Example:
Port2 InputPin10 was connected to my water flow sensor. If my pump got problem while running, I would like the machine to do Cycle Stop and will prompt a message saying that "Water Flow sensor fails" or any message I want.

Thank you.
jonathanponz
 
Posts: 1
Joined: Sun Mar 04, 2018 12:21 pm

Re: Prompt Message when defined input pin is triggered

Postby dezsoe » Wed Aug 08, 2018 12:44 pm

Hello,

Just create a macro e.g. M20000.txt in your current macro folder (Profiles\Macro_yourprofilename). (Number must be 20000..21999!)

Code: Select all
exec.Callbutton(130); // Press Cycle stop
exec.AddStatusmessage("Water Flow sensor fails");

Go to Configuration, I/O trigger, Input trigger and select your input port and pin, set function to 20000, if needed, select active low. Apply (or save) settings. Test!
dezsoe
 
Posts: 598
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 11 guests