PLUS+1 User Forum
PLUS+1 Tools => PLUS+1 GUIDE => Topic started by: Lukey on October 06, 2023, 09:53:30 AM
-
Hello,
I am having issues compiling a program with EMD Speed Digital Direction Function Block.
Library EMD Speed Sensor ver: 11115595v102 is the version I have, I have tried blocks EMD_SPD_DIR and EMD_SPD_DIR_D_A_ with no success, I receive the same compile error, viewing logical net tells me it's related to code inside the block as I receive message unable to view disabled page, directing the error to a page I cannot see therefor I think maybe these function blocks are broken?
Anyone else experience this?
-
Hello,
What does the compile error say?
Are all the input signals the correct type?
If you use constants, make sure you use typed constants, not auto-typed. A very common issue.
-
Maybe the time to send the autotype-constants in retirement is overdue: the benefits are close to non existant, the issues caused by data type errors ...
-
Hi G3ORG3,
I agree!!
-
I did not try constants instead of autotypes, as I found out with the assistance of Ryan from Help Desk that I was addressing input from an expansion module which do not have the HW "Per." capabilities for the FB to work correctly.
Tip for young players, read/plan carefully the pin requirements of the hardware FB prior to selecting the hardware.
-
Thanks for sharing the information Lukey.
Have a nice day.