Hello,
Is there any way to detect the power-on event on KFLOP; kind of system bit that is automatically set or a function that is automatically called on power-on. This can be used, say, for executing the Init program.
What are the available diagnostic registers/bits to detect malfunctions on KFLOP and the connected boards.
Thanks.
Detecting Power-on & Diagnostics
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2636
- Joined: Mon Dec 04, 2017 1:49 am
Re: Detecting Power-on & Diagnostics
Hi smartmc,
Initialization on power up is not normally necessary or desirable. Usually better to wait for an Operator to reset the system.
Are you flashing programs to KFLOP? We don't normally recommend that.
Any Flashed Programs set to launch on power up will be executed on power up.
Otherwise you can detect a reset by doing something like turning off a KFLOP LED (Bit 46) when the system initialzes. If the LED comes back on there must have been a reset.
Please explain what you are doing and trying to accomplish and we might be able to better help you.
Status from option boards is dependent on the board type. Which option boards do you have and what malfunctions do you expect to detect?
Initialization on power up is not normally necessary or desirable. Usually better to wait for an Operator to reset the system.
Are you flashing programs to KFLOP? We don't normally recommend that.
Any Flashed Programs set to launch on power up will be executed on power up.
Otherwise you can detect a reset by doing something like turning off a KFLOP LED (Bit 46) when the system initialzes. If the LED comes back on there must have been a reset.
Please explain what you are doing and trying to accomplish and we might be able to better help you.
Status from option boards is dependent on the board type. Which option boards do you have and what malfunctions do you expect to detect?
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Detecting Power-on & Diagnostics
Hi Tom,
I'm trying to detect the power-up to execute initialization and possibly set some other outputs to put the machine in an initial state automatically without operator intervention.
Only C programs to be flashed!
For the diagnostics, on KFLO and Konnect, how to detect that the board is malfunctioning, if an output is defective, etc. to notify the operator, and shut-down the machine in a safe way on such events.
Best regards.
I'm trying to detect the power-up to execute initialization and possibly set some other outputs to put the machine in an initial state automatically without operator intervention.
Only C programs to be flashed!
For the diagnostics, on KFLO and Konnect, how to detect that the board is malfunctioning, if an output is defective, etc. to notify the operator, and shut-down the machine in a safe way on such events.
Best regards.
- TomKerekes
- Posts: 2636
- Joined: Mon Dec 04, 2017 1:49 am
Re: Detecting Power-on & Diagnostics
Hi smartmc,
See my previous response.I'm trying to detect the power-up to execute initialization and possibly set some other outputs to put the machine in an initial state automatically without operator intervention.
I don't understand what you mean by this.Only C programs to be flashed!
I don't understand how an output can be defective or how KFLOP could detect this.if an output is defective
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Detecting Power-on & Diagnostics
Hi Tom,
I've been using SIEMENS CNC controllers and PLCs so I'm trying to figure out how to implement the same functionalities with KFLOP.
I became confused about this; from User Manual/C Program "After programs have been developed and tested they may be flashed into memory and run stand alone with no host connection".
Is this not recommended?
"Any Flashed Programs set to launch on power up will be executed on power up".
How do I set a program to launch on power up?
Regards
Just purchased KFLOP + Konnect and starting to learn to use it in machine retrofit.TomKerekes wrote: ↑Sun May 08, 2022 3:59 pmPlease explain what you are doing and trying to accomplish and we might be able to better help you.
I've been using SIEMENS CNC controllers and PLCs so I'm trying to figure out how to implement the same functionalities with KFLOP.
I became confused about this; from User Manual/C Program "After programs have been developed and tested they may be flashed into memory and run stand alone with no host connection".
Is this not recommended?
"Any Flashed Programs set to launch on power up will be executed on power up".
How do I set a program to launch on power up?
Regards
- TomKerekes
- Posts: 2636
- Joined: Mon Dec 04, 2017 1:49 am
Re: Detecting Power-on & Diagnostics
Hi smartmc,
As I said before most Users find it unnecessary and potentially dangerous to automatically enable the system on power up. Better to wait for an Operator to request it and then this makes flashing unnecessary. See also here.
HTH
We don't recommend it when not necessary as it can be confusing as there isn't an easy way to determine the state of the board. Which makes upgrading or replacing boards more difficult.I became confused about this; from User Manual/C Program "After programs have been developed and tested they may be flashed into memory and run stand alone with no host connection".
Is this not recommended?
As I said before most Users find it unnecessary and potentially dangerous to automatically enable the system on power up. Better to wait for an Operator to request it and then this makes flashing unnecessary. See also here.
Check the launch on power up checkbox before Flashing."Any Flashed Programs set to launch on power up will be executed on power up".
How do I set a program to launch on power up?
HTH
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.