Jump to content

How to read modbus frequency inverter status


Recommended Posts

I succeeded in writing frequency data to the yaskawa drive for speed change.
but I was not successful in reading the status bits from Run,Ready...and others.
Could you give me a hint on how to read these bits? this drive does not mention read bits,coil but only registers.

how to read individual bits and show on display.
I'm using a mink 130.

Thanks for any help, no idea how to do it

For writing I used this FB

image.png.5a5fbfa43de8a3473da715d84c461cdc.png

 

image.png.5162bdcaa87cdf85d16dd8e6051b4806.pngimage.png.ce28a23c8c664ca4091204c53734d64a.png

Link to comment
Share on other sites

3 horas atrás, kratmel disse:

Você deve tentar ler dois bytes de status do VFD. Melhor maneira - leia-o via PC para teste.

Em seguida, use o mesmo comando modbus no PLC.

Você pode usar a função "numérico para bit" para converter os bytes de status do VFD em um vetor de 16 bits no PLC.

 

obrigado pela ajuda vou tentar fazer

Estou fazendo um teste e não entendo porque colocar os quatro mbs em 1 não deu um total de 15

#EDIT: nevermind, already found the issue

image.png

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.

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