13.07.2015 Views

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7 File Operations7-3-4 File SizesThe size of files in bytes can be calculated with the equations in the following table.File typeFile sizeData files (.IOM)(Number of words × 2) + 48 bytesExample: Entire DM Area (D0 to D32767)(32,768 words × 2) + 48 = 65,584 bytesData files (.TXT or .CSV)The file size depends upon the number of delimiters and carriage returnsbeing used. The delimiter code is one byte and the carriage return code istwo bytes.Example 1: Non-delimited words, no carriage return123456789ABCDEF012345678 occupies 24 bytes.Example 2: Delimited words, carriage return every 2 fields1234,5678↵9ABC,DEF0↵1234,5678↵ occupies 33 bytes.Example 3: Delimited double words, carriage return every 2 fields56781234,DEF01234↵56781234↵ occupies 29 bytes.Program files (.OBJ) (Number of steps used × 4) + 48 bytes *1Parameter files (.STD)16,048 bytes*1 Calculate the number of steps in the program file by subtracting the available UM steps from the total UMsteps. These values are shown in the CX-Programmer's Cross-Reference Report. Refer to the CX-ProgrammerOperation <strong>Manual</strong> for details.7-20 <strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!