dugmick

MrPLC Member
  • Content count

    28
  • Joined

  • Last visited

Everything posted by dugmick

  1. Ping from HMI

    Good afternoon -  I would like to be able to ping a device from a Mitsubishi HMI.  Is it possible to do that using a script in the HMI, activated by a soft button on that HMI?  Has anyone done this, and what would the script be to do that?  I am using GOT2000 and GOT Simple. Thanks for looking.
  2. Hi all - I have a VersaView CE 700H that seems to need the touchscreen calibrated, pushing on one button activates another button some distance away. I cannot find any documentation that describes how to do this. Does anyone out there know how to calibrate the screen, or can point me to a document that describes how to? Thanks
  3. Good morning all -  I have a Flex I/O 1794-IE8 that the raw counts are varying by about 30 with no change in input.  It is used as a 4-20 mA input, reading the output from a signal conditioner from a LVDT.  This is the only input used in this module.  The stackup for the Flex system is a 5434 CPU (with Ethernet and DeviceNet cards), 2 - 1794-IB16 input modules, 1 - 1794-OB16 output module, 1 - 1794-OW8 relay module and the 1794-IE8 analog input at the end of the line.   I have checked the wiring to ensure it was as specified in the installation instructions.  The LVDT and signal conditioner was changed to see if the problem moved, but it didn't.  Input 1 is used on the IE8, other inputs were also tried, with no change in results.  I tried connecting the output of the signal conditioner to a spare MicroLogix 1400 and a 1762-IF4 analog card in a further attempt to isolate the problem.  The MicroLogix raw count reading was rock steady, while the IE8 was still fluctuating.  I have seen some references online to other instances of issues similar to this, is it a known issue with these modules?  It appears that the IE8 is the problem, but I hate to pay to replace it with another if this is a known issue with the IE8 cards. As another observation, the raw counts coming from the MicroLogix were substantially different from the Flex, like 10258 Flex vs 14541 Micro.  I had considered reading the conditioner with the Micro and messaging the count to the Flex.  The Flex is communicating with a drive via DeviceNet, and I would rather not tackle exchanging the Flex at this time.  Thus the thought of using the Micro to send the Flex a stable count value.  What would cause the raw counts to be so much different? Thanks for reading...
  4. Thanks for the reply.  This is a mature application, but I am not sure if it a new problem or an old problem that someone decided just now needed addressed.  I do not know if there is a power analyzer here, I haven't been in this job long enough to know what kinds of tools are available.  As far as the LVDT, is is actually a linear position transducer (linear potentiometer), 0-5k ohms, feeding into a signal conditioner to provide a 4-20 mA signal to the PLC input.  The PLC input is scaled 0-30840.
  5. Thanks for the reply.  I was mistaken on the device, it is not a LVDT but a linear position transducer, a linear potentiometer of sorts.  The signal conditioner is a Novatechnik TRS50A502, and the signal conditioner is also a Novatechnik MUP 100-4.  I am not really sure what you mean about the measuring range, the transducer has about a 2.5" travel.
  6. Thanks for the reply.  The cable run is the same for both conditions.  The first test I moved the wire from the Flex to the Micro, second test I connected the wire to both inputs in series, same result both times.  The problem the fluctuations is causing is that we are trying to measure to 1/100 of a millimeter, and the variation is absorbing most of the part tolerance.  The full scale count difference explains perfectly the difference in readings.  
  7. understanding a WinCC script

    I am trying to understand what a script in WinCC v6 is doing. I can find the source of the data tag used, but this script is altering its value and displaying something different on the HMI. The code is: #include "apdefap.h" double _main(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName) { // WINCC:TAGNAME_SECTION_START // syntax: #define TagNameInAction "DMTagName" // next TagID : 1 #define TAG_1 "StdMC/PLCtoPCReal.SHTR_L_POS" // WINCC:TAGNAME_SECTION_END // WINCC:PICNAME_SECTION_START // syntax: #define PicNameInAction "PictureName" // next PicID : 1 // WINCC:PICNAME_SECTION_END // update mimic of shutter position to show any skewing float Pos = GetTagFloat(TAG_1); return StraightLineInterpolate(Pos,0,285,-4.24e8f,0); } It has been too many years since I had a single C++ class in college.... Thanks
  8. CP343 Advanced and VAT table

    I have a system with a CP343 Advanced module communicating on our plant network. I would like to be able to access some of the VAT tables that are configured in the CPU and display them in my browser when connected to the CP (on the CP,s web interface). I have seen a couple of references to this on external (non-Siemens) websites, but I cannot find any information in the configuration manual that describes how to do this. Can anybody point me in the direction of information that can help me make this happen? Thanks in advance!!
  9. I have a SLC5/03 communicating to a Panelview 550 across a DH485 network, with a 1747-AIC at each end of the network. The SLC and Panelview are plugged into the AIC, with the peripheral port open on each AIC unit. I have attempted to communicate with the PLC by plugging into the peripheral port with my 1747-UIC, but I have not had any success yet. I am running a Windows 7 64 bit machine, and Linx Classic Professional v2.59. I can see the PLC with this setup if I plug directly into the PLC RJ45 port, but not through the AIC. The serial port on the PLC is used for another purpose, so it is out of the picture as far as programming access. Any ideas as to why I am not able to see the network through the AIC? Thanks in advance.
  10. I have a PLC5/30 with a 1785-ENET sidecar. I can go online through the ethernet connection, but whenever I try to make an online edit I get an error message "Rung could not be inserted into online processor! Insert instruction Failed: Ext Sts = 0x0B Access Denied - Privilege Violation". I can successfully make the same online edit when I go online through the Ch0 DF1 connection. I show 17k+ free memory. Has anyone ever experienced this before, and if so, how was it resolved? Many thanks!!
  11. I am working on a project to add a single line marquee to a process that is controlled by a PLC5/30 that has an ethernet sidecar attached. The marquee has an ethernet interface for communication to the PLC. I would like to set the marquee at my desk for trial where I have a PLC5/30, but no ethernet capability at the CPU. I was thinking about a Controllogix gateway using a Controllogix chassis with DH+/RIO and Ethernet cards for a temporary solution to allow me to do development work. So I would go out of the 5/30 DH+ port to the DH+ / RIO card, then out through the ethernet card to the marquee. The Controllogix hardware is available in one of our labs, so there is nothing to be purchased. Would this arrangement work to pass ASCII message data from the 5/30 to the marquee? Thanks
  12. S7 data block initial value

    I have been searching for information and I have not been able to find a solid answer yet. I have a S7-400 CPU with a many FCs, OBs, DBs, etc. I would like to be able to send the initial values to the actual values in a particular datablock. My searching has led me to understand that the initial values can be transferred to the actual values through some keystrokes in Step 7, then downloading the block back to the CPU. I am looking for an instruction (or instructions) that exist within the S7 instruction set that I can use to automate this process from within my user program, eliminating the need to connect to the CPU with my computer. So, when the CPU is stopped and then restarted some lines of code will run one time and the initial values are transferred to the actual values. Does such an instruction, or collection of instructions exist? Thanks
  13. Hi all - I am getting an error in a S7-416 CPU when attempting to add a CP443-1 CP card to the hardware configuration. The CPU is 6ES7 416-2XK04-0AB-, firmware has been upgraded to v4.1.1, and CP card is a 6GK7 443-1EX20-0XE0. The CPU started OK after the firmware upgrade, then after adding the CP card to the configuration, save and compile, then download, it will not start. Take the CP out, save and compile, download and the CPU starts OK again. The diagnostic buffer has several entries, but I have not had much luck finding out where to get a better explanation of their meaning. So here I am, at the home of Siemens common sense, hoping that someone has some insight. Below is the contents of the diagnostic buffer, where event 25 is the first one after a startup with the CP card. Apologies in advance for the length of this post. Thanks for any help! ************************************************************************************************************* Diagnostic buffer of module CPU 416-2 DP Order No./ Description Component Version 6ES7 416-2XK04-0AB0 Hardware 2 - - - Firmware V 4.1.1 Boot Loader Firmware expansion V 4.0.1 Rack: 0 Slot: 3 Event 1 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: - Module or submodule assignment not evaluated or evaluation aborted with errors (SDB 1,3,5,2X,9X) - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event 04:13:56.165 AM 01/01/1994 Event 2 of 74: Event ID 16# 49A0 STOP caused by parameter assignment error or unpermissible difference between preset and actual configuration: startup disabled No relevance for user (SDB no.): 3 No relevance for user (Z2): 0000 (Z3): 0000 Previous operating mode: STOP (internal) Requested operating mode: STOP (internal) External error, Incoming event 04:13:52.293 AM 01/01/1994 Event 3 of 74: Event ID 16# 5962 Parameter assignment error preventing startup in address parameters for submodule Parameter: slot Input address: 16382 of the module with parameter assignment errors Error type: illegal parameter coding Operating mode: STOP (internal) External error, Incoming event 04:13:52.293 AM 01/01/1994 Event 4 of 74: Event ID 16# 5962 Parameter assignment error preventing startup in address parameters for submodule Parameter: slot Input address: 16381 of the module with parameter assignment errors Error type: illegal parameter coding Operating mode: STOP (internal) External error, Incoming event 04:13:52.293 AM 01/01/1994 Event 5 of 74: Event ID 16# 5962 Parameter assignment error preventing startup in address parameters for submodule Parameter: subaddress Input address: 16380 of the module with parameter assignment errors Error type: illegal parameter coding Operating mode: STOP (internal) External error, Incoming event 04:13:52.292 AM 01/01/1994 Event 6 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: - Module or submodule assignment not evaluated or evaluation aborted with errors (SDB 1,3,5,2X,9X) - STOP request exists - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event 04:13:52.288 AM 01/01/1994 Event 7 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: Loading user program or internal inconsistency detected (SDBs less than 200 incomplete, superfluous, or incorrect) - Parameter assignment for MPI or DP interfaces not evaluated or inconsistent (SDB1XXX incomplete, superfluous, or incorrect) - Module or submodule assignment not evaluated or evaluation aborted with errors (SDB 1,3,5,2X,9X) - STOP request exists - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event 04:13:46.427 AM 01/01/1994 Event 8 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: - Module or submodule assignment not evaluated or evaluation aborted with errors (SDB 1,3,5,2X,9X) - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event 02:18:29.765 AM 01/01/1994 Event 9 of 74: Event ID 16# 49A0 STOP caused by parameter assignment error or unpermissible difference between preset and actual configuration: startup disabled No relevance for user (SDB no.): 3 No relevance for user (Z2): 0000 (Z3): 0000 Previous operating mode: STOP (internal) Requested operating mode: STOP (internal) External error, Incoming event 02:18:28.118 AM 01/01/1994 Event 10 of 74: Event ID 16# 5962 Parameter assignment error preventing startup in address parameters for submodule Parameter: slot Input address: 16382 of the module with parameter assignment errors Error type: illegal parameter coding Operating mode: STOP (internal) External error, Incoming event 02:18:28.118 AM 01/01/1994 Event 11 of 74: Event ID 16# 5962 Parameter assignment error preventing startup in address parameters for submodule Parameter: slot Input address: 16381 of the module with parameter assignment errors Error type: illegal parameter coding Operating mode: STOP (internal) External error, Incoming event Event 12 of 74: Event ID 16# 5962 Parameter assignment error preventing startup in address parameters for submodule Parameter: subaddress Input address: 16380 of the module with parameter assignment errors Error type: illegal parameter coding Operating mode: STOP (internal) External error, Incoming event Event 13 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: - Module or submodule assignment not evaluated or evaluation aborted with errors (SDB 1,3,5,2X,9X) - STOP request exists - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event Event 14 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: Loading user program or internal inconsistency detected (SDBs less than 200 incomplete, superfluous, or incorrect) - Module or submodule assignment not evaluated or evaluation aborted with errors (SDB 1,3,5,2X,9X) - STOP request exists - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event Event 15 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: - Module or submodule assignment not evaluated or evaluation aborted with errors (SDB 1,3,5,2X,9X) - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event Event 16 of 74: Event ID 16# 49A0 STOP caused by parameter assignment error or unpermissible difference between preset and actual configuration: startup disabled No relevance for user (SDB no.): 3 No relevance for user (Z2): 0000 (Z3): 0000 Previous operating mode: STOP (internal) Requested operating mode: STOP (internal) External error, Incoming event Event 17 of 74: Event ID 16# 5962 Parameter assignment error preventing startup in address parameters for submodule Parameter: slot Input address: 16382 of the module with parameter assignment errors Error type: illegal parameter coding Operating mode: STOP (internal) External error, Incoming event Event 18 of 74: Event ID 16# 5962 Parameter assignment error preventing startup in address parameters for submodule Parameter: slot Input address: 16381 of the module with parameter assignment errors Error type: illegal parameter coding Operating mode: STOP (internal) External error, Incoming event Event 19 of 74: Event ID 16# 5962 Parameter assignment error preventing startup in address parameters for submodule Parameter: subaddress Input address: 16380 of the module with parameter assignment errors Error type: illegal parameter coding Operating mode: STOP (internal) External error, Incoming event Event 20 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: - Module or submodule assignment not evaluated or evaluation aborted with errors (SDB 1,3,5,2X,9X) - STOP request exists - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event Event 21 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: Loading user program or internal inconsistency detected (SDBs less than 200 incomplete, superfluous, or incorrect) - Parameter assignment for MPI or DP interfaces not evaluated or inconsistent (SDB1XXX incomplete, superfluous, or incorrect) - Module or submodule assignment not evaluated or evaluation aborted with errors (SDB 1,3,5,2X,9X) - STOP request exists - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event Event 22 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: Loading user program or internal inconsistency detected (SDBs less than 200 incomplete, superfluous, or incorrect) - Parameter assignment for MPI or DP interfaces not evaluated or inconsistent (SDB1XXX incomplete, superfluous, or incorrect) - STOP request exists - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual startup not permitted, corrections in parameter assignment, submodule, etc. necessary Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event Event 23 of 74: Event ID 16# 530D New startup information in STOP mode Startup prevented by: - STOP request exists - Cold restart or warm restart necessary Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual warm restart permitted Last valid operation or setting of automatic startup type at power on: - No startup type/following memory reset Operating mode: STOP (internal) Incoming event Event 24 of 74: Event ID 16# 4304 STOP caused by PG stop operation or by SFB 20 "STOP" Previous operating mode: RUN Requested operating mode: STOP (internal) Incoming event Event 25 of 74: Event ID 16# 4302 Mode transition from STARTUP to RUN Startup information: - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered via MPI Permissibility of certain startup types: - Manual warm restart permitted Last valid operation or setting of automatic startup type at power on: - Warm restart triggered via MPI Previous operating mode: STARTUP (warm restart) Requested operating mode: RUN Incoming event
  14. logic will not solve

    I did find the problem, it was as Moggie questioned. There was an output that had been commented out in the previous network, and that was affecting the RLO in question. Thanks everyone.
  15. logic will not solve

    Hi all - I am stumped - I have some logic that will not solve in an S7-400. I have been reducing the logic in troubleshooting to understand the problem, but still no luck. I have an input I144.0 that is ON, but no output (external, internal, or local variable) will turn on when the logic is true. I created a local variable (#test), only used in my example, that will not turn on at the top of the network (in red), however, it will turn on in the next grouping of logic (in green) when my input is true. I have inserted a new network and copied the logic with no change in result. Any ideas?? Thanks in advance
  16. Will it work?

    Can I take a Siemens TP-270 sitting on my desk, communicate with it via my USB MPI interface from my PC running S7-PLCSIM, and test / activate the screens on the TP? That would be so much easier than finding an idle machine to test my screens. Thanks
  17. Cannot add module to remote drop

    Module_Information.pdfHi all - I am attempting to add an ET200s module to a remote rack. I can add it in the hardware configuration, save and compile, download, but when I go online with the hardware config, the node is faulted. I tried another module (same style - 2RO), another terminal module (same style - 4CB30-0AA0), and a different type module (4DI), all with the same results. Putting the module at the middle or the end of the group had no effect. Here are the output module and terminal module used: 6ES7 132-4HB10-0AB0 2RO module 6ES7 193-4CB30-0AA0 terminal module The head end module is a 6ES7 151-1AA03-0AA0. All existing terminal base modules are the same, 6ES7 193-4CB30-0AA0. A coworker suggested adding another power module to the middle of the module group, but that had no effect either. Removing the module and terminal base, and downloading the original configuration brings it back alive as if nothing happened. I have attached a screenshot of the configuration with the faulted module information, as well as a .pdf of the full diagnostics from the information dialog. Any help or suggestions is greatly appreciated.
  18. Cannot add module to remote drop

    Thanks Jesper, cycling power seemed to be the magic bullet, the drop is happy now. The hardware configuration page looks strange now, some slots are shaded green. What does this mean, and is it something I should be concerned about? Thanks
  19. S7-400 memory card question

    Hi all - I have several S7-400 CPUs, all with memory cards, and I need to make sure each current CPU program is also loaded into its respective memory card. The help text does not help me make the distinction of which operation I should use. In the Simatic Manager, there are the menu items: PLC > Download User Program to Memory Card; and PLC > Save to Memory Card. What is the difference between these two operations, and when would I use one or the other? The help text does not help me make the distinction of which operation I should use. Thanks in advance.
  20. S7-400 memory card question

    Thanks, Jesper. That helped a lot. If the card has existing data on it, does it need to be formatted or conditioned in any way, or will the "download user program to memory card" overwrite the entire card?
  21. ProTool graphics list

    Hi all - I am trying to create a graphics list in ProTool, but I am getting an error message when trying to select and apply a graphic to use in one of the states. The message - "The graphic cannot be inserted, because neither the list nor the object is resizeable". Some graphics in my graphics list will insert, and some will not. I have looked through the online help, as well as looked on the net, but I cannot find any help with this problem. I do not see an option to make either the list or a graphic object 'resizeable' or fixed in size. Has anyone out there experienced this before? Any help or suggestions are greatly appreciated. Thanks in advance!
  22. Status of a word

    Hi all - If I have a given word (or a double word), is there a way for me to tell how many bits within that word are set at '1'? For example, MW323 = 0010000111010011, I would like to know that there are 7 bits that are a '1'. I don't care what value (hex, binary, decimal, etc) they may represent, just the number (quantity) of bits set at '1'. Thanks for any help!
  23. TP270 MPI over ethernet

    Hi all - I have some TP270s sitting on an MPI network connected to an S7-400 CPU, with a CP443-1 communication processor. I am trying to download to the TP270 by way of ethernet through the CPU to the MPI network, but it will not make the connection. Is this even possible, and if so, how do I set up the pass-through parameters to get to the MPI network? Thanks in advance!
  24. Step 7 V5.3 SP3 upgrade problems

    Hi all - I have been trying to upgrade from Step 7 V5.3 SP1 to V5.3 SP3. The installation goes along until it says something like writing values to the registry, then it rolls back and tells me it failed to install. Then, when I try to launch my V5.3 SP1, I get an error - 'missing S7OTBXDX.dll file'. I then tried to uninstall and reinstall P1, no luck, acts like the SP3 did. I tried the Siemens procedure - uninstall through Control Panel, delete all Siemens keys from the registry, delete all S7*.* entrys from the C drive, etc. Still no luck. I finally reimaged the computer, reinstalled SP1 successfully, then tried to install SP3 again. Same thing. Antivirus is turned off, using admin privileges, no other apps running, WinXP SP2. Thankfully I created an image just before I tried the SP3 install the second time. Anyone else have an issue like this? I really have some work I need to do with this computer! Thanks
  25. Step 7 V5.3 SP3 upgrade problems

    I did finally get the SP3 to install. I had to go back to a clean disc image with WinXP (no service pack), install V5.3 SP1, then V5.3 SP3 would install. I then installed WinXP SP2 upgrade. All working OK now. Apparently V5.3 SP3 didn't like XP SP2 unless XP SP2 is installed over Siemens software. Go figure. Thanks for the suggestions.