ParaffinPower

MrPLC Member
  • Content count

    453
  • Joined

  • Last visited

Everything posted by ParaffinPower

  1. Smart solution for converting ASCII to HEX and comparing

    I guess the {20} (spaces) are used to pad the reply to the same length. I don't know the scale type, but I used a MettlerToledo scale recently, and this was the case. Can we use the HEX instruction (ASCII to hex conversion) - here's an example of it. Thinking more, does this work....? Take the raw byte character, AND with 2#11001111 and you're left with the decimal. Then (100*FirstNumber)+(10*SecondNumber)+(1*ThirdNumber) is the whole value? Footnote - Maths in the CPM2 is my worst nightmare.
  2. F7 inverter on Ethernet

    Hi Guys Happy new year to you all! Has anyone used the CM090 Ethernet option board for the F7? I can't find a manual. Cheers
  3. V4.0 CPU and CX-Prog V6.x

    Hi Guys I've sent a program to a customer which I used V7.0 CXP. When he tries to open it, it's asking for a V4.0 CPS file. He's using V6.1 I'm not using any V4.0 features, so is it possible for him to install the required CPS, or can I change the V4.0 to V3.0 in the program? Thanks
  4. V4.0 CPU and CX-Prog V6.x

    Hi all I think I may have a solution if anyone comes up against this problem. I copied the CJ1____xxxxx.XML file from my installation, and using CPS install (IO table), installed it. It seems to work. Cheers
  5. NCF supports 16 axis. And... M=motion controller (MCH, MC402, MCW151) N-position controller (position loop closed in drive - NCF, NC413, NS115, 300, 600...) Cheers, Pp
  6. Devicenet remote I/O

    Hi Chainsaw I don't think you can ignore the status Word. This is one of my criticisms of CX-Integrator. I'd like to be able to split the data coming in (status and I/O). That, and the I/O mapping box TOO SMALL!!!
  7. cx designer help

    You could try this... Enter all your alarms... In the PLC, if any alarm exists, then write the popup number to here... And on the popup screen, put an alarm viewer object...
  8. V7's on DeviceNet

    Hi guys I've got three V7's on Devicenet (DRM21 master). Works no problem. I'm using Instance 21 (15Hex) output and 71 (47Hex) input (standard speed I/O) with polled messaging. It's 4 bytes in and 4 bytes out. What I'd like to do is tag on instance 154(9AHex) on the end as COS messaging. This is 2 bytes in. I'm Using CX-Integrator V2.0 I either seem to get an exclamation mark under the inverter icon, or an I/O mismatch. Any idea what the default connection path should be? The 4 bytes under COS output always comes back??? It looks right! (apart from this) Any guidance gratefully received Pp
  9. shaker

    Hi From the Omron stable, a CPM1A will suffice. Pp
  10. Connect CJ1M-CPU22 to NT3S-ST126B-E

    Hi NTXS should look something like this. Plc hostlink address of the perripheral poert is zero. As you say, after setting this bit up, you have to download the firmware before the application. Cheers, Pp
  11. electronic scale ith RS232

    Nice reply, Eric Point of interest: Has anyone used the string manipulation and comms support within Structured text FBs (V4.0 processors only)? It is a massive leap forward - very useful.
  12. NS language selection

    Perfect. Thanks, pal
  13. Connect NS to Mitsubishi PLC

    Can you get CX-Designer v2.0? It's available in this.
  14. Transferring data block PC to an NS

    Hi Guys, I need to transfer a datablock from a PC into my NS via Ethernet. I'm using datablocks on the NS already. Anyone got any pointers? Guess I need to use an FTP program. Does the file need a specific name? Specific location? Thank you
  15. Protocol Macro - INT to ASCII

    Answered my own question. New type of conversion added in CXP V7.0 within FB's. Talk about good timing! Pp
  16. Protocol Macro - INT to ASCII

    Hi Guys, Wonder if someone can help me out here. I'm deep in a project with enough SCU21's to sink a ship. One of the SCU's is talking to a inkjet printer, and I need to send it a DINT to print. If my DINT is 1234, then I want to transmit ASCII 1, 2, 3, 4. However, I'm using message variable "Variable ASCII" (CX-Protocol terminology) which looks like this $(R(10),8) What this does though is interpret my number as BCD (I think), then convert this to ASCII i.e. not what I'm after. As I see it, my option is to manually convert 1234 to ASCII 1, 2, 3, 4 then send this as a "Variable" (CX-Protocol terminology again). This would prompt me to write a conversion FB which must be useful to others? Or is there some wonder instruction that does what I need? From memory, I can convert DINT to FLOAT, then FLOAT to STRING? And transmit this directly. As I mentioned, I've got SCU's coming out of my ears, so this probably won't be my last question. Thanks, Pp
  17. CIF31 won't talk to CJ/CS

    Guys This is the latest CIF31 driver. Seems to have cured the blue screen of death seen with original driver. Pp CIF31Driver.zip
  18. NS macro syntax

    Nice one, Bits. Mine was E1-04. Cheers
  19. NS macro syntax

    Hi guys Currently exploring Macros on the NS, and having a bit of trouble with the syntax. In the first instance, I'm trying to write to bit 100.0, and got this far... WRITEHOSTB(SERIALA:100.0,1) The command description (bottom right) reads more like a cryptic crossword clue. I've got manual V075, but this instruction doesn't get a mention. Thanks - Pp
  20. CS/CJ multitasking

    Hi all. Couple of queries. (from CXProg help) This I didn't know. If I have 5 cyclic programs, they get processed together? When does the I/O get refreshed? One more thing, I can't seem to declare a program as "Power on"... Any ideas? Thanks, guys Pp
  21. CS/CJ multitasking

    Hi Nibroc That's as I thought it happens, it's just when I stumbled across the "true multitasking" line in the CxProg help that got me wondering. Thanks for the reply
  22. Suggestions for starting from scratch

    I guess it depends where you are. In the UK it lists at £945. Sounds costly, but it supports every current plc, plus some not current), software for inverters/servo, hmi software, DeviceNet, Profi, and more. And you could always beat your rep until the price is more agreeable. Pp
  23. C20 I/O

    Hi Guys A custonmer of mine wants to upgrade some old machinery. It's using a C20 plc now. I think I already know the answer, but he wants to re-use the existing expansion I/O so there's little re-wiring. I've heard that some manufacturers' old I/O is compatible with current stuff, but guess the C20 is too old. Anyone know different, or shall I tell him to get his hand in his pocket! Cheers
  24. CX-Programmer improvement requests

    How about a 'next free bit' prompt when adding a contact or coil? The next bit from W, H, CIO displayed. In fact, could be for every data type. This would work great if I could add a symbol as I add an address instead of opening the symbol table (and it must give me the option whether it's scope is global or local to the program. In fact, let me assign 'groups' of memory areas. Alarms get W0 to W10, etc, then I can choose the next available bit from a particular group.
  25. CX-Designer improvement requests

    Tag database rather than individually addressing everything?