Rules for uploading a user program – Rockwell Automation 1766-Lxxxx MicroLogix 1400 Programmable Controllers User Manual User Manual

Page 333

Advertising
background image

Rockwell Automation Publication 1766-UM001H-EN-P - May 2014

293

MicroLogix 1400 Distributed Network Protocol (DNP3) Appendix F

send a command with the function code, Activate Configuration (0x1F) after
downloading the user program.

Maximum file size is 384 Kbytes. The MicroLogix 1400 supports downloading
up to 256Kbyte size of user program when Recipe is not configured. When
Recipe is configured, Maximum file size is 384 Kbytes.

The first application segment of the ladder program should be larger than or
equal to the size of System Exe File structure, 64 bytes.

An application segment of the ladder program cannot be exceed 2048 bytes.

When the MicroLogix 1400 receives the first application segment, it acquires
Edit Resource from the system. If the last application segment is received
properly, the MicroLogix 1400 returns Edit Resource to the system. After
acquiring Edit Resource, each of the application segments should be received
within the Edit Resource/Owner Timeout.

The MicroLogix 1400 controller checks the integrity of the program after
receiving the last application segment. If the downloaded user program fails the
integrity check, MicroLogix 1400 clears the downloaded user program and
restores the default user program. In this case, the configured Channel
configuration is not changed from the last valid configuration.

A user program cannot be downloaded while the controller is in Executing mode.
Before downloading, send a mode change request with the function code
STOP_APPL(18). See Starting and Stopping User Programs (Mode Change)
via DNP3 Network on page 294
for more details.

Executing modes include Run, Remote Run, Test Continuous Scan, and Test
Single Scan modes. Any others are Non-Executing modes.

Rules for Uploading a User Program

A DNP3 master should send the function code OPEN_FILE(25), READ(1),
and CLOSE_FILE(26) for uploading user programs.

When a master sends the function code OPEN_FILE(25) with the file command
object, the file name string in File command object must be in this directory and
file name format:

• /EXE/[processorName].IMG

The directory and file name extension string must all be in capital letters and the
string size cannot be exceed 64 bytes. The file name [processorName] is from the
Processor Name in the Controller Properties dialog in RSLogix 500/RSLogix
Micro.

Advertising
This manual is related to the following products: