niko9833

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About niko9833

  • Rank
    Newbie
  • Birthday March 24

Profile Information

  • Gender Male
  • Location Baie-Comeau
  • Country Canada
  • Interests hunting, fishing.
  1. list selection for NS

    I think's it a good way to try. I never use macro yet but that will be a good exercices. I will try it this week thank probably other questions to come. a+
  2. list selection for NS

    HI I have to use a list selection screen for a NS; I do not know if someone are familiar with this function, I have some problems with the configuration. I have to add a comment on data when I sort a batch of production. I have a list of 10 comments in which I would like to make a selection. I wish to keep the list of comments in my memories PLC (D31600...) and also, put the recording in memory of the PLC (D16000...) Also, I wish to be able to change the comments directly at screen. I do not know if it's possible to work on this way but all configurations that I tried did not work! Thank.
  3. Programming math question

    I should have caught that to thanks again
  4. Programming math question

    Thank you for quickly responded. The cnt are necessary because they giving me my variable reference. They represent days and the corresponding variable is an additive... I tried the way PMCR gave me and it works very well. Missing me just the use of DR Another question: my # 1 table records are double (32-bit) for the number with comma. When my cnt increases by 1, the offset will be 1: IR0 = D101, but I need D102. Is there a way to do? thank's
  5. Programming math question

    Hello. Firstly, I am new to your forum, it is very well. My question. I have a problem with a mathematical equation that I have to repeat several times: X * Y = Z or X is a constant in memory and Y is a variable that uses numbers with comma. I have a CNT0001 that increments from 0 to 120, and for each PV there is a match with value (between 0.366 and 2.750) which corresponds to the Y. Ex: cnt = 1 matches in the equation with X * 0. 366 = Z Cnt = 2 matches in the equation with X * 0. 413 = Z... Whenever I use the calculation in the program, I check CNT0001 value for the match of the variable Y. I think work with IRS may be a good way to do but I've never used this feature and I am missing some information . Here's what I did: I thought to create a table for my variables Y with DIM (1; &2; &120; @ d100). I use MOVR (D100; IR0) Until that seems to work, but it is then that I blocks: how I change record in the table (for example when CNT = 2 or 51...) and how do I use the variable Y is found in IR0? I try * F (, IR0 H40; H42) and I get a response in H42 that seems good, is it the right way to do? Thank you for the information a+