Search the Community

Showing results for tags ' etc. all the mb public/native function codes are supported. 32-bit integers/floats as single entity are supported with byte and word level swapping. a separate utility automates the data mapping to your plc logic. features -serial master (basic requ'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 276 results

  1. Hello! I am working on a quote for a new project that will use EtherCAT but also requires DeviceNet for some legacy components.  Has anyone successfully used the Beckhoff EtherCAT coupler (EK1100) with the DeviceNet Master Terminal (EL6752) and an Omron PLC as the EtherCAT master? My concern is that the coupler will only communicate with the Beckhoff EtherCAT master, but since it is so much more expensive to get the new Omron parts to communicate DeviceNET i am hoping this could be an option.  The equipment is extremely simple and price is a major consideration.   Thank you!!!
  2. NB Data log

    Hi there!  I need to implement a data logging that saves the log in a USB storage for a machine and just started searching for some info about data logging in NB HMIs. Up to now I'm clear about using the Data History function and the sampling method I'll be using but I still have some unclarified doubts about this. 1.- The data log should sample the value of, let's say, a couple of words, each second for an entire day (6:00 am to 6:00 am). NB's manual doesn't say a lot about Storage Type and Buffer Storage in "Save Data History" tab. Does "daily file" mean It deletes the .CSV file daily and it generates a new one? If is it, at what time does this occur? Does "single file" mean it generates a file and won't get deleted? Does this mean the sampling stops when completing the first one? Is "storage period" used to keep the file after the next log begins? 2.- Is it necessary to display the element in order to make the log work? Or can it be placed in a random screen you only enter once a day? 3.- In the "Channel Properties" tab. If I need to get the binary value of a word, do I need to set the max. limit to 65535? 4.- I asume that "Sample points" value doesn't matter when selecting Continue sample mode. Am I right? Thanks in advance, any help is appreciated.  
  3. Data Logging with GT Designer3

    Hello, I am trying to log data using GT Designer 3 and I'm having no luck. I found some sort of online documentation and even going through the myriad of steps still find my self unable to log anything. I am using the melsoft project navigator and GX Works 2 to simulate the logging of just one 16 bit signed word with a constant value. As logging data is clearly not as simple as just specifying D100 or D200 as the devices you want to log, I am hoping someone else on here has some experience on this matter and can help me out.  Thanks for any help in advance.
  4. Hi, I have an Omron NSJ5-SQ00B-M3D Programmable Terminal (HMI) that I am trying to get to communicate with an Omron CJ2H PLC through a DeviceNet module (DRM21) in the main PLC rack.  I don't see how to configure CX-Designer to communicate via DeviceNet.  How is this done?  Many thanks for any help.
  5. Thesis idea

    Hi guys!   Actually, I am student. I need to choose a thesis topic soon. I would like to write something which is connected with automation. I wolud like to ask your help, to figuring out an idea, what can be a good topic in nowdays. It would be a master degree already. Im using AB PLC-s, so it would be convinent if someone could suggest for me what I can solve with this, enviroment (rs logix 5000, studio 5000) Im not asking a solved thing. I would like to ask some ideas or tip. If anyone have some idea, pls share it thanks.  Thanks in advance.
  6. Hello all, I need to read device memory mostly I need to read R registers from PLC L26. I read device data, but inside of table, I can't find R or ZR registers. Can you help me?  What I did wrong?   BR KS  
  7. Hello, We have a FX3G connected to a FX3U-ENET-ADP inside a main cabinet. We are then using that master PLC to collect data from 2 other fx3g plcs in a node:node serial network. I was assigned a small project of pricing out some wireless adapters so we can upload/download to the two slave plcs. My question is, is it possible to upload/download programs to/from the slave plcs through the ENET adapter and serial network in the main plc? It would save us some money if possible. thanks.
  8. RSLogix5000 Transfer function Bumpless transfer between two inputs. If criteria or FLAG is true, then transfer from input-1 to input-2 at a prescribed ramp rate, and then release the output to match the selected input without rate restrictions.  Issue: The issue is that upon the status of particular input (FLAG), the control valve demand jumps from 0 to whatever the output of the PID’s Low Select value is (maybe 50% or 80% or other). Request: Ideally, I would like to mimic or replicate the Transfer algorithms provided in other control systems, as described below . The TRANSFER algorithm performs a transfer between the two inputs.  The output is equal to the IN2 input if the digital input FLAG is TRUE, and the IN1 input if the digital input FLAG is FALSE.  The algorithm automatically performs a bumpless transfer between the track input and the selected input when a tracking request is removed.  The algorithm ramps to the selected input (IN1 or IN2) at the specified track ramp rate (TRR1 or TRR2).  Internal tracking may be selected to allow a bumpless transfer between IN1 and the IN2 inputs.  Individual track ramp rates may be initialized to ramp from the IN1 to the IN2 and from the IN2 to the IN1. Attached is RSLogix5000 program "transfer.acd" Thanks.
  9. Proface with Serial Printer

    Dear Sir, Good day. I facing difficulty on using proface to print out the data using serial printer. I did follow all the instruction on proface reference manual but still fail to print out anything. Anyone here having experience on this issue? Thanks. 
  10. Dear Friends, I have made this video to show you how to take data samples from Delta DVP PLC and save this log file in the Weintek HMI internal memory. The Weintek HMI internal memory is easily accessible using ftp. All the necessary steps are mentioned in the video. The link of the video is given below,    
  11. Allen bradley Micro850

    Hello, I am new to automation and I do a project with a Micro850 Plc. I am more comfortable with logic block so I write my program in Function Block langage on Connected Component Workbench software version 12. I would like to make flashing a light but I don't know wich block to use and how to program it ... Could you help me. Thank you
  12. Hello, In past i was using Siemens S7 300 and Simatic 5.3. So a long time ago. I restart look back to plc because i need to monitor the temperature of my heating system. So bought a plc that is a IEC61131-3 standard and  OpenPCS as Develop software.  So i begin to play with OpenPCS because  Im very rusty.  SO i create a function, that i named FC_TEST . When i compile the below code i get an error E: S5004: Function blocks instances are invalid in 'FUNCTION'-POUs, STRUCTs, and in ARRAYs.  It seams that Timer block inside the function FC_TEST are not allowed, i understood right ? (*  --------- DECLARATION  ---------  *) VAR_INPUT T_1 : TIME ; (*Declare T_1 as a Time Input ==> Set the Time of Timer *) START : BOOL; (*Declare START ad BOOL Input ==> Start The Time of the TIMER *) END_VAR VAR MY_TON : TON; (*Instantiate MY_TON as Timer type TON*)  END_VAR (*  --------- FC PROGRAM  ---------  *) MY_TON(IN := START , PT := T_1 ); FC_TEST := MY_TON.Q;   (*  --------- CALL THE FC---------  *) tmp2 := FC_TEST(T#2s, I0_0);  (* I0_0 is a input*) Thanks  Marco  
  13. connection to omron CJ1M PLC

    I have an omron PLC (CJ1M type) at home which I would like to connect to, however, lately, I can't anymore.  I'm trying on two different PC's a newer and an older one, both running on windows 10. 1 is just mentioning a DLL error and I can't even start cx-programmer, the other one seems to work, however, when I try to go online it always fails I'm using a usb to serial device and after some searching on the net, I thought the issue was with the prolific driver.  I tried all kind of fixes, but nothing seemed to work.  I have now purchased another device, the XS8801 from usconverters and installed the latest driver.  I have checked if cx programmer is set to work with the correct port and this is the case. My knowledge is very limited but I would really want to connect to that PLC again, so hoping someone out here is able to help me. Thanks a lot    
  14. Hi all, I am currently having a project of polling data from PLC CJ1M using Advantech ECU-1051 IoT gateway which support rs-232 serial connection (Host Link) to poll data from the PLC for data acquisition and monitoring, I would like to use peripheral port since rs-232c port is used for HMI. However, I am currently stuck at make the connection between those two devices. I did setup same transmission configuration between them (baudrate, Unit number, start/stop bits,...). Is there any configuration that I have missed to make the communication works?  
  15. Check serial connection to Omron PLC

    Hello, I am building an application in CitectSCADA and I want to communicate with an Omron Sysmac CS1G. The connection between the plc and the Citect computer is through an ethernet to serial adapter (the computer doesn't have com ports on board). I'm having some difficulty establishing the communication and I want to make sure that I can actually reach the plc. Is there a way to check that the computer can reach the plc over the serial connection without using CX programmer? Maybe using Hyper Terminal, Putty or something similar. Thank you, Liron
  16. Dword to Float on FX3GE

    Hello! I have a float number (HEX: 3CA01D0F) in Big Endian. It's 0.0195451062. I get it from the sensor and store it in a double word variable. Could you help me? How can I convert DWord to Float? If i use DFLT instruction, It treats DWord as an integer (1017126159) and just gives me 1.017126 e+009 Thanks in advance.
  17. Hi:         How to use data type Word to perform math function without converting to Int or Uint ?  -----> Error    26    The '+' operator is not supported by WORD data type.     thanks    
  18. Union

    Hello! I am trying to get hold of the bits in a word, i have read that union is the way to go. My problem is that i cant figure out how union works. I have made a union between a word (16bit) and an array(0...15). The way I understood this was that the word now automaticly updates the array so that when the least significant bit in the word should update array[00] and so on. This is not happening. When I monitor the variables I can see the word change, but nothing happens with the array. Have I misunderstood the consept and what should I do to get hold of the bits?
  19. HI All,  I have an issue with my SCU32 communication.  Back ground Two SCU32s  (top and bottom side) connected via a 1100M datacable  using port1 ( 9600bps,  8-2-E, start code FF, end code FE, Tx save to d1000-d1200 , Rx save to d2000-d2200). PORT2 of bottom SCU32 is connected to a compass( 2 wire, 8-1-N, 19200 bps, serial gateway MODBUS ). Refer to photo Issue  Without compass, the receiving data at top is very stable and is didn't see any fluctuation. But if is compass is connected at bottom side port2, there is a fluctuation at the top side RX data(specifically d2000-d2005 ) .  I checked the data a bottom side TX (d1000-d1200) and it is stable. Only after sending the data and Receiving at Top side, then only the starting words fluctuate. I am not sure sure what is wrong, I am using logical ports for the DTXDU/DRXDU and compass.   Appreciate all your feedback and suggestions.  
  20. Good day everyone, before I start asking my question, just want to let you all know that my knowledge with PLC is not that good. I'm still learning on how to do it. So currently I'm working on a project that trying to obtain data from Omron PLC. I was told that I can't touch the Omron PLC program or modify it. That Omron PLC is connected in an isolated network within a router. Other than adding Network Card on the device, can I use another PLC (any brands) to get the data from that Omron PLC through the router? The communication protocol using here is Ethernet. Can i just tapped into the network and take the data with that way? Or the other method I'm thinking is that, the Omron PLC will feed the data to a server, can I just obtain that data from server by using OPCUA? I heard there's some PLC that have the OPCUA function, I just make my PLC into the cilent and request the data of that Omron PLC from server through Ethernet. Is this possible? Please let me know whether my method works or not, thanks in advance guys!
  21. VBA issue on FTViewSE Clients

    I am having a very weird issue that Rockwell was not able to help with.  I have a new SE application that I converted from RSView32 and I re-wrote some VBA code associated with the project.  The code works fine on the server while the screen is running in studio.  Once I deploy a Client it no longer works.  It just sits there like its waiting for my trigger to go off, but I am seeing it sit there with a 1 so i know it should be executing the code because as soon as i open the screen in studio and press play the code executes and my data is there.  Does anyone have any ideas for me?   Thanks
  22. I'm editing an old program for a customer that has a zillion user-defined data types. Scrolling through the list trying to find a specific type definition is taking way too long. Is there and easy way to find a specific data type definition? It would help if I knew how to collapse the view so I don't have to scroll through each member of every type. There doesn't seem to be any right-click menu items that would collapse the view.
  23. How do you test PLC logic?

    We have been working with PLCs for long time. We used to develop PLC logic, partly test it on an emulator and test the rest on the partly energised equipment. From time to time working with computer software development (C# and JavaScript) I was always looking for something similar to unit testing in the PLC world. As I couldn't find anything at that time I've started developing own automated testing tool. Now we use this tool, which basically simulates PLC inputs in defined actions and checks expected behaviour of internal tags or/and PLC outputs. If it behaved the way we expected, it's PASS, otherwise it's FAIL. We break complex logic into small parts and create unit tests for it. By creating more of these unit tests we can test PLC logic of any complexity. The software called PLC Logic Prover and it's free at Recently, I've been told that there is no point to develop anything new if there are already great tools on the market. Honestly, I didn't do proper research earlier, so I'm here asking the experts. What do you use to test PLC logic? What automated testing tools do you use? Is it using IO simulation or it can test logic by other means? Your replies are appreciated. Thanks, Alex
  24. Hello, I'm new to CX-Programming and I could really use your help. I want to make function block that will check the bit status from a word input variable. I made input variable and internal variable array of bool(32) and I thought I can just use the code example: array[1]:=word.1 etc... but it is not allowed in CX-programmer. My goal is rearranging  the bits status from the input word to the output word. I don't need just making the 0 to 1 or otherwise... Thank you in advance.
  25. Hi! I would like to ask how could I send data from PC to CJ1M PLC, by SCU-41 module and RS232 cable, in order to activate an actuator (LED)? In my environment, I have a sensor that sends data from PLC to PC (I'm checking data, "HelloWrld" with Putty), with this configuration: And I have another section where I want to read the data from the PC in ordr to activate a LED I would like when I send for example a letter 'a' trough Putty, the LED activates. How could I do that? Thank you very much!