Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Switch Button wont update #1579

Open
chaosyoh opened this issue Jan 19, 2025 · 2 comments
Open

[BUG] Switch Button wont update #1579

chaosyoh opened this issue Jan 19, 2025 · 2 comments

Comments

@chaosyoh
Copy link

Describe the bug
switch button Set 'On Value' 1, but value in device dont change in some case( is excepted ). the switch button always at On position, but the vlaue in device is 0 in fact, and it won't update

Expected behavior
switch button update UI in the next reading from device even if the value is same as the previous value

Screenshots
Image

Environment

  • FUXA version: 1.2.3-2139
  • Node.js version: 20.04
  • npm version: 10.9.2
  • Platform/OS: windows
  • Browser: edge
@chaosyoh chaosyoh changed the title [BUG] [BUG] Switch Button wont update Jan 19, 2025
@unocelli
Copy link
Member

Hi, I'm not sure if is a problem the nodejs version (supported is 18) and eventually we need more info

@chaosyoh
Copy link
Author

chaosyoh commented Feb 5, 2025

Think you for your reply. I try again in the nodejs version 18, but sadly it happened again.
My device is Siemens S7-1200, when I click the switch button, it send the value 1 to plc, but the tag in plc won't change in a scan cycle because of some reason, see more detail in the following pic
program in Siemens S7-1200:

Image

In my Siemens HMI, it will switch to OFF position quickly after a click, I except the same in FUXA,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants