Crystal1995 Posted April 15, 2024 Report Posted April 15, 2024 Buongiorno, sto eseguendo la stesura di un software con cpu TM323 scritto in codesys. ho creato un FB, vorrei poter visualizzare le variabili dell'FB esternamente ma non come in/out/in-out, quello che con il PLC siemens poi farei con delle variabili stat e visualizzabili tramite la DB. Qualcuno sa come fare? grazie mille
zanellatofabio Posted April 15, 2024 Report Posted April 15, 2024 tutta l'istanza dell' FB è usabile Non conosco il plc M323, anzi non lo trovo proprio come modello, ma la programmazione è la stessa per tutti i modelli a base codesys
Crystal1995 Posted April 15, 2024 Author Report Posted April 15, 2024 Usando i blocchi PLCOPEN da fuori all'FB non mi fa accedere... come puoi vedere nella seconda immagine non riesco ad accedere ai dati plcopen dichiarati nell'FB
Crystal1995 Posted April 15, 2024 Author Report Posted April 15, 2024 In ogni caso anche se creo un semplice FB Con una variabile bool dall'esterno non mi lascia accedere...
zanellatofabio Posted April 16, 2024 Report Posted April 16, 2024 Ciao, ma che versione di codesys usi?
Crystal1995 Posted April 16, 2024 Author Report Posted April 16, 2024 13 minuti fa, zanellatofabio ha scritto: Ciao, ma che versione di codesys usi? in realtà sto usando machine expert logic builder V2.2.1
zanellatofabio Posted April 16, 2024 Report Posted April 16, 2024 devi andare su tool, option, SmartCoding e mettere il flag su : Show all istances variables in input assistant
Crystal1995 Posted April 16, 2024 Author Report Posted April 16, 2024 Grandissimo.. ora funziona. grazie mille
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now