Valid data types/values are, Understanding program-file storage -15, Understanding program-file storage – Rockwell Automation 1785-Lxxx Enhanced and Ethernet PLC-5 Programmable Controllers User Manual
Page 59

Publication 1785-UM012D-EN-P - July 2005
Addressing I/O and Controller Memory 4-15
Valid Data Types/Values Are:
Understanding Program-File Storage
Create program files based on the programming method you are using. This
table lists the number of words used by each type of program file:
The more program files that you create, the longer the controller takes to
perform certain tasks, e.g., going to run mode, performing online editing,
saving a program. Also, certain instructions (JMP, LBL, FOR, and NXT) have
longer execution times in higher program file numbers.
Series E PLC-5 controllers support 2000 program files to allow for more SFC
steps in your program. SFC step/transition program files are typically shorter
in length. This enhancement will effectively double your SFC step/transition
size.
Each program file you create is allocated 6 words of memory. This memory is
in addition to any programming within the file. If you create the maximum
program file number 1999, this allocates 12,000 words of memory to the
program files, which reduces the amount of controller memory left for
programming.
This Data Type/Value Accepts Any
Immediate
(program constant)
Value between -32768 and 32767 (Constants greater than 1024 use 2 storage words of memory; floating point
constants use 3 words of memory.)
Integer
Integer data type: integer, timer, counter, status, bit, input, output, ASCII, BCD, control (e.g., N7:0, C4:0, etc.)
Float
Floating point data type (valid range is + 1.175494e
-38
to +3.402823e
+38
) with 7-digit precision
Block
Block-transfer data type (e.g., BT14:0) or integer data type (e.g., N7:0)
Message
Message data type (e.g., MG15:0) or integer data type (e.g., N7:0)
PID
PID data type (e.g., PD16:0) or integer data type (e.g., N7:0)
String
String data type (e.g., ST12:0)
SFC status
SFC status data type (e.g., SC17:0)
Program File
Number of Words Used
Ladder
6/file + 1/word
SFC
6/file
Structured Text
6/file + 1/word