bjump

MrPLC Member
  • Content count

    21
  • Joined

  • Last visited

Everything posted by bjump

  1. B&R Automation Studio 3.X

    Hey all, I am familiarizing myself with B&R's automation studio. I am using AS 3.0.71.10. I was looking at their coffee machine example, which utilizes a visualization. They are using a structured text program to control the visualization. There is an integer variable, which they have named 'setPage' that they use to switch pages in the visualization. I have also seen this similar technique used in the C language as well. What i can't figure out is how that variable switches the page. Is it tied to another variable somewhere? When that integer is changes, where is it tied to the page index? I just can't figure it out. Thanks in advance, Brian
  2. B&R Recipe Management

    Hey Everyone, I have a project I am working on that requires a certain recipe depending on which product is being run in the machine. Each recipe will have a different set of values for a different set of parameters. Does Automation Studio have a recipe manager? Is there a suggested way of doing this? We would like the recipes to be transferable if possible.
  3. CRC16

    Hi, I need to implement ladder logic that calculates a 16-bit CRC value for modbus commands. I know the algorithm, but I am struggling putting it into ladder. Any help would be appreciated.
  4. RCV and XMT

    Can someone please show me an example using RCV and XMT without using interrupts? I have not been able to get this to work properly. I can get it working with interrupts, but I do not want to use the interrupts for my application.
  5. I'm using RSLogix 500 and I need to time how long a set of conditions has occurred. Basically, I know that if this set of conditions are true, then the machine is standing by. If the machine has been in standby mode for 72 hours, I want to start it up and run it. How could I do this without having to use 9+ timers? I need to stop the timing if the conditions become false. But as long as they are true, I want to time up to 72 hours.
  6. Timer Logic

    b_carlton, Thanks a bunch! I never though of using the Done bit to reset the timer. This is very helpful.
  7. Timer Logic

    Thanks for the help! I have just one question. If the "standby" conditions are true for this entire time, how does the 1 minute timer reset when its constantly being triggered by these conditions? Also, the timer would not be retentive. It just needs to reset every time the "standby" conditions are false.
  8. S7-200 modem connection

    Hey all, I am trying to interface an old modem/radio with the S7-200. Trouble is, the modem uses the RTS signal to key the transmitter. Well the S7-200 RTS signal does not hold constant during the entire data transmission. I believe that it just pulses before the data from the S7-200 is transmitted. I've also tried to use SM4.5 to trigger one of the dry contacts which is hooked to the radio's transmitter. The problem is, the SM4.5 goes low as soon as data starts transmitting. By the time the contact closes and the radio transmitter keys, most of the data has already been sent out by the PLC. Can anyone think of anyway I can key the transmitter some time before the port's transmission begins? I am communicating modbus and using the MBUS_INIT and MBUS_SLAVE function blocks.
  9. S7-200 modem communcations

    Hello all, I have an S7-200 that I am trying to connect to a modem via a PPI cable. The radio attached to the modem will key its transmitter upon receiving the RTS signal from the PLC. The problem I am having is, as soon as I switch the PPI cable to DTE, which allows it to utilize the RTS signal, the radio is in continuous transmission. This leads me to believe that the PLC/PPI cable is constantly sending a RTS signal to the modem. Would there be any cause for the PLC to do so? Is this a flow control issue? Please help.
  10. S7-200 modem communcations

    The customer is replacing over 90 of the old Modicon Micro's with S7-200's. Therefore, buying over 90 new modems is not an acceptable solution.
  11. PPI Cable

    Hey all, I am trying to figure out if I can communicate Modbus and remotely program an S7-200 and keep the same dip switch settings on the PPI cable. Basically, the S7-200 sits behind a modem, which receives modbus commands from a Modicon Momentum via the radio. What I would like to be able to do, is remotely change the port mode on the S7-200 from Modbus to PPI and then program the S7-200 and then switch the port back to Modbus mode. I have figured out ways I am able to switch the port back and forth, but I think the only thing that prevents me from doing this is the dip switch settings on the PPI cable that runs from the modem to the S7. I think they would have to be changed in order to switch from receiving modbus to PPI commands and vice versa. I will continue to research this, but if anyone has any suggestions, I would greatly appreciate it.
  12. Step 7 Address Monitor

    Ian, Thank you. I will try this.
  13. Step 7 Address Monitor

    Hello, I was wondering if there is an easy way to monitor the addresses VB1000 to VB1180 in the Step 7 programming software? I am using the status chart now, but I am unable to find an easy way to input all those addresses.
  14. S7-200 Modbus

    Hey all! Has anyone ever hooked up a Modicon Momentum to an S7-200 and had the two talk modbus? More specifically, with the Momentum as the master and the S7-200 as the slave.
  15. Hey all! Has anyone ever hooked up a Modicon Momentum to an S7-200 and had the two talk modbus? More specifically, with the Momentum as the master and the S7-200 as the slave.
  16. Hey all, I am using the XMIT function block to send modbus commands to RTU's. I would like to somehow monitor the sending of those commands. Is there a way to do so? Is there a way to hook the RS485 into my serial port and see what is being sent?
  17. Hi, I have come across a modbus function code of 20 hex coming from a Modicon Momentum. Anyone know of why the function code would be 20 hex? I am unable to find this code anywhere.
  18. I have posted the modbus request above Basically, I have a wonderware application which collects data from a data concentrator. The data concentrator, the Modicon Momentum, sends polls the multiple RTU's via radio to collect data from each. The above posted request is sent out by the data collector to the RTU's. Currently, the RTU's are Modicon Micro's. They seem to handle the request just fine. The Siemens S7-200 does not recognize the request. I am not sure what type of Momentum is there, I am making a return trip tomorrow (The system is 2 hours from our office). I am going to record the modbus request post modem at the data concentrator and and post modem at the remote test station.
  19. Thanks aggattapauer, but I have been through this documentation a dozen times. As you can see, there is no function code 20 hex. The exact modbus message I am getting is "3E 20 1D 14 C7 FF" The 3E hex makes sense, because i am trying to poll modbus address 62, but i cannot find why the function code would be 20 or why it would try to send that. Any suggestions?
  20. Hello, I am trying to download a program created in PanelBuilder32 to a PanelView 600. I made a serial cable which crosses pins 3 and 2. Pins 5 connect directly. The download process gets all the way to 33% of "checking operator terminal for compatibility" and then dies. The PanelBuilder32 process continues to try and the PanelView 600 gives a comm error. Any suggestions?
  21. B&R Automation Studio 3.X

    Thanks TimD I found it on my own eventually. I wanted to kick myself when i found where it was.