Rules for initializing a user program, Rules for uploading communication status files – Rockwell Automation 1766-Lxxxx MicroLogix 1400 Programmable Controllers User Manual User Manual

Page 334

Advertising
background image

294

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

Appendix F MicroLogix 1400 Distributed Network Protocol (DNP3)

The maximum file size is 384 Kbytes. The MicroLogix 1400 supports uploading
of user programs up to 256Kbyte in size 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.

Rules for Initializing a User Program

A DNP3 master should send the function code DELETE_FILE(27) for
initializing user programs.

When MicroLogix 1400 receives a request with the function code
DELETE_FILE(27), it clears the current user program which was downloaded
into the controller, and restores the default user program.

User programs cannot be initialized while the controller is in Executing mode.
Before initializing programs, a mode change request should be sent with the
function code STOP_APPL(18).

Rules for uploading Communication Status Files

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

The function code WRITE(2) for downloading Communication Status Files is
not supported.

The file name should be "/DIAG/CH0.CSF", "/DIAG/CH1.ESF", and
"/DIAG/CH2.CSF" for Channel 0, Channel 1, and Channel 2 respectively.

Starting and Stopping User Programs (Mode Change) via DNP3
Network

This section covers how to change the controller mode via DNP3 network.

To change the controller mode, use the function codes FC_INITIALIZE_APPL
(16), FC_START_APPL (17) and FC_STOP_APPL (18).

If the qualifier code is 5Bh, the Application Identifier Object should be used. The
Application Identifier is a string which cannot exceed 10 bytes. The string of
Application Identifier is taken from the name in the Properties of the ladder file

Advertising
This manual is related to the following products: