Rockwell Automation 9323-PA2E APS SLC 500 Import/Export Utility User Manual User Manual
Page 58

Creating an ASCII Archive File
5-23
Example Data Files
The following examples show initial data values in decimal, hex and octal formats.
The comments between the percent signs (%) explain each of the formats.
DATA N7:16
!Initial Data Values in Decimal Format
5249
0
549
0
0
0
0
1
0
0
–16
0
81
0
0
110
% The import utility allocates data elements N7:0 to N7:16, which are
initialized to zero if they do not exist %
% The import utility places 5249 into the data file at address N7:16 %
% The import utility places 110 into the data file at address N7:31 %
DATA N7:37
!Initial Data Values in Hex Format
0X1111 0X0000 0X0000 0X0000 0X0000 0X0000 0X0000
0X0000 0X0000
0X0000 0X0000 0X0000 0X0000 0X0000 0X0000 0X0000
0X0000 0X0000
% The import utility allocates data elements N7:0 to N7:37, which are
initialized to zero if they do not exist %
% The import utility places 0X1111 into the data file at address N7:0 %
% The import utility places 0X2323 into the data file at address N7:31 %
DATA I:1
!Initial Data Values in Octal Format
0O000043 0O000000 0O000021 0O170000
% Since four words of input are given, there are four words of input
configured for slot 1 %
% The import utility places 00000043 into the data file at address
I:1.0 %
% The import utility places 0O170000 into the data file at address
I:1.3 %
Defining Timers, Counters, and Control Data Files
Enter Timer (T) and Counter (C) data in the following order: CTL, PRE, and ACC.
For example:
DATA T4:0 0XE000 100 0