Search the Community

Showing results for tags 'sending string data'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 137 results

  1. Does anyone have any tips or tricks for generating UDT Templates from an excel spreadsheet? It says in the help files you can copy/paste from excel into the UDT Template, but it seems to only allow that cell by cell, instead of the whole table of data. This is painfully tedious when building larger interfaces. I've tried saving the spreadsheet in various formats (CSV, PRN, tab delimted txt) and I've tried various versions of RSLogix from 23 to 31. I can't seem to find any detailed info on how to do this. I've seen some other forum posts regarding using scripting to generate the XML to import the UDT, but I don't understand why I can't simply copy and paste the info in. Is this really that difficult? Any help would be greatly appreciated. Thanks Otto
  2. NS15 - Data Log Graph Decimals

    Hello.I'm having variable Voltage expressed as UNSIGNED DOUBLE INT.For example: Val = 23423For displaying the right value I have to divide value by 100 ... Val/100 = 234.23V.For showing the value I can set the decimal place to 2 and Unit&Scale to 1002.The problem is:THE GRAPH IS SHOWING Val=23423. I WOULD LIKE TO SHOW Val=234.23.HOW CAN I USE THE DECIMAL PLACES IN GRAPH?WHERE CAN I SET THIS SETTING?Thanks.BR, Andrej.
  3. Read/Write data to PLC

    Goodmorning a question... I builded a simple monitor of plc. I need to read the data of the Mitsubishi FX3GE PLC. In example I should read: D14  FLOAT 32bit D16  FLOAT 32bit alarms from M100 to M119 and a bit of state M450 How can I do this? The PLC is connected via ethernet and the port il 5002.  I'm working with PHP and normally use modbus, opc-ua, etc. But here? Thanks in advance Carlo
  4. FX3U Stop Reading Channel Data

    Hello Everyone,  Need help with reading channel data of FX2N-4AD with FX3U Cpu. I have added all the logic and it works also. Problem is that, FROM function stop reading/fetching data from FX2N-4AD after some time i.e couple of hours and value just hang. Like 502 or something, untill you reset the whole PLC. What could be the problem. For the further info, -I have connected the FX2N-4AD on the right of fX3U-64M. -There are two extension blocks FX2N-16EX and FX2N-16EYR also added to the right of FX3U-64M -Order of mounting....FX3U-64M > FX2N-16EX > FX2N-16EYR > FX2N-4AD > FX2N-4AD   I have tried using the 2nd special module connected at the end, but It showed similar problem after few hours of running. THis shows that both Special blocks fx2n-4ad are okay. There is something wrong with PLC maybe? Please help
  5. Good day, how can I send string data by buil-in ethernet. Maybe word 'TRIGGER,?
  6. There have been many good discussions on the applicability of cloud-based solutions for manufacturing and process control systems. On one side, some people have concerns regarding security and control of the information, on the other side, there are identified benefits enabled by cloud systems. From VMS minicomputers to DOS and Windows, from ArcNet to Ethernet, it is inevitable the industrial automation systems shall adopt the technologies that are getting predominant in IT general use; the current environment that I am calling the “Cloud-iPad era” is no different; therefore the practical discussion is not if those new technologies will be applied in the industrial environment, but how. This paper is not intended to join the conceptual discussion about the cloud, but just to present a few simple practical examples, where cloud technologies are already enhancing industrial automation solutions and enabling new business opportunities. CloudPracticalApplications.pdf
  7. Hello people, I hope someone can help me with this. The system is connected with 8 PLC's. I want to transfer the data memory of a PLC to another like this: D850 from PLC2 to D900 PLC1 D850 from PLC3 to D901 PLC1 D850 from PLC4 to D902 PLC1 D850 from PLC5 to D903 PLC1 D850 from PLC6 to D904 PLC1 D850 from PLC7 to D905 PLC1 D850 from PLC8 to D906 PLC1 The data memory is an integer.
  8. Hello All,                 I am in the process of installing a DPM Scanner to one of our machines.  I am trying to program an ASCII String Compare to compare the scanned part number, stored in a string as ST14:0, to a constant value stored in ST15:13.  I have used this tactic before in other applications and it has worked fine every time, except this time.  Am I doing something wrong?  Is there a setting I am not aware of?  Please see the attached image.  Thanks in advance!    
  9. Hello, Completely new to Mitsubishi PLCs and I need to use a date and time stamp for data collection purposes. We have a Siemens PLC as well and this has the data type "Date_And_Time" which is what I need to replicate. I have been attempting to write my own data type but am struggling with how to go about this as it is not straightforward and I cannot find anything about how the Siemens Date_And_Time is made up so I have nothing to go off. Does anyone have an example of a data type they have made that is the same? Or is there a data type which does this already in GX Works 2 that I just can't seem to find?  Please help!
  10. Hi Everyone, I would like to know  if two S7-300 CPU can exchange data via MPI protocol using X_Put and X_Get blocks. is it possible to test the data exchange via PLCSIM to verify. CPU1 = 313C-2DP CPU2 = 312 Please advise. Thank you.
  11. Hello! I am beginner in PLC world, also in SIEMENS PLCs. I managed communication over private network. Now I have a problem that I get same values on all inputs. Picture below shows my configuration of driver and data monitor. First picture shows values when input I0.0 is in state 0. Second picture shows values when input I0.0 is in state 1. Physically on PLC only input I0.0 is forced to 1, input I0.1 stays 0. But data monitor shows both inputs as state 1. Where is problem? Is problem in PLC program, TIA portal? I saw some guys using DataBlocks but I am not skilled enough to use it. Third picture shows simple PLC program on my PLC. Please help. Thanks in advance!
  12. Lets say I worked in a factory that made multiple models of parts. I need to run data tracing on the off shift due to certain models only running on 2nd and 3rd shift. I want one data trace to capture one group of bits at Model 1, Then reset the Data Points and run again for Model 2, Model 3 and so on. So the Bits that I am mapping with the trace need to change.  I can change the trigger easy enough with my program. I see in the manual the CPU has a "separate memory area" for trace settings. Can this area be accessed from the Program so I can set my bit addresses to monitor to a word or E_?   See attached pic for clarification of what I aim to change through the program.   
  13. Barcode string parsing

    Hi all, long time reader first time poster. I am an AB programmer through and through. Recently working on more and more omron gear and need a bit of a steer in the right direction. I have a sick barcode reader communicating to a omron CP1LE PLC over serial. Problem is the value from the barcode reader is not value, it is sometimes multiple values separated by commas (,). I really wish to only have the first value before the comma in this long string stored in D200.  I take it i'll have to move this string into individual container registries which i can easily go from there and pick which one I want to use. But how do I initially go about parsing the string in CX programmer? Attached is a screenshot of what I have so far> Cheers Dave
  14. Modbus Addressing in Weintek HMI

    Modbus addressing in Weintek HMI to poll data from Temperature sensor through RS485. In my system i have connected Temperature sensor to I/O Scanner has output in terms of RS-485 which directly connected to COM3 Port pin. No. 6 (as Negative) & 9 (as Positive) of HMI (Model No: MT8071iE) and HMI connected to PC via ETHERNET. I want to read temp on HMI screen via MODBUS protocol. So, can you please provide me instruction about addressing of MODBUS register in Easy-Builder Software so can read data of corresponding register. Because when i do compile i got an error like " Device no Response". I hope i will get reply from your side as Fast as possible to overcome this problem. Thank you.
  15. Cimplicity Auto Report Generation

    Dear All, I am having a problem with my cimplicity Auto Report Generation, When I Click on Generate Report, it shows "0 values collected" does anyone knows what's possibly could gone wrong here ??
  16. Mitsubishi GX Developer

    Hello all ... i am a new plc user.. i am using D500 for taking value as it is a latched register.  i am taking value for a flow meter. i have two questions. 1. how totalizer is calculated from flow rate as my flow rate is in m3/h. 2. the value of register is gone upto 32000 approximately... i want that this value to go on.. i mean how 32 bit register is declared in plc .. a
  17. Please assist me with the following; regarding the ME96SSHA-MB Power meter data transition with Melsec-Q series PLC; We acquire to read various values on dedicated Modbus storage address registers at the simultaneous into a Melsec-Q series PLC via Modbus (TCP or RTU)  for calculation purposes. Naturally, since the reading of these variables are to provide accurate instantaneous results, it is a requirement that these values are to be read at one scan.   However, as can be seen below, there is a gap in address register range – of which, if all of these are scanned simultaneously, yields an exception error when read. This error is only avoided by scanning these data sets separately – which is not ideal for our application – since accuracy in calculations is imperative.
  18. Please assist me with the following; regarding the ME96SSHA-MB Power meter data transition with Melsec-Q series PLC; We acquire to read various values on dedicated Modbus storage address registers at the simultaneous into a Melsec-Q series PLC via Modbus (TCP or RTU)  for calculation purposes. Naturally, since the reading of these variables are to provide accurate instantaneous results, it is a requirement that these values are to be read at one scan.   However, as can be seen below, there is a gap in address register range – of which, if all of these are scanned simultaneously, yields an exception error when read. This error is only avoided by scanning these data sets separately – which is not ideal for our application – since accuracy in calculations is imperative.
  19. Mitsubishi GX Works Bugs??

    Hello I have been using GX Works 3 for a while now and I have discovered a couple of things, maybe bugs. I have not had any training for the software or hardware so maybe I did something wrong. 1 Labels. If you sort a global label table into any order other than the unsorted order that appears by default you are unable to create, delete or edit any labels. Our Mitsubishi representative discovered that if you click on the column header between 'Data Type' and 'Class' the order does not change but now editing is available. This, it turns out is a really bad idea. It seems the position the label was in when it was created is preserved, I think this is the unsorted order you get by default. If you sort the list and then delete a label it is possible that the label that should be in that position is also deleted. I have attached a small project to demonstrate this. Open the Global Labels notice the order they were created. Now change the sort order, click on the column header I described earlier to make them editable and then delete the label in position 1. For a while I thought this was the only problem but recently there has been a number of instances where I have created a label, given it a carefully selected address only to discover that it is being overwritten by another variable. I have not been able to work out exactly what is going on but I believe it is connected to the sort order of the labels. Also if you sort the order and change an address, have you changed the address of another label? The only solution I have found is to keep label tables very short so they are managable without having to sort the order, that is probably good practice anyway 1 Axis software limits. I have been using a number of axes in pairs, in incremental mode as caterpillar feeders, using FX5U-40SSC simple motion modules. I had a problem that the axis synchronised to follow would suddenly stop moving, the customer was having to power down the machine and start again. This problem persisted for months with Mitsubishi scratching their heads unable to fathom it out and ultimately stating that the problem must be in my code somewhere. It was suggested by the customer that it may be getting to a software limit, I showed the customer that the software limit was disabled in the setup and it was confirmed by Mitsubishi that it was not the problem. guess what, it is a problem. Once the actual position reached the limit of the double word memory it would stop moving. The solution is the take the servos out of synchronisation in order to set the position (datum) to zero every cycle. Unfortunately the drives do not always re-synch on the first attempt so you have to keep trying till it does, this now causes slight variations in cycle times but it works. Andy EDIT: I have since been informed that to disable the software limits they must be set to zero. This implies that the Enable/Disable setting is invalid and the limits are defaulted to their respective max values. Surely a default to zero would be more appropriate.     Label Test.gx3
  20. CP1L connected with scanner symbol DS-4308 reading 2D data matrix,  with RS-232 on board CP1W-CIF01 Hi all, need some help because I can't read the information. Let me explain, I have a PLC, " CP1L-L14DR-D " with a RS-232 option borad " CP1W-CIF01 " , a scanner Symbol DS-4308, and I'm trying to read a data matrix 2d barcode (I don't know if that matters). so I build a cable with the next configuration, (one side male and the other female) PORT CONFIG PIN OUT SCANNER CABLE RJ-50 TO RS-232 PINOUT Maybe I'm missing a connection? a bridge? power supply ? ground?   in the program, I only have this to check the communication,       When my reception flag complete (A392.06), my instruction RXD is going to execcute, reading in D1500 the data. if is any error in communication (A392.04) or overflow (A392.07), my port is going to restart (A526.00) (ignore w0.03) with the followign config: (9600, 7,2,E, RS-232C, End code: Received Bytes 3       and I'm reading only, data on D1500 and D1501, and the data makes no sense.   with the configuration of End Code: CR, LF,          can't make it work, I read nothing. and if I change the END CODE: Received bytes to 4,      don't work. and my flag A392.04 go to ON.   PLC HAS 4 PIN SWITCH, ALL ARE OFF The configuration on the scanner is setting to default and then config to RS-232 Standard.   So, what I'm missing?  bad connections? plc don't support? scanner config? program?      
  21. Hello All, What are the methods to get the monitoring data from A series PLC? I know its not supported any more, interface modules are not available...,    So the basically,   If I want to write customer software (may be embedded) what is the protocol I need to follow? I am connected to CPU unit by the way, there is no other modules except few digital and analog interfaces on PLC. Thank you in advance for your direction, direction in any way would help!
  22. Hello everyone! Is there possibility to read words e.g. Name of alarm from the csv file or another file and save it in the PLC memory for further processing? It would be the best if the solution will matches to FX5 and IQ-R/F but it can be also for any of them. Thanks for help :)
  23. I currently have certain amount of Recipe data located in form of Excel file on to a PC with static IP address. Is there a way to get that data inside the Nj501 without using an SQL server as I currently have NJ501-1300 which doesn't support SQL. I am okay to send data to the SD card I currently have on NJ PLC as it is easy to get data from SD card to the NJ501.  If there is any example code or a link that helps me create i would be helpful. Thanks in advance. FYI: I am currently using NB10 HMI with NJ PLC.
  24. Hello everyone, I am working with a NB10W HMI connected to a PLC NJ by Ethernet protocol, I would like to know where to start regarding the sending of data from the PLC to the HMI. I have a 50x15 array and should show all those values in the HMI for read / write. How to proceed? I started working with PLC for a while. I'm using Sysmac Studio to programm the PLC and NB designer to the HMI.
  25. Hello everyone, I need the help to do setting of datalink between CJ2 and LOGIX-5324ER. The Allen bradley PLC was programmed by contractor and I have no software of it, so I am doing the network setting in CX-one network configurator. I tried to do the instruction in the Quick Start Guides on Downloads section here under Omron, but I couldn't find the option to register tags in network configurator. Is there anything wrong here? or is it possibly because of that they not support to do a datalink in these version of PLCs? They appeared like these in the pictures.