Search the Community

Showing results for tags 'components'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 8 results

  1. CCW/Micro800 series

    Hello all! I have a two part question - both revolve around using Rockwell's CCW software. 1) in rs500 you can mov a value into the an int memory slot and call that int up later on for comp. instructions to see where you're at. Example, if x switch is active, mov value 0 into N7/0. If y switch is active, move value 1 into N7/0. If both x & y are active, move a value of 2 into N7/0. How is this done in CCW??? I've found the mov command but not sure where/how to store this value. 2) How do does one shot [ONS] work in CCW?!? From what I've gathered the r_trig and f_trig is its replacement, and thought it made plenty of sense. But no matter what I do the triggers never work out correctly. Thanks, -g
  2. Hello - I am currently setting up a program to control a downlane conveyor motor and ran into the issue of operators leaving the conveyor on through their breaks/at the end of the shift.... I know, shocking . Anyways, the essentials of the program are the following - ladder logic, start/stop PB station, a sensor that says when I've seen a box for x-amount of time I will turn off, when the eye is clear for x-amount of time I will turn back on. When trying to 'solve the problem' of the operators leaving them on, I figured this would give me a chance to use a RTC (real time counter) and program it so that at various times of the day I will send a single shot to verify the relay is CT is open. I've enabled the RTC on the Micro810, dropped a TOW but do not really understand how to set the TOW block up. Hopefully that all makes sense. Thanks,  grubb
  3. Socket communication with Micro820

    Hi everyone ! I have a little project wich involves communication between two Micro820 controllers via TCP/IP. To do that, I started to work with TCP/IP socket. Within CCW (Connected Components Workbench), I tried to create a new socket instance using the instruction SOCKET_CREATE and set the socket address to 127.0.0.1:21. Basically, my computer through the FTP port. The problem was that it couldn't create a new socket instance (error variable is set to TRUE and status is set to 4, wich I don't know the meaning) because I didn't have a server-side application that listens to TCP/IP socket requests. That said, I found an open source application called SocketTest that listens for TCP/IP socket requests on a specified IP address and port. So, I started a listener on the following address : 127.0.0.1:21, but the error variable is still set to TRUE and status is still set to 4. So, my questions are : Is my IP address OK ? Is my port number OK ? What means the status code 4 ? Is SocketTest doing what I think it does ? Do I need to do something else before using the SOCKET_CREATE instruction ? Thank you in advance for your help !
  4. Can't connect to Micro820 controller via CCW

    Hi everybody, Recently, I started working on a project. I want to develop a program for a Micro820 controller (2080-LC20-20AWB) using CCW (Connected Components Workbench). I built a little motor circuit for testing purpose. However, after building the program and downloading it to the controller, I tried to connect to my controller via CCW, but I can't. When I click the button "Connect", CWW crashes OR a window saying : "The controller has unnacepted changes" appears and asks me if I want to "Download current project to the controller" (wich I already did) or "Upload the project in the controller to overwrite current project content" (wich is grayed out). When I choose to "Download current project to the controller", CCW starts downloading the resource, but fails. In the "Output" window, there's a line saying : "Download failed for Device:Micro820: An error occured while reading from GETACTIVERESOURCELIST.". The problem is that there's no documentation at all concerning this error. I even tried to reinstall CCW, but it didn't fix the problem. I joined some images so you guys can see what I'm talking about. Don't mind asking for more details !
  5. Converting UINT to DINT

    Good afternoon,   I need to convert a UINT (16-bit unsigned integer) to a DINT ( 32-bit signed integer).   Apparently we can't directly assign a UINT variable's value to a DINT's or vice versa. I also couldn't find a way of casting UINT as DINT.   The reason why I need to do it is because I'm receiving data from a socket. The RXLength is a UINT but in order to scroll through  the data array (USINT[1..1])  I need to use a DINT as the array's index, but I can't compare the array index to the array's length because they are incompatible types.   Is there a cast statement similar to:       myDINTvar := (DINT) myUINTvar;   I also tried the following but it didn't work:       myDINTvar :=  (myUINTvar * 1);   Any help will be deeply appreciated.   
  6. Hi all I am setting up a batch tank system, I have 1 pump which can pump to six different tanks(via pneumatic actuated valves). This is my first go with a HMI, usually I would use a multiple position switch. Is it possible to make a six position selector switch with a HMI? I am using a AB Panel-View 800, has anyone done this before? Any help would be appreciated.
  7. Micro 830 RTC programming

    Hi all,  Can someone please help me, I am using a Micro830 Controller running connected components workbench software to program the controller. I want the use the Real Time Clock of the controller to control an output to turn on everyday at 01:30am and turn of when it receives a signal from an input. The output will control a backwash valve that will operate and activate a cam switch internally that sends a signal back to the Controller to say the valve has operated and can now stop sending the signal to the valve. (if that makes sense). I have tried playing around with the RTC instructions but I cannot seem to get it to operate how I want it to. Any help would be much appreciated. EnvrioService
  8. Hello, I am new to the connected components workbench software. I am working with an AB panelview component Hmi and would like to create numeric buttons to load integers into user variables in a schnieder LMD servo motor. The motor uses Modbus TCP to communicate. It appears that if I click on the numeric buttons properties there is a "Write Tag" of which you can use some default tags or create a new one. I am assuming that I need to create a new one with the motor's addressing but I'm not quite sure how to accomplish this. Any help would be much appreciated!!! Thanks, Steve