JesperMP

MrPLC Member
  • Content count

    784
  • Joined

  • Last visited

Everything posted by JesperMP

  1. MP277 Live Graphing

    I see, thanks for the feedback.
  2. S7300 PNDP Web2PLC login question

    Create a user called "everybody", and dont assign a password to that user. That will allow anyone to access the userdefined webpages without login. But it the user will have read-only permission.
  3. MP277 Live Graphing

    Are you so sure that x/y trends are not possible with MP277 ? If I understand it correctly, the x/y trends is a feature with WinCC v11, and thus when the firmware on the panel matches the WinCC version, the x/y trends should be there, yes ? I may be wrong.
  4. Report system error

    No experience with KTP1000PN. But you are probably using it with a PN CPU, right ? If so, may I suggest that you enable the webserver on the CPU. That will allow anyone to view the diagnostics buffer with a webbrowser. And that is essentially the same information you have with RSE. It is not so far-fetched, because HW errors must be rare, and if it does happen it will not be such a big deal to ask people to hook up a PC to diagnose the problem. NB. Enabling the webserver costs approx 200 kB on the MMC card.
  5. OB121 Fault

    If you can accept to halt the program, then I suggest that you delete OB121 from the online program. This will force the CPU to fault, and importantly will allow you to examine the Stacks. You can use these to jump straight to where in the program the erronous code is. You can also save the OB121 information in a DB (the TEMP values previously suggested). But, it will only tell what you could have found out by investigating the diagnostics buffer. And that information will probably just be that there is a problem in a certain FC or FB. Not precisely what or where the error is.
  6. S7 data block initial value

    There is no such instruction to do exactly that by code in the S7 CPU. Alternatively you can copy the values from one DB to another with SFC20 BLKMOV. So you can have a DB with default values. It costs an extra DB though. Or alternatively you can do it with STEP7. Open the DB in question, then you can find an "initialise datablock" in the menu. Then save the block, and download it to the CPU.
  7. How to Find Where an Address is Used...?

    Is it STEP7 v5.5 or TIA (= STEP7 v11) ? If it is STEP7 v5.5, then you can select the adress in the LAD/FBD/STL editor, and hit CTRL-ALT-Q. That brings up a small window with all the accesses for that particulr address. Click on one of the displyed lines and the editor will jump to that place. Notice that there is a "display overlapping adresses" (or something like that, dont remember exactly). Be sure to select that one so that you will se all the accesses for example M10.0 is accessed by MB10, MW10, MD8, etc..
  8. MP277 Live Graphing

    With WinCC v11 x/y-graphs should be possible. I havent tried it though. With WinCC Flexible 2008 true x/y-graphs are not possible. The closest to x/y-graphs are buffered trend curves. The difference to realtime trends is that all the values on the x-axis are read from a DB in one instance rather than only one at a time. To make an x/y-graph "like" trend in the PLC code you have to calculate the y-values over the x-axis with fixed distance between each value on the x-axis. For WinCC Flexible PC RT, I use an active-x to get true x/y-graphs. It wont work on a Windows CE based panel like MP277 though.
  9. Connect to a siemens s7 300 using ethernet

    The "edit ethernet node" usually works on a brand new CPU with no IP set yet. If the IP has already been set, then it wont work. That explains why you could do it after resetting the PLC. I always just use to download the HW Config. It works in the same way that if the IP has not been set, you then browse for reachable nodes via the MAC addresses, and select the one that is the CPU you want to download to. When the CPU is new and has no IP yet, you will be prompted to accept to set the IP, and you just say yes to that. This works always, also if the IP has already been set to something else. If the IP has been set to something else, you have to make sure that the subnet allows the CPU to be reached, Apart from that there is nothing to it.
  10. EtherNet/IP for S7

    What do you need to do ? Control I/O devices on Ethernet/IP ? Or exchange data with Ethernet/IP enabled CPUs ?
  11. Main Features of a CPU

    A few things to look at: Processing speed. Size of memory. I/O capacity. Feature set of the programming languages. Support for communication protocols. Communication performance. Support for distributed I/O. Distributed I/O capacity. Supports integrated motion functions. Supports integrated safety functions. Supports RIUP. Support for CPU redundancy. Support for I/O redundancy. Support for network redundancy. Reliability. Documentation. Tech support. Availability of spares. Price.
  12. Math with data type TIME?

    IamJon, I suggest you use the IEC timer TON, as the S5Timers are really an arcaic leftover from S5. To do math with a TIME variable, switch to STL mode, since there is no typechecking in STL. You can switch back to LAD or FBD, only the rungs that no longer can be represented as LAD or FBD will display as STL.
  13. Time measurement with S7-315

    Forget the S5 timers. Use the IEC timers in stead. It uses the time in TIME format, which increments in milliseconds. In order to for example add or subtract TIME values, you will hit a small problem because the mathematical functions expect the type to be DINTs so the typechecking will fail. The simple solution is to use STL, since there is no typechecking in STL. Just a small sample : L "my_IEC_timer".ET // load the expired time as TIME value. T "some_DINT_address" // transfer to a Merker or Datablock doubleword with DINT type.
  14. Protool / Protool Pro

    What version is your Protool Pro vx.x spx ? Is it the programming software that you are missing, or only the PC RT software ?
  15. Hi all. I have an existing customer that has a need for updating the program in the SLC L551 CPU. The update is nothing more than a change of the IP address. The updated program is stored in RAM memory at the moment, but I need to send an updated EEPROM so that they are safe. Problem is that I dont have an L551 (16kW) CPU available, but I do have an L552 (32kW) CPU. Question is: If I generate the EEPROM in the L552 CPU, will the program on the EEPROM run in the L551 CPU ? (Dont kill me because I double-post here as well as on PLCTALK. I posted first on PLCTALK but nobody seem to know this on that forum). Thanks in advance.
  16. OTHER RS422 HMI LINK 15 PIN S5 PLC

    Does the NT2S have a driver for S5 ? It must support the AS511 protocol. The 15-pin port on the S5-95U is a TTY port. It is not trivial to convert to RS232C for example. edit: Oh, I see that your panel has an RS422 port. That makes it even more difficult. And, the S5-95U is totally obsolete. It is not worth the effort to waste any time on it. Use you time and expense to upgrade it to something uptodate.
  17. Programming plc through profibus

    I am guessing it is a 315-2DP CPU since it has both MPI and DP ports. For a 315-2DP, you have to enable the Profibus port in the HW Configuration, and download this initial Configuration via MPI. A factory fresh 315-2DP cannot be configured via the DP port since it is disabled. Maybe this is the cause of your problem. edit: But if you connect to the Profibus port on the CPU, and the power leds on the adapter do not light up, then it seems to indicate the DP port on the CPU is defective.
  18. Consider an S7 CPU with PN onboard. B&R supports Modbus TCP, and S7 supports Modbus TCP via an add-on library.
  19. S7-315DP Error

    The combination of BF lights tells us that either the DP master (the CPU) is bad, or that there is a cabling problem, or one DP slave is so defective that it pulls the entire network down. Start by removing all DP slaves from the network, and reconnect one by one. Always remember to have the termination on for the first and last units in the DP daisy chain. If you encounter a DP slave that dont want to go online, investigate the cabling from the last good DP slave and the faulty slave.
  20. future of WinCC

    This must be a false rumor I'm afraid. Siemens has just released WinCC v11 which is the new all-encompasing platform for all HMI solutions from Siemens. Siemens is betting heavily on "TIA Portal" in which WinCC v11 is an important part. That means that both WinCC v7 and WinCC Flexible 2008 are to be migrated into WinCC v11. The old HMI platforms will continue to be supported for some time, but dont count on that new features will be added. I also dont think that PCS7 has yet been integrated into the new platform, but it will at some time. There IS an upgrade path. You can upgrade old licenses to the new software, and you can migrate the projects. Btw. I dont think that Citect is "Open Source".
  21. Exporting/ Copy LAD/FCB

    Simply print to a PDF printer driver. edit: If you dont have a PDF printer driver, then there are both freeware and comercial printer drivers. The comercial ones are quite cheap and a lot better than the free ones.
  22. To control a VFD directly from the SCADA is quite unusual. Normally, a PLC controls the VFD, or the VFD runs autonomously - maybe directly controlling pressure or water level. Therefore I do not think that an OPC connection from RSView32 to a VFD will make much sense. It is more normal that the PLC controls the VFD, and the SCADA monitors the status of the VFD via the PLC program. If you want to change parameters on the VFD via a network connection, then if the VFD supports this, it normally has its own PC software package with the necessary drivers included - thus no need for OPC or pages to be setup in the SCADA. What is it that you want to achieve ?
  23. Does the B&R PLC support ProfiNet ? Does the B&R PLC support Modbus TCP ?
  24. Try to use hmion in stead of hmioff. You will then get a status message. Maybe it will be more informative thna just "error".