Search the Community

Showing results for tags 'fwrit%28701%29'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 1 result

  1. 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.