tipex

MrPLC Member
  • Content count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About tipex

  • Rank
    Newbie

Profile Information

  • Country Norway
  1. Problem solved, the standard DB-9 RS232 wasn't that standards anyway, but more like an RS232 Null-modem with gender-change. Recieved a pin-out like this: TxD 2 = 2 RxD RxD 6 = 3 TxD CTS 3 = 7 RTS RTS 7 = 8 CTS GND 5 = 5 GND Also the pin 4 DTR and 6 DSR on the computerside had to be shorted. Figure this is null modem cable with loop-back handshake?
  2. While trying to connect to an Bosch Rexroth HNC100 controller through both profibus and directly with serial I can't seem to find the device. Used an Cisco-router to check that the COM-port and cable in use is function correctly so there shouldn't be any problems there. The HNC100 have only two LEDs to display status one "Run" and one "5V CPU". The 5V CPU is on, but the Run-LED is dark. I'm thinking it probably only turns on when the HNC100 is running an NC-program and that it should allow me to connect to it with no regards to what run-condition it's in. Anyone with personal experience with this or any good suggestion how to solve this? Tried calling Bosch Rexroth but they didn't figure it out.
  3. Best Practice PLC Programming

    Going on step deeper than program-layout, how do you arrange your memory allocations? Symbols sure is a fine thing, but as a pedant I also prefer the memory adresses to make some sense. Like CIO 0-100 for digital I/O, CIO 500-999 for HMI(and similiar in D-memory for non-bits) and if it's a step-oriented program, CIO 1000.00 for step 1, CIO 1000.01 for step 2, etc. Keeps it easy to sneak in steps between later on without getting an too unlogical structure adress-wise.
  4. I'm working on a robotcell which involves three machines and one robot. All machines have their own control cabinets provided by the manufacturer and all have their own emergency safety relays for cat 4 compliance. I need to connect all the individual emergency buttons in such a manner that I still succeed keeping it cat 4 or at least cat 3. Any rants on how to do this the best way or any objections on interconnection of the safety relays?
  5. High-speed counter Interrupts ON CP1H

    After some testing I conclude with that I can't simulate the high-speed counter the way I attempted. Probably just have to wait until I get the physical PLC before I can check if my approach is correct :/
  6. High-speed counter Interrupts ON CP1H

    I'm most likely way of with the Counter. Tried som other experiments with just read//write/IO-simulation and it does not count or anything. Something smell like fubar.
  7. In an attempt to learn using interrupts I'm trying to use an interrupt for position a conventional induction motor connected to a linear axis. The motor is controlled by a V7 frequency converter with profibus connectivity. After reading som docs on the comparison table and making interrupt execution from the value of the High Speed Counter I tried to make a small program to test with. As far as I can understand I need to make an position table and load it with CTBL. The docs states this instruction is only avaliable with CPU21/22/23, but CX-programmer should give me a warning if this is not compatible with CP1H, just like it does if i set the PLC to CPU11? So, I've made my self a table using MOV that looks like this; D100 = #0001; D101 = #1000; D102 = #0000; D103 = #0010; Load the table with CTBL #0 #0 D100 and sets a value for the High Speed Counter input using INI #10 #2 D10 where D10 contains #1000/999/1001 after I change it. Then I have a program which is set as Task Type: Interrupt Task 10 and it sets an output. But when I simulate this the run count for the interrupt never increases and the output never changes(using differential monitor). Is it my approach that is plain wrong or is it not possible to simulate it like this? interrupt.zip
  8. Problems with an SICK encoder

    Just me making a stupid and timeconsuming error. As I started I was not aware of the n+1.00 bit that had to be set to open channel 1 for counting. And when I couldn't get it to work I used the scope on the encoder at channel 1. Everything was fine and the pulses arrived. After some reading through the docs I found this bit and set it. The diode turned on, but I could not get a counting value and wasted a lot of time here. What happend was that the encoder was badly mounted by the mechanic, so the axles of the encoder and motor it was connected to collided and pushed the axel of the encoder backwards/inwards causing it to stop working.
  9. Problems with an SICK encoder

    I have an CJ1M-CPU12 PLC with a CJ1W-CTL41-E module as module number 2(after an AD041) and one ID232 and a OD232 following. For connecting an SICK DKS40-E5J02000 encoder to the CTL41-E I use a XW2G-40G7-E connection block. According to the information from SICK this is an 6-channel "HTL"-encoder and as far as I know this is "High Transistor Logic", meaning it uses high voltage(>5V). The voltage area is specified to 10 to 30V so I feed it with 24V DC. Measuring voltage between the white and brown wires gives me an alternating voltage(when rotating the axle of the encoder) of 24V and -24V. So I leave the jumpers on 40G7-E block in their 24V position and not in the Line Driver setting. Using a scope, connecting to 0V and placing the probe on connection point of the white wire gives me some kind of pulse, but with a very low voltage(~0.2V). Any ideas on what I'm doing wrong here? Should the 40G7-E be jumpered as line driver signals? And what is the correct way for connecting a scope to look at the pulses from the encoder?