Jump to content

I cant write integer in PLC flash (SM43-J-T20)

Recommended Posts

  • MVP 2023

Not sure what you're trying to do here. All operands are retained through a power cycle (if there is a functioning battery installed). If you want the register to assume a particular value at start-up, then you use the Power-Up value to accomplish that.

Looking at your program, MI 0, 1, & 9 have the power-ups checked. If you want MI 0, 1, & 9 to retain their last value, then uncheck that box.

Link to comment
Share on other sites

  • MVP 2023

A few other items of note:

1) Do NOT place multiple logic threads in a single ladder rung, as you are doing in the Szamlalo subroutine.

2) Do NOT use Direct Contacts to call an HMI screen - use Positive Transition Contacts.

3) No need to call the Start-Up Display with SB 2 - it will be called automatically at start up.

4) No need to set or reset operands with SB 2. Use the Power-Up checkbox for MIs and SET or RESET selection for MBs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...