Jump to content
OMRON Forums

Assigning 'nan' to Gate3


Recommended Posts

I have noticed that if a 'nan' value is assigned into a Gate3[i].Chan[j].PwmFreqMult, then 0 is set to it.

Also, the IDE doesn't showed me any kind of error or warning when downloading.

Tested on:

  • FW:
  • CPU: PowerPC,APM86xxx
  • IDE:

Is this behaviour expected?


Edited by leandro.martins
Link to comment
Share on other sites

  • 4 weeks later...

This was allowed starting with firmware version to allow “fload” to restore PMAC variables saved as “nan” with the “fsave” feature.

From the “Power PMAC Software Reference Manual” in the chapter “FIRMWARE UPDATE HISTORY” starting on page 1656 (specifically on page 1658):

4. Permit “fload” of user variables that had been stored with “fsave” as “not-a-number” (nan). Previously resulted in abnormal program termination.

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.

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...