andrea.marinacci Inserito: 21 agosto 2014 Segnala Inserito: 21 agosto 2014 Buonasera a tutti Mi stò impazzendo (credo inutilmente) a trovare un modo per trasmettere un valore da un PLC a 16 bit (ml1100) su di un drive a 32 bit (pf753). Mi spiego meglio, devo scambiare la speed command attrraverso un message , ho provato a convetire un reale in 2 interi , ma il plc va in fault per un Overflow. Qualcuno sa indicarmi se esiste un modo? Grazie
drugo66 Inserita: 21 agosto 2014 Segnala Inserita: 21 agosto 2014 Ciao, vedi se ti puo' servire l'istruzione Scale Data - SCL; dal manuale: When this instruction is true, the value at the source address is multiplied by the rate value. The rounded result is added to the of fset value and placed in the destination. a suo tempo l'avevo usata appunto per "scalare" un valore di velocità da reale ad intero ...
Messaggi consigliati
Crea un account o accedi per commentare
Devi essere un utente per poter lasciare un commento
Crea un account
Registrati per un nuovo account nella nostra comunità. è facile!
Registra un nuovo accountAccedi
Hai già un account? Accedi qui.
Accedi ora