darkxp
MrPLC Member-
Content count
6 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout darkxp
-
Rank
Newbie
Profile Information
- Country Portugal
-
well, thnx, ive done that before... i get 1000 ppr, but, in "true life" i get like 80 000 ppr because of the motor redution, a mecanic system to get 80rev / 1 motor rev. ok, now the problem is to count pulses in terms of cm or mm, i dunno how to do an IF in ladder, or the < or > conditions... something that i want would look like: 1: (start motor) if (pulses > 5000 and pulses < 5500) (stop motor) else goto 1 when i give the instruction to go 1cm ... (i measure 5000 pulses like 1cm) how can i get this? thnx :) i wish i can install ansi C in a PLC! LOL
-
hi there... the encoder have 1000ppr :) i get more less accurate now! :) well no multiplier (or by 1), and i get some accurate pulses in up and down counting. well, now i need to get less resolution and a way to control the motor the go near a number os pulses, im figuring out how to do this one... also how can i put the coors in outside the PLC to get the plc doing the job... :) thnx for the amazing help! :)
-
Hi there! :) thnx for the reply... as i said, my main problem isnt the way plcs works, but the way they show info in samples... lol well, now i can get the values from the counters... :) well, now i cant get the settings to reset the counter to zero in the card. and i have tooooo many impulses... like 80.000 per motor revolution... so... how can i get less? division will get me using real numbers.. :( well, tomorrow i will try to get any info at this... and how to reset the values in card memory to match the axis 0...
-
hi there... i do undestand ladder (at least with this symbols), and i can get alot things to work. the problem are the slots, and the special card... this is all new to me! so, now i think i got the card running... but i dont get the count values! here is the screen shot from the configurations... can u chenge the instructions in the to, set, dfro, etc... to a symbol ones (like melsec medoc), one of my problems in this is the samples from the datasheets... well, thnx for the help! :) i think we are almost there... i just want to count the value, to use the position to move motor up and down... thnx where can i get a sample code of that?!!? (to read with melsec), is the only program that i have! thnx in advance!
-
hi there, im using this code, but i still cant get it working, dunno why... so, 2 pages from my code, and 2 from the datasheet... can anyone help me what im doing wrong? i dont get how to put the vars inside the code, cuz the datasheet uses different ladder diagram... thnx for all, and let me know what im doing wrong!
-
hi there, can anyone help me to activate this card and put it counting the 1st a b z channels of a shaft encoder (scancon 2rm1000) well connected (worked before, but the plc got a reset...) PLC: a1SH, A1SD62(E) card in slot 3 (from 0) it's for a school project! :) thnx in advance to all