Jump to content

Recommended Posts

Posted

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

  • MVP 2023
Posted

You must try to read two status byte from VFD.  Best way - read it via PC for test.

Then use the same modbus commmand in PLC.

You can use "numeric to bit" function for convert  VFD status bytes to 16 bit long vector in PLC.

 

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.