5/18/2007 7:04 PM | |
Joined: 1/7/2006 Last visit: 11/17/2023 Posts: 2705 Rating: (315)
|
Hi, HAve you installed the FM 350-2 option package, when you did then there will be a example installed for STEP7 please look when you open a project in the "Sample Projects" tab, the third from the left, or the 2nd of the right Also directly with the FM option package the handbook and a getting started is installed. When not, then see the link Getting Started FM 350-2and all your questions will be answered. |
I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
5/21/2007 8:03 AM | |
Joined: 5/18/2007 Last visit: 4/24/2024 Posts: 24 Rating: (0) |
Hi I have been using the getting started fm 350-2 document and it got me started :) the only information i need now is how to reset the counter to 0 when the "zero-position" sensor is activated. And as i said in my earlier post i was not able to sort it out by reading the manual. I have looked at the sample project also without getting seeing how to do it and it's all in stl and thats make it's even harder for me to follow the code I have used the fm350-1 counter in the past and there it was really easy to reset the counter to zero so i guess it's quite easy with the 350-2 also but i fail to understand.. |
5/22/2007 4:26 PM | |
Joined: 3/27/2006 Last visit: 5/16/2023 Posts: 90 Rating: (13) |
I don't know why the high-speed counters have to be so complicated. I too have had trouble implementing the FM350-2. I studied the examples for hours and ended up just figuring it out on my own. When the gate is switched on the count is reset. For example, if the counter accumulated value is 9876543 and you turn the gate off, the count stays at 9876543 and will not change. When you switch the gate on, the count is reset to zero and the counting begins again. Here is my code. My application was a length measurement where I had to know how far a belt had travelled in meters per minute. Each second I sample the counter's PIW value, convert to real, multiply by 60 (to get 1 minute), and then divide by a constant pulses/meter to determine how far the belt moved. I never could get the Counter Read FC to work - that is why I amreading the PIW directly. If the counter starting address is 376 then PIW384 is the accumulated value for channel 0. AttachmentFm350-2_.zip (2479 Downloads) |
"I never let a cowboy make the coffee." |
|
This contribution was helpful to3 thankful Users |
5/23/2007 5:01 PM | |
Joined: 5/18/2007 Last visit: 4/24/2024 Posts: 24 Rating: (0) |
Haha was closing and reopen the gate all i had to do! that was easy. Thank you very much for all the help & the code |
9/17/2010 10:12 AM | |
Joined: 9/16/2010 Last visit: 9/17/2010 Posts: 1 Rating: (0) |
Hi, after 3 years, what you wrote was helpfull !!! Thanks. |
This contribution was helpful to1 thankful Users |
4/22/2014 11:28 AM | |
Posts: 340 Rating: (6) |
new question is splittet to PLC SF appear when I call FC2 |
5/14/2014 3:01 PM | |
Joined: 6/24/2013 Last visit: 4/26/2024 Posts: 1591 Rating: (409) |
Hi Working solution with homing and conversion to eng unit attached. The FC block is the init (call it in OB100). the FB is called in every scan. AttachmentFC203_FB200.pdf (736 Downloads) |
This contribution was helpful to2 thankful Users |
3/21/2016 3:12 PM | |
Posts: 6 Rating: (0) |
Dear Friends I am P. PradeepKumar working in Salem Steel Plant - Salem - Tamil Nadu - India as Automation Engineer . I am using FM350-1 counter Modules in 6 Coin Counting Machines which counts the Blank coins (Indian Rupee) and those counted coins are packed to Mint for Govt impression. Earlier i was using the FM350-1 Module, each per one machine. Thus i needed 6 Modules. Now I replaced all the 6 FM350-1 modules by a single FM 350-2 Module which can even be used for 2 more Machines (Total of 8 Machines) After Installing the CD, we get FC 2,3,4,5 and its respective FBs and DBs from the Library. Copy those into our program. Then call FC2, FC3, FC4 as shown in the attached program. The Batch number of 100 and 101 should be used before calling 'RD FC' to read the Counts contents in Double Word Format(DINT). All the 8 channels are working beautifully in DINT format. Pl see the attached program and use it Pradeepkumar Pl convey your feedback please AttachmentTEST_S7_21032016_6PM_Good.zip (469 Downloads) |
Last edited by: Min_Moderator at: 3/22/2016 2:27:22 PMContact data deleted |
|
3/21/2016 3:38 PM | |
Posts: 6 Rating: (0) |
Hai....Good Morning.... I am Pradeepkumar working in Salem Steel Plant Salem Tamil Nadu India. Pl go thro the attchment program and do modify your program, it will work. After Installing the FM 350-2 Installation CD, Copy the FC 2,3,4,5 and its corresponding FBs and DBs from Library and paste all into your program. Then call them as shown in my program with out forgetting to write the Batch number of 100, 101 before calling the 'RD FC' . I am using this program for my 6 counting machines to count the blank coins in our Coin Blanking Line. I replaced 6 Nos of FM350-1 module by a single FM350-2 Module. Now i can go for 2 more machines as it works for 8 Channels. We can get the DINT format(32bit) count output. Pl go thro the attched program and use it. Tell me your feedback Pradeepkumar AttachmentTEST_S7_21032016_6PM_Good.zip (378 Downloads) |
Last edited by: Min_Moderator at: 3/22/2016 2:27:35 PMContact data deleted |
|