NootNoot

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About NootNoot

  • Rank
    Newbie

Profile Information

  • Country Australia
  1. Hi guys I am fairly new to Sysmac Studio so reaching out for some help. I have used a union to successfully separate a Word out into its bits, bytes.  Can't get my head around how I separate a byte into two nybbles?  Can anyone suggest an easy method? The byte of data made up of an error code in each nybble. Thanks
  2. FWRIT(701) To Memory Card

    Hi mate, Yes the control word is a fixed value.  The data is available in the CSV file it just changes the data layout from a return every 16 words to every 5 words, but only on the last stack that is written. Yes the FWRIT is preceded by NOT A343.13 I have attached a copy of the program if you have a chance to have a look, hopefully its something obvious which I am not seeing.   Thanks for your help 2020-04-26 - Deflection Rig Mobile.cxp 2020-04-26 - Deflection Rig Mobile.opt
  3. FWRIT(701) To Memory Card

    Hi guys anyone any ideas for me? Thanks
  4. FWRIT(701) To Memory Card

    Hi Can anyone please help with the following issue. Equipment  PLC - CJ2M-CPU33 Setup is being used to log distance measurements from a conveyor belt to a compact flash card in the PLC I have successfully set this up and it is working by writing values to a stack then when this is full, changes stack and writes the data in the previous stack to the card. The FWRIT command has the control word #3D00 (Comma-Delimited, Return every 16 fields, Append, Memory Card) The problem I am having is with the data in the CSV file, I am logging typically 300K lines with 16 values.   Towards the end of logging the data in the CSV file will start to return every 5 values instead of 16 which is just painful to re-format. I have attached an image of the Excel data to explain better. My Two stacks are  Stack 1 - E0_0   -   E0_16003 Stack 2 -  E0_16010   -   E0_32013   Thanks for any help.