Is there a system variable to check if fanuc robot is moving?

Hello, Is there a solution to check if fanuc robot is in motion? I want to share this inormation with PLC. thanks for help.