beautypg.com

Example queue 0 -59, Example queue 0, String length of record – Rockwell Automation DAG6.5.8 APPLICATION GUIDE SCADA SYSTEM User Manual

Page 127

background image

Publication AG-UM008C-EN-P - February 2005

Configuring MicroLogix 1100/1200/1500 Controllers 3-59

Example Queue 0

This queue is used to show how to calculate the string length of each
record and maximum number of records.

String Length of Record

The size of a record is limited so that the length of the maximum
formatted string does not exceed 80 characters. The following table
can be used to determine the formatted string length.

For queue 0, the formatted string length is 59 characters, as shown
below:

= 10 + 1 + 8 + 1 + 6 + 1 + 11 + 1 + 6 + 1 + 6 + 1 + 6

= 59 characters

Table 3.11 Queue 0 (Date = , Time = , Delimeter = )

Date

Time

N7:11

L14:0

T4:5.AC

C

I1:3.0

B3:2

Record 0

01/10/2000

,

20:00:00

,

2315

,

103457

,

200

,

8190

,

4465

Record 1

01/10/2000

,

20:30:00

,

2400

,

103456

,

250

,

8210

,

4375

Record 2

01/10/2000

,

21:00:00

,

2275

,

103455

,

225

,

8150

,

4335

Record 3

01/10/2000

,

21:30:00

,

2380

,

103455

,

223

,

8195

,

4360

Record 4

01/10/2000

,

22:00:00

,

2293

,

103456

,

218

,

8390

,

4375

Record 5

01/10/2000

,

22:30:00

,

2301

,

103455

,

231

,

8400

,

4405

Record 6

01/10/2000

,

23:00:00

,

2308

,

103456

,

215

,

8100

,

4395

Record 7

01/10/2000

,

23:30:00

,

2350

,

103457

,

208

,

8120

,

4415

Record 8

01/11/2000

,

00:00:00

,

2295

,

103457

,

209

,

8145

,

4505

Record 9

01/11/2000

,

00:30:00

,

2395

,

103456

,

211

,

8190

,

4305

Record 10

01/11/2000

,

01:00:00

,

2310

,

103455

,

224

,

8195

,

4455

Record 11

01/11/2000

,

01:30:00

,

2295

,

103456

,

233

,

8190

,

4495

Data

Memory Consumed

Formatted String Size

delimiter

0 bytes

1 character

word

2 bytes

6 characters

long word

4 bytes

11 characters

date

2 bytes

10 characters

time

2 bytes

8 characters

Data

Date

Time

N7:11

L14:0

T4:5.ACC

I1:3.0

I1:2.1

Characters

10

1

8

1

6

1

11

1

6

1

6

1

6