Absolute encoder

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
konstant5
Posts: 6
Joined: Sat Dec 24, 2005 4:30 pm

Absolute encoder

Post by konstant5 »

Everyone has descrition about absolute encoders from siemens? I need many revolutions encoder with profibus but i dont have informatiom what kind and how it use.
CoMod
Site Admin
Posts: 3992
Joined: Thu Feb 16, 2006 3:25 pm
Location: Russia

Post by CoMod »

I use
http://ifm-electronic.ru/ifmuk/web/dsfs!RM3005.html

L Enc_Adr_DW //Read Dword from Encoder
L DW#16#2000 // My Preset value
-D

-----------------
FC EncSet
---- Preset function to position-----
A Front_Button_Preset //Front bit
JCN end
L DW#16#80000000 //Command WRITE
L DW#16#2000 // Preset value
+D
T Enc_Adr_DW

wait: L Enc_Adr_DW //wait preset end
L DW#16#2000 // Preset value
==D
JCN end //not ready
L 0 //Ready -> Command Normal Mode
T Enc_Adr_DW
end: BE
konstant5
Posts: 6
Joined: Sat Dec 24, 2005 4:30 pm

Post by konstant5 »

thank you