2/6/2013 8:17 PM | |
Joined: 9/27/2006 Last visit: 8/23/2024 Posts: 12279 Rating:
|
Hello Jalil; What type of encoder are you planning to use? You can use a built-in High-Speed counter (HSC) with an incremental encoder on a S7-200 CPU: (From the S7-200 System Manual: S7-200 System Manual, starting at page 118) Typically, a high-speed counter is used as the drive for a drum timer, where a shaft rotating at a constant speed is fitted with an incremental shaft encoder. The shaft encoder provides a specified number of counts per revolution and a reset pulse that occurs once per revolution Some help and hints from the forum: Encoder reading from S7 - 200 CPU 226 What are S7-200 Programming Tips and where can I obtain them? Download the Tips and Tricks and open Tip #4. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 2/6/2013 8:18 PM |
|
This contribution was helpful to
1 thankful Users |
2/14/2013 9:50 AM | |
Joined: 4/22/2010 Last visit: 5/3/2024 Posts: 5697 Rating:
|
Hello, Sorry you can't use this encoder (directly), you need 24V pulses. With a TTL to HTL converter, i.e. this one you can use this encoder. Regards, Marcjan |
Problem solved? |
|
This contribution was helpful to
1 thankful Users |
2/17/2013 7:16 AM | |
Joined: 3/21/2006 Last visit: 7/26/2024 Posts: 10228 Rating:
|
Is that CPU 224XP? Because only PLC224XP can "detect" 5V inputs and outputs. Best regards, Hristo Mihalev
|
Follow us on