Example Code

Read Absolute Encoder Data from Yaskawa Sigma II Drive (LabVIEW FPGA)

Code and Documents

Attachment

Download All

The Sigma II servo drive made by Yaskawa Electric is able to read absolute positions from compatible absolute encoders. This information can be relayed externally via a serial data line on the drive.

The attached PDF details the connections and format of the data. To summarize, serial data is received on the PS line. The SEN signal must be set high to reset and thus synchronize with the continuous serial stream.

This code provides a serial implementation on LabVIEW FPGA for reading the absolute encoder position and alarm data from the drive.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Duane2k
Member
Member
on
From the FPGA, are you interfacing with a Yaskawa amp or directly to the Yaskawa servo with this? Also, do you know the protocol/message structure for writing position commands from the FPGA back to the Yaskawa servo?
Contributors