Precautions For Modifying Application Program - IDEC LonWorks FC3A-SX5LS1 User Manual

Interface module
Table of Contents

Advertisement

Precautions for Modifying Application Program

The L
W
interface module is shipped with a standard application program installed. Users with expertise in pro-
ON
ORKS
gramming can also modify or create application programs using a special programming tool, such as LonBuilder Devel-
oper's Kit. The application program is written in Neuron C. Read this section before starting modifications.
Define Neuron Chip I/O pins
As shown in the sample program on page 19, define I/O pins IO.0 through IO.4 and IO.6 of the Neuron Chip. If these pins
are not defined correctly, the L
Include necessary codes in the application program
When you modify or create an application program, make sure that the codes shown in italics in the application program
examples on pages 18 through 22 are included in the application program.
Defined network variables
The application program installed in the L
data listed on page 23. When you modify or create an application program, do not use these variable names, otherwise ver-
ification of the application program will be difficult.
Precautions for writing and reading registers
Make a program to write and read data to and from registers in the L
programs on pages 21 and 22.
While data write or read is in progress, do not execute any other command.
Precautions for downloading an application program to the flash memory through the network
A special tool is required to download an application program. Before starting download, stop the
CPU operation. While downloading is in progress, make sure the power voltage is within the rated operating voltage
range.
Precautions for flash memory used for the application program
Do not store variables to the flash memory. To hold variables and other data while power is off, use the RAM backup func-
tion of the CPU module.
The flash memory can be rewritten a maximum of 10,000 times.
Precautions for system setup
Set the retry cycles of the message service to a value of 1 or more.
W
interface module may be damaged. For the description of I/O pins, see page 15.
ON
ORKS
W
interface module defines network variables for transmit and receive
ON
ORKS
O
N
C
L
W
PEN
ET
ONTROLLER
ON
W
ON
ORKS
I
M
U
ORKS
NTERFACE
ODULE
SER
L
W
I
ON
ORKS
NTERFACE
interface module as shown in the sample
OpenNet Controller
'
M
S
ANUAL
M
ODULE
13

Advertisement

Table of Contents
loading

Table of Contents