Interfacing Rotary Encoder to Mitsubishi FX5U PLC
Incremental Rotary Encoder to Mitsubishi FX5U PLC by utilizing High Speed I/O.
1) Mitsubishi FX5U PLC
2) Incremental Encoder
3) 24V SMPS
Works3 (Version 1.054G)
Start the GX Works 3, and create new project.
In the left navigation panel expand options as follows:
Project > Parameter > FX5UCPU > Module Parameter > High Speed
Click on Detailed settings in front of High Speed Counter Option.
Enable Channel 1 (CH1) and Channel 2 (CH2) by selecting > Use/Not Use
to ‘Enable’ from drop down list.
Set the pulse input mode of both CH1 and CH2 to ‘2 Phase 1 Multiple’ as
Input Response Time from Module Parameter navigation in left.
the Response type for X0 to X7 to ‘High-Speed’ and set response time to ‘No
Settings’ for X0 and X1.
6) Click the Check button, and
the No Error Found Dialogue should pop up. If so, Click Apply and proceed
further. If no, click Restore Default Settings and Set up again.
Ladder program in main program body as shown
all and download the program into PLC including modified CPU parameters.
Select ‘Parameter + Program(F)’ and then ‘Execute’
and wait for the download to finish. After the Download is completed, Reset the
download is completed, reset the PLC
the Count in SD4500 register in the PLC memory by rotating the encoder shaft to
a full rotation .This count should match with PPR rating of encoder relative to
initial value of counter and direction of rotation with respect to its sign.
We understood the working and
Interfacing of Incremental Rotary Encoders to Mitsubishi FX5U PLC and also, we
verified the output count.