smichalo

MrPLC Member
  • Content count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About smichalo

  • Rank
    Sparky
  • Birthday 09/16/72

Contact Methods

  • Website URL http://

Profile Information

  • Country Canada

Recent Profile Visitors

2286 profile views
  1. Programming a bit shift

    Hi Roger and thanks for the reply. Your solution put me in the right direction. I kept the "AryShftRegister" function but I made these changes For the size I changed that to UINT 16. - This represented the size of shift register ( 16 bit ) I then created a data type called "Shift_Register" Basetype is UNION I created a new member under "Shift_Register" Called "Bit_Shift_Array" with a base type of Array[0..16] of Bool Then under global variables I created a tag called "My_Shift_Register" the data type is "Shift_Register" Which I created earlier. At the "InOut" of the function I put "My_Shift_Register.Bit_Shift_Array[1]. Now when my reject bit goes true Bit_Shift_Array[1] goes true and shifts one bit everytime the shift input on the command goes true. I added this rung of logic: My_Shift_Register.Bit_Shift_Array[6] Shift_Output |--------------------------------| |-----------------------------------------------------------------------------(O)---------| When it shifted to bit 6 in the array the " Shift_Output " would come on. This ended this little exercise and now I'm on to the next challenge. Wow! even with my relatively good english I still managed to confuse myself... No need to apologize for the bad english I got what you were trying to say... I hope this helps someone one day. Thanks Roger Steve
  2. Hello, I've just downloaded a copy of Sysmac Studio 1.04 and I'm just trying to get myself used to the new Omron software. I have experience programming with CX-Programmer and programmed many bit shifts using this software. For some reason I'm having a brain fart trying to program in the new software. I think it's more related to my unfamiliarity of the software but I have to admit I'm losing my patience. The function I'm using is "AryShftRegister" And this is how I got it configured Shift - Bool - I'm simulating the shift using a flash bit ( This is O.K. ) Reset - Bool - The tag is called Reset ( This is O.K ) In - Bool - The tag is called Reject ( this is O.K. ) Size - I put in UINT#1 I beleive this is to shift one bit at a time ( No error comes up here ) InOut - DWORD - I tried a tag called "dword_test" ( I get an error " DWORD type cannot be converted to 'ANY_BIT[]' Type" ) I tried another tag called "dword_test[0]" ( I get a different error called "The array dimension is not correctly specified" ) I tried many different data types. I also tried creating a global tag none of this worked. I'm a liitle confused with Omron data types. I thought they would be the same as rockwell as they follow the same engineering standard. Again I'll chalk this up to my unfamiliarity of the software but that is why I downloaded it. So I could learn it from the comfort of my couch rather than on the factory floor. Thanks for your help Steve
  3. Help With PWM command

    Thanks for the reply Sergei. I'm not looking to do any positioning. I just want to send the pulse train to the stepper controller and get the motor to turn. I was just using the help file that comes with CX programmer and the definitions for the PWM instruction come from there. I didn't see that the port specifier must be #1000. I will try to use the instructions you mentioned. ( I'm just experimenting and playing anyway ) Thanks Steve
  4. Help With PWM command

    Hello I was wondering if someone can help answer a question. I have a CP1L PLC with pulse outputs. I would like to connect to an AMCI stepper motor and controller just to play around with. Before I connect I wanted to program the PLC to send the pulses to the stepper controller using the PWM (891) command and the INI (880) to stop the pulse train. I set up the 891 command like this: ( the command does have the @ in it ) Port Specifier - #0000 Frequency -#1F4 Duty Ratio -#32 I set up the 880 command like this Port Specifier - #0000 Control Data -#3 First PV word- 0 The way I understand it, for the 891, I set up pulse output 0 to run at a frequency of 500Hz with a Duty Ratio of 50% when rung 1 goes true. and 880 will stop the pulse train when rung 2 goes true. What I'm seeing is when I turn on rung 1 Output 1 starts to flash. When I turn on rung 2 nothing happens. Output 1 stays on The ony time the INI (880) works is when I set the port specifier in both commands to #1000 and it is still output 1 that comes on... I thought I had it set up to turn on output 0 and turn off output 0 Can someone help me understand this. Thanks Steve
  5. Hi All I have an 1769-L35E compactlogix controller with on board ethernet and serial. I communicate through ethernet just fine but this morining I wanted to program with the comm port. ( ethernet cable was in my tool kit in the car, got lazy... ) So I used my rockwell supplied serial cable and adapter ( Part no. 1756CP/3A on the cable and A0101704061 on the USB Serial convertor ) and when I went to communicate I got the Unknown device and big red "X" in rslinx. My first thought was the EDS file but this is not the case. I flashed the firmware on the controller to V17 through the comm port so it did work at one time. But I did read in another post that upgrading the firmware through the comm port might render the comm port useless. The comm port LED is totaly dead so I am thinking this is the case. Is this possible? and if this is the case is the only fix to change the processor? I'm just curious I could live without the comm port. I just got off my booty and went to get the ethernet cable. Thanks Steve
  6. Thanks for your response Ken. I just read an e-mail from my distributor with just about the same response. He told me that the cost and effort are just not worth it. So my quest to get this panelview to talk to the Micrologix has now come to an end. I didn't think I could but sometimes you just never know unless you hunt for the answer. That's why I come to this forum, It's a great resource even if it is just for curiosity's sake. Thank-you Steve
  7. Hello I think I know the answer to this but here goes..... I have a Panelview 900 Cat. No. 2711-T9A1. I would like to connect it to a Micrologix 1000 PLC. The thing is this pariticular Cat No. of Panel view only comes with RIO for communications. It also has a DB9 Connector for a printer so I know this won't work. I know I could use it to program if I disable the printer function but I prefer the CF card anyways. After all the research I have done I've come to the conclusion that this Panel view cannot communicate to a Micrologix. I guess my question is has anybody ever been able to do this? Is there a protocol convertor out there that I could use? Is RIO similar to DH+?... I am new to RIO so if the questions sound crazy then I apologize This is more curiosity than troubleshooting. But I guess I just need to satisfy this curisoty.... Thanks in advance for any help Steve
  8. Hello I came across this in You-Tube and thought it was funny. This kind of sounds like my manager when he is trying to justify his hiring..... ( HaHa Just kidding Scott ) Check it out
  9. convert from AB to Omron

    Looking forward to it myself. I just ordered Cx-0ne and I'm looking forward to learning it. By the way I just downloaded the conversion and it worked great. Thanks again
  10. convert from AB to Omron

    Sorry for the late response and thank you. I've attached the PDF of the .RSS. ( Just if your curious as to how I did it in Rslogix. ) Sleepy Wombat. Thank you for your solution. I will type it up and let you know how it goes. I'm really starting to like the Omron product. I got the command book and I'm just starting to understand it. Very good product And once again this website has answered my questions. What a great site. Thanks to all REJ_CONV.pdf
  11. convert from AB to Omron

    I'm sorry about that. Yes I can and as soon as I do that I will post.
  12. convert from AB to Omron

    Hello I was wondering if you guys could help me. My back ground is Allen Bradley and I am trying to learn Omron. I wrote a quick little bit of code in Allen Bradley and would like to convert it to Omron. I've uploaded the .rss file for reference. What I'm trying to do is this. I installed a "crude" encoder in the form of a sprocket and metal sensor, This will tell me when the conveyor has stopped. If this conveyor stopped I want to turn on a reject output. When the conveyor starts back up I want to remain in reject mode for a period of time ( Yet to be determined but lets say 5 sec. ) and then turn the reject output off. Can someone help me convert my .rss code to Omron. The PLC I am using is a CPM1A and I am using SYSWIN to program. The reason why I'm doing this is because our bottles pass under an induction sealer and if this conveyor stops we want to reject anything that has remained under the induction seal. ( And also to get my hands dirty with some Omron programming ) Thanks in advance Steve rej_conv.RSS
  13. Counter Conversion

    Hello All Thanks for all your responses. All were very helpful. For this particular application accuracy was not very critical. It was just something I wanted to display to give us an "idea" of what we were running. That being said I did use SLCMAN's solution and it worked well. I got the speed on the panel using that logic. To be honest with you I was just curious if it could be done and once again this forum answered my question. Thanks again Steve
  14. Hello I just finished a project where I installed a redlion display that displayed how many pulses/min. Really easy to set up and a nice display. My question is this... On the next machine I plan on installing a touch screen operator interface. Is it possible to get the same pulses I used on the redlion, hook it up to the PLC scale it and display it on the touch screen? I will be using a ML 1000. The pulses will be coming from sensor that detects lugs on a conveyor belt. ( Used for bit shifting ) This is something I am just curious about. The redlion is a cheap solution so it's not a failure if I can't do it Thanks Steve
  15. Hello All I'm looking to broaden my P.L.C. programming horizon by learning how to program HMI's. Now I've done a little research on this and feel that the RSview 32 ME would best suit me and have found "The ViewTrainer" software for $179.00. to train me. My question is this... Before I spend that type of money on training does anybody have an opinion about this software? Is it worth it? Are there other options? I should also mention that I have never programmed an HMI before but have programmed AB P.L.C.'s. Is it good for a newbie such as myself? Any comments would be greatly appreciated Thanks smichalo