-
Content count
453 -
Joined
-
Last visited
Posts posted by ParaffinPower
-
-
Hi guys How can I select between languages on the NS? I've got two 'Types' in the NS and both languages. I can select which language is initial from CXD, but want to be able to do it 'live' Cheers -
Can you get CX-Designer v2.0? It's available in this. -
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 -
Answered my own question. New type of conversion added in CXP V7.0 within FB's. Talk about good timing! Pp -
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 -
Guys This is the latest CIF31 driver. Seems to have cured the blue screen of death seen with original driver. Pp CIF31Driver.zip -
Nice one, Bits. Mine was E1-04. Cheers -
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 -
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 -
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 -
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 -
Tag database rather than individually addressing everything? -
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. -
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 -
More 'mini' Smart Active parts (aimed at the NS5) would be good. -
Hi guys In the CX-Designer library, there are SAPs for the built-in inputs/pulse outputs for a CJ1-CPU2x. There's no parameters to edit (CPU unit destination address should be fixed at 0), but they don't work. I get some pop up Macro error message. Anyone used these successfully? Some of the other SAPs work - cycle time does for one, but no joy with a lot of the others. Thoughts, people? Cheers -
Hi Eric You'll need to set the port parameters from the 'Host link' tab witrhin the PLC settings (selected from the project tree). Dip switch 5 controls wether this port uses its default configuration or the config that you've selected. ON - default OFF - as per your settings I uses the bluetooth promi for programming, so any question re this, I'll try to help. Cheers -
Hi guys Despite my best efforts, I can't get anything out of either output 0 or 1. There's not much more than this...is there? Interestingly, where I enter "PORT" and "CONTROL DATA" as 0, it displays the status of the Input channel 0? The instruction isn't happy with any other format (&0 or #0), only 0. Is this a CX-Prog bug, or is this my problem? Any thoughts gratefully received. Pp -
FunctionBlockProgramming.zip -
Hi Bob I was thinking that you have to manually remember "used Dm100, used Dm101, Dm102 is free. And if you use it as a float, then Dm102 and 103 are used, but it may not be obvious that 103 is used. After using CLX, I would program symbolically every time. Much quicker. Got another one. Some instructions have one argument which 'points' at a memory area of maybe another 4 Words. I'd rather see all the relevant arguments within the ladder instruction - easier to track, easier to monitor, easier to see what memory has been used. -
How about when putting an SIOU at, say unit 0, CIO 1500... is automatically given appropriate symbols? Pp ps - great thread -
Thanks for that. Had a look the next day a it worked a treat. Guess it was that Dip switch 4!!! -
Good answer! Thanks -
Having DM0 to DM32767 as WORDS is old fashioned - INT is one WORD, float is two, DINT is two. D101...what is it? INT? Part of a double? Giving a programmer a massive pile of memory with no pre-defined structure makes it akward to structure a program (unless someone can tell me different...) Should take a leaf out of AB's book - either SLC or CLX is better a better addressing method. Call tags whatever you want and let the compiler decide where the memory is. CXP's Automatic Allocation is a poor substitute I'm afraid. And, the 'Help' is rubbish. Tells you half a story for every instruction And, BCD has got to go. Not too keen on Hex, actually. And, what's with 'Binary Add Without Carry' and the other miriad of ways to add (or whatever) two numbers? Just add the numbers, and give me an answer - I'll work out the rest. Wow, thought it was pretty good until just now! Pp
NS language selection
in Omron
Posted