ct8356

MrPLC Member
  • Content count

    52
  • Joined

  • Last visited

Everything posted by ct8356

  1. I created a timer inside a function block, as you would inside a normal section. (I gave it number 0001 and put a #20 inside). I then created a contact inside the function block, typing in t1 (which usually works in a normal section), however, in the FB it does not recognise it (the contact label remains red). What do I need to do to make it work? I am using the CJ2M controller.
  2. I have one project on which the offline test works nicely. However if I "Save as" and give it another name, the offline test stops working. I click on offline test, the loading hourglass appears for a few seconds, then nothing happens... Does anyone know why, and/or how to get offline test working again? I am running NB Designer version 1.3. I always compile before trying the offline test.
  3. There is a standard view called "User view" that you can drag in to your HMI project on TIAPortal. It allows you to create new users, and edit users during run-time (i.e. from the HMI screen itself, not from your laptop). However it is not clear if/how you can delete users during run-time. Does anyone know how to do it? Thanks in advance!
  4. I have read that it is possible, in CXDesigner, to download the program from the computer onto a memory card, and then download from the memory card into the HMI terminal. Is a similar thing possible with CXProgrammer, and PLCs? It would be quite useful, for the purposes of updating the program on a customer PLC that is located overseas, when the customer does not own a laptop with CXProgrammer installed.
  5. In my HMI program, I want to use two (or maybe even 3) screen templates on the same screen. The first one is a general navigation pane, (all screens have this). the second is a secondary navigation pane (1/4 of the screens have this). the third is a tertiary navigation pane (1/8 of the screens have this). How can I do this? It seems to only let me choose one template per screen. Thanks in advance.
  6. Currently, I am using the S_MOVE instruction to copy a string called "dbVariant".Variant1.PartNumber into "dbVariant".VariantInBuild.PartNumber. How would I go about copying the whole struct "dbVariant".Variant1 into struct "dbVariant".VariantInBuild? Thanks in advance!
  7. For example, I want to have many structs in a data block, that all have the same structure. I can create one, and then copy and paste it. BUT then if I want to change the structure of the struct slightly, updating every struct takes ages! Is there a way to define a struct as a "type", so that each instance of the struct is updated when you update that type? (Like you can do in C# for example.) Thanks!
  8. How do I assign an IP address to an S71200 CPU for the first time? Is it possible to do it over ethernet? Thanks in advance!
  9. I have one CJ1M-CPU13-ETN PLC and two NS8-TV01-V2 HMI panels. I want the two HMIs to run the exact same CXDesigner program, and both of them to communicate with the same PLC. Is this possible to do? More specifically: for the same button on both HMIs, could I assign it the same working bit, or would this cause a conflict? Would I need to give the same button a different working bit for each HMI? Thanks!
  10. How to connect two HMIs to one PLC?

    Thanks PdL! What do you mean by "conflict for the operator"?
  11. The text in the labels in my project, that look nice and smooth-edged in the CXDesigner design area, look very pixelated in the offline test window. There is no anti-aliasing at all, so it seems. Does this mean they will look very pixelated on the terminal screen itself? Or is the offline test window a poor representation of what it will look like on the terminal?
  12. Use symbol names in macros?

    In CXDesigner, is it possible to use symbol names in macros? Or something other than the symbol address? For example, instead of writing: $B47 = 1; 'turn the lamp on I would like to write: lamp = 1; just because it is easier to remember the symbol names than it is to remember the symbol address. (It is a pain to have to check my symbol table every time I want to write/edit a macro.)
  13. I have an interesting problem. On my NQ HMI, I am changing one bit of the alarm word to true. The first time I do this, one alarm becomes active, and appears in my alarm list on my HMI. Then when I change the bit back to zero, the alarm becomes inactive. Then when I make the bit true again, the alarm does NOT become active again. Nor does a new alarm appear at the top of the list. What do I need to do to make a fresh alarm appear in the list? Any input would be greatly appreciated. Thanks in advance.
  14. Where can I safely download NQ designer? Thanks in advance.
  15. During run time on my KTP700 BASIC HMI panel, there is a keyboard pop-up screen that appears, when I press on an input field (for example, like the one in the inbuilt Logon pop-up screen). Is it possible to change the font size, and/or the size of the keys on this keyboard? How so? Thanks in advance.
  16. I am using a KTP700 BASIC HMI panel. I have two languages in the HMI program. On the inbuilt Logon screen, I want to show English text in size 21, French text in size 15. In Runtime settings > Languages and Fonts, I give each language different font sizes, but when I run the program on the HMI panel, they both show up the same size. (For example, I set English to font size 21, and French to font size 15. However, if I access the password screen in English, then later in French, the text is shown in font size 21 in both occasions). This is a problem because the French words are longer, and hence some letters get cut off. Any ideas about how to get around this? (besides just using font size 15 for both?)
  17. I am using TIA portal to make HMI screens for a KTP700 BASIC HMI panel. I am using the built-in password protection pop-up screen. Is it possible to change the font size of text items on the password protection screen? The text, and the user and password fields are a bit small. I would like to make them bigger. Thanks in advance.
  18. Do you need a separate CX-One license for each computer that you want to install it on?
  19. PLC No Response

    I have downloaded a program into the PLC, downloaded a program in the HMI terminal, and connected my PLC to the HMI via a custom made RS232 cable. When I turn them on, the correct screens appear on the HMI terminal, but no data is coming through from the PLC. After a few seconds, a pop-up appears saying "[2]PLC No Response 00-00-1". Does anyone know the meaning of this message, or what I might be doing wrong or missing out? CPU used: CP1L-M60DT1-D (with a CP1W-CIF01 serial adapter) HMI terminal used: NB3Q-TW00B Details for the RS232 cable: NB pin 2 (SD) to CP1L (CP1W-CIF01) pin 3 (RD) NB pin 3 (RD) to CP1L (CP1W-CIF01) pin 2 (SD) NB pin 9 (SG) to CP1L (CP1W-CIF01) pin 9 (SG) CP1W-CIF01 Bridge between pin 4 (RS) and pin 5 (CS)
  20. PLC No Response

    Thanks Michael. Good advice. The final piece of the jigsaw puzzle was one of the DIP switches on the PLC. I think it is DIP switch number 5, it controls whether the serial port should use Auto connect, or something specified by the HMI program. We switched it to NOT Auto, and now it works nicely.
  21. How can I get decent screenshots (as in, just what is shown on the HMI) from CX Designer? I know that I could use just press print screen, and then crop the image, but for a lot of screens, that seems like unnecessary effort. I don't have an actual HMI terminal to hand either, so preferably I would like a way to do it without one. Thanks in advance!
  22. There is barely any mention of multifunction components in the NBDesigner manual, so I am asking this here. How would I go about setting a word in the PLC (say, setting word D92 to zero), by pushing the multifunction component on an HMI screen? I have tried the setup shown in the attached image, but it does not seem to work. Any ideas what I am doing wrong?
  23. I shall try direct/auto online in future. However, in the mean time, I managed to find a work around. I connected to the serial port instead (with a USB-Serial cable), changed the network type to toolbus, changed the COM port to the correct number, and now it works just fine.
  24. I am trying to go online, in CXProgrammer, with a CP1L-M60DT1-D PLC. I am connecting with a USB cable (Standard-A on laptop side, standard-B on the PLC side). In my "Change PLC" dialog: Device type is set to CP1L, CPU type set to M. Network type is set to USB. FINS Destination Address Network set to 0, Node set to 0. I get "Failed to connect to the PLC" when trying to go online. Any ideas why? Thank you. (Note; the PLC connection is showing up in my Device Manager, and the correct driver is installed).
  25. Ah, I have finally realised why it was not working. The OMRON folder that I was pointing it to, was one I had copied over from a virtual machine that was running windows XP. My real machine was running windows 7. So I was pointing it to windows XP drivers, when it was looking for windows 7 drivers.