rooty09

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About rooty09

  • Rank
    Newbie

Profile Information

  • Country United Kingdom
  1. hi all can anyone tell me if it possible to change the default com port settings in gx developer. when i start up gx developer and click "read from plc", the serial com setting defaults to com1, i would like to know if it is possible to change this setting and if so, how to do it thanks kev
  2. Hi All Does anyone know if it is possible to refer to an array using another array as part of the subscript ? Example: I am trying to look up a part name from a value specified within an array element. I have an array called My_Array[0] (this is an array of 100 dints containing multiple information) I am trying to look up a part name stored in another array but wish to use the My_Array [0] array as part of the subscript for the 2nd array as shown below Part_name[My_Array [0],0] When I enter the data above I get an error “Invalid Subscript Specifier. thanks in advance for any ideas Kev
  3. Bob Did as you suggested and its now working fine Thanks for the help
  4. Thanks for the info Bob, I have created a string variable as you described above and concatenated values into it without any problems. Unfortunatly the HMI i am using (proface AGP 3600) does not read strings directly. To get it to display a string i have to load an array of Dints with either the ascii character codes or hex values for the text i wish to display, the system reads the array of character codes and displays them as ascii characters on the screen. Is it possible to retieve the Ascii Character code from a value ie Dec 9 = char(57) or 39h In VBA i would normally do this using an ASC instruction ie (asc(9) = 57), but i cannot find any such instruction within the logix 5000 software. thanks in adv kev
  5. Hi Chaps I am working on a project which involves collecting and storing some data within a controllogix plc. I am looking for a way to date and time stamp the records. I have read in another post that i can use GSV and date time to retieve and store to an array of dints, but i am looking if possible to some how concatenate into the format DD/MM/YYY HH:MM:ss in one field so i can display onto an HMI. does anyone have any sugestions ?? thanks in advance kev