Search the Community

Showing results for tags 'input string'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 82 results

  1. FX1N

    I have a problem with PLC not seeing the input. I am using a FX3S, however, because I still am using GX Developer, it will only recognise it as a FX1N. My problem is I did a small programme for an alarm on a "Blow Down" system for filter cleaning on Silos. Tested it at home with a cyclic timer, everything working fine. Got the controller this afternoon and found I had a problem. It looks like it's not seeing the input to reset the time out timer. Worked for a while, then fell over. Using X0. The switching time I am monitoring is 20msec, which I thought would not be a problem. This is going to be a major setback for me with this project. Eight of these controllers. Any help would be great.
  2. View File Crimson 3.0 Simple String Validation Pattern Matcher I developed this for work and thought I would share. It can be used for input validation and we needed it to enable validation of scanner gun input through the USB port. I also use it for serial input validation. Usage is: pattern.isMatch(input string, input pattern) which will return 1 if match, 0 if not a match I have also included toUpperCase and toLowerCase functions for strings. To use in your project, simply copy the pattern program folder to your project. This can be auto-migrated to crimson 3.1. Pattern string syntax is described in the comments or by clicking the guide button. Worth using this testbed to debug your pattern strings before using in a production environment. The controls and bits on the right side of the test page allow you to tab through your pattern and the string and see what matches each char. You can see a mockup of a real world batch-entry view on the "Demo" page and edit the input fields to try to defeat the validation. If you end up using it, toss a thanks my way if you can. If you find any bugs, please let me know. Built with Crimson 3.0 v707.000, tested in built-in emulator and used on Graphite G07s with both Crimson 3.0 and 3.1 runtimes. Submitter marv_tech Submitted 04/10/22 Category HMI Sample Code
  3. i just got my NX1p2-1140DT controller with a R88D-KN04-ECT. i conneted every thing and directy got the 87 message on the display. i found out dat is becous wrong wiring I dont have the I/o cable incallt with omron they where saying that i don't need it and i can controll the motor controller full via ethercat. i already try to change to pdo mapping. what am i doing wrong? can someone help me? is it indeed true i dont need the i/o cable  thanks in advance for helping.
  4. serial input string

    Hi  I'm quite new to plc but very new to mitsubishi.   I have an input string eg G+002.7 which represents a weight. I wish to take in the input string then move/convert to int omitting first char,   On other plc's i have been able to use a modifier like d200[2] then the no of chars. How do i achieve this in gx works3   Any feedback gratefully recieved   Paul  
  5. Hi,I want to read transducer signal on PLC.I am using 7kg60008ab/nn transducer and it's analog (4-20mA) output is connected with analog meter.Can I connect the transducer current output (4-20mA) signal to PLC analog input in series with analog meter display???So that I can read the value on PLC simultaneously with analog meter?
  6. Output polarity selection

    Hello to everyone. Nice to meet you all. How are you? I hope you are doing well. I’m developing a program with the purpose of make something similar to a pulse train in the output. However, sometimes I need the output to be a “positive” pulse and sometimes a “negative” one. By positive and negative I mean the polarity in relation to the pulse train source. I’m trying to use a pair of bits in order to switch between the two choices of polarities. I attach a simplified version of the ladder diagram I’ve made. When I thought about the logic, it seemed logical to me, however, it isn’t working as supposed. SM0.4 is a pulse train source. According to the software manual, it is a pulse train with 50% duty cycle and a cycle time of 2 s. That it to say it says at TRUE for one second and return to FALSE for another second. I assign the value of that variable bit to the M0.0 memory bit. I get the negative version of the pulse train logically negating it in the Network #2.                 I assign the value of two inputs, I0.0 and I0.1, to other two memory bits, M0.1 and M0.2. ·         When both inputs are in a FALSE state, the output stays FALSE, disregarding the state of SM0.4. (Case #1) ·         When I0.0 is TRUE, M0.1 is TRUE. However, Q0.0 stays at FALSE no matter SM0.4 is TRUE or FALSE. I attach a pair of pictures. (Case #2) ·         On the other side, when I0.1 is TRUE, M0.2 is TRUE. In this case, the output shows the correct behavior. It is the negated version of the pulse train source. (Case #3)                 Has any of you experienced something similar? Is there a better way to execute my purpose?                 I’m not executing the program, just simulating it with KincoBuilder from Kinco. However, it has always worked fine for me. Thanks for you attention. I look forward for your responses. Kind regards!
  7. Version 1.0.0

    14 downloads

    I developed this for work and thought I would share. It can be used for input validation and we needed it to enable validation of scanner gun input through the USB port. I also use it for serial input validation. Usage is: pattern.isMatch(input string, input pattern) which will return 1 if match, 0 if not a match I have also included toUpperCase and toLowerCase functions for strings. To use in your project, simply copy the pattern program folder to your project. This can be auto-migrated to crimson 3.1. Pattern string syntax is described in the comments or by clicking the guide button. Worth using this testbed to debug your pattern strings before using in a production environment. The controls and bits on the right side of the test page allow you to tab through your pattern and the string and see what matches each char. You can see a mockup of a real world batch-entry view on the "Demo" page and edit the input fields to try to defeat the validation. If you end up using it, toss a thanks my way if you can. If you find any bugs, please let me know. Built with Crimson 3.0 v707.000, tested in built-in emulator and used on Graphite G07s with both Crimson 3.0 and 3.1 runtimes.
  8. Hi, I need help finding the length of a string.  I am using an In-sight 9000 series camera with a compact logix 5380 and communicating over ethernet. Unfortunately, the string length is not provided in the AOP, and the barcode length will constantly change. I told to use the FSC instruction, but I cannot get it to work. Thanks 
  9. CP1W AD041

    Hi.. I have a problem with my analog CP1W AD041, it's reading value always "0". Can someone help me to configure software setting? I use PLC CP1E-N60SDT-D Thank you        
  10. Extracting Digits of a Number

    Hello programmers, maybe sameone can  help me, i have a number  for example 458 how to extract this number to  digits ? 4 5 8  in Twincat or codesys?   tx!    
  11. unit of time in D8284

    Hello PLCmaniaccccssss, What is the unit of time in 'average time for the channel -1' (D8284) while programming for analog inputs? I have moved k10 to D8284 in my program in gxworks 2, does that mean the time average will be taken for 1Sec or 10msec or any other time unit??? I require this to eliminate the flickering of the input from the load cell transmitter. Thanks and God bless!!!
  12. Hello all,  I have a temperature sensor with a reading range of 10F to 212 . The input card I am using is an Allen Bradley 1734 IE8C 8 Channel Analog current input. The current input values are 4-20 mA. Currently I have my raw low at 4000 and raw high at 20000. Can anyone explain how do we go about selection of this values ? I found these values in the configuration tag of the input card properties.  Thank You 
  13. Sorry new to working with PLC's,  I am trying to write text to a ST file on an RSLOGIX 500 machine, its for a LED display, I am just trying to update the screen to new texts, it all works I am just having trouble inputting the text properly into the string file. I would like to read about it if anyone can point me to a good document or manual that can explain what characters to use?  I see many posts about using VBA using Excel work on RSLOGIX 500? But would like to know how to do it manually first.  Thank you
  14. Hi all, I am a new user of VB.net on NA Omron HMI, and I need your help to solve a problem. In my case, I have to get a HMI global variable value in VB.net, but the VariableName is in an other variable (string). For example: Var1=4 Var2=6 VarName="Var1" I worked with a "SetVariable" function to modify the value of different variables, but right now I need to read the actual value, in the example values 4 and 6.  Do you have any suggestion?
  15. StartApp Intouch Wonderware

    Dears,  I would appreciate your help on the below matter.  I am trying to send email using intouch scada.  I am using the following command: StartApp "powershell.exe " + par0 + par1 + par2 + par3 + par4 + par5 + par6 + par7 + par8 + par9; par0 --> is the powershell script path par1 --> is the email par2 to par9 are some parameters i would like to send. I checked the power shell script and its working just fine, but when i run the script through intouch it seems that executes a part of the string.  For example: par0 = "PATH_ON_MY_PC/powershell.ps"; par1 = "test@test.com" par2 = " -par1 12"; par3 = " -par2 10"; par4 = " -par3 test"; ... par9 = " -par9 9";   I am only getting first parameter and if i change to this: StartApp "powershell.exe " + par0 + par1 + par3 + par2 + par4 + par5 + par6 + par7 + par8 + par9; I will only get third parameter.  How can I overcome this limitation?
  16. Hello guys, how many (maximum) analog inputs/outputs can CPU 1215C can reach without any issue?   I try to search in google but can't find convincing answer.  Thanks for your help.
  17. E-Designer

    I have E-Designer 7.52 Build 344 installed on 3 windows 7 laptops the 2 that the problem is on are Pro 64 and the 1 thats working is Home Premium 64 but I seem to recall having this problem on the the Home one 9 years ago and getting it sorted but cant remember how The problem In Alarms,  Alarms New Alarm Alarm text: When typing cursor stays at left side and can only be moved to the right by the arrow key then jumps to left side after letter is pressed or you can type in reverse Signal:        Typing works normal OK:             Entry is not valid ;May not be blank Copy: Ok: Same result Properties:Ok:Same again Is there anyone who can help me with this as the laptop that works is on its last legs Thanks  
  18. I currently have a Rosemount 87 series flow meter connected to a 1756-IF8H analog input module.. We are not receiving flow from the device, and the channel is showing a diagnostic code of 009... I can not find a diagnostic code list anywhere explaining what this means, has anyone had any experience with the diagnostic codes for HART Devices?
  19. Q68ADG - Abnormal Analog Input

    Hi guys, So I found that CH2 on Q68ADG is abnormal. Whenever I short the termination, the digital value goes max to 4096. Input is set to 4-20mA with normal resolution. I tried to simulate 4mA-20mA but still same result. Does this mean the CH2 is damaged? Equipment at site is normal and give 5mA signal. Thanks!
  20. Have been able to exchange data types of BOOL, INT,  DINT & REAL between Omron NJ/NX CPU with Allen Bradley Logix CPU's with Ethernet/IP using the CIPUCMMRead & CIPUCMMWrite instructions. I now have a need to exchange "STRING" variable types. Have tried varions string lengths in the NJ without sucsess. AB default string length is 82 & Omron 256 but I think the difference is the length headder that AB has with within their String Tag type. I know I could convert my strings to an array of bytes & sent them this way, but was looking for a solution to sent them as native strings. Hope someone out there has done this & can share their leg work? 
  21. This is a 1756-IF8 rev 1.5 Analog Input module. This has happened a couple times where the Module Input Data, (not mapped), goes to the high limit and freezes (Data Monitor data is static).  Plant operators pointed out the trending wasn't accurate. There is no fault on the module, no yellow triangle on the system tree for the module.  The Module properties show no faults, and RUNNING. I have done a "Reset Module" both times, (Module Properties - Module Info tab), while monitoring the module data.  As soon as it resets, instantly the Data Monitor starts showing live data. I'm going to try and replace the module at first, but I have some concerns. Has anyone run into this before? I can't seem to find any information on the "Reset Module" animation, and what it actually does.  Any information, (or where to look), would be appreciated. I don't like to hot swap, but I believe I will need to in this case, (utility).  Will the current properties, e.g. scaling transfer to the new module? Thanks Dave Redman
  22. Input cards, DI8x24VDC BA, 6ES7 131-6BF01-0AA0, NEW in box ,quantity 10 IO-Link CD-Master 4SI SIRIUS, 3RK1 005-0LB00-0AA0, NEW in box, quantity 4 IO-Link Master 4SI IO-Link, 6ES7 138-4GA50-0AB0, NEW in box, quantity 3 IO-Link Communication Module, CM 4xIO-Link, 6ES7 137-6BD00-0AB0, NEW in box, quantity 1 CM AS-Master ST, 3RK7 137-6SA00-0BC1, New in box, quantity 1   Located in USA.  Make offer, shipping included.   Pictures available on request, send email address in a PM.
  23. I have a function that reads ASCII code from a transducer, converts the code into characters and places the characters from the serial buffer into a string. Now, I am trying to convert the value in the string into a 64-bit float number. Any ideas on how to do that on the CCW? 
  24. I have an 8 point analog input card on a rack with a SLC 5/04 CPU.  It has been in operation for 20 years or so.  There have been some power problems at site lately and ever since they fixed them I have been having issues with 3 of the 4-20mA circuits on this card showing open circuit.  I have had my meter on them when they show open circuit.  The signal reads 3.96mA, just below the 4mA minimum and boom, the machine goes down.  Is there a way to adjust this tolerance??  I don't think there is anything wrong with the 3 transmitters so the error is just a nuisance.
  25. Hey there forum guru's!!! I am trying to read through the manuals for an NX-HAD401 High Speed Analog Input Card.  It is not very clear as to where you assign your variable in order to grab a channels analog input value.  Can you point me in the right direction? I am thinking it is in the "Analog Input Values 1 to 10" and if so why is it set up as an array?  Is it because it takes the average of the samplings and uses the result as the channels input value? I am sure I will have more questions but this may clear up a few.