![Emerson Unidrive SPM User Manual Download Page 157](http://html.mh-extra.com/html/emerson/unidrive-spm/unidrive-spm_user-manual_2400833157.webp)
Safety
Information
Introduction
Product
Information
System
configuration
Mechanical
Installation
Electrical
Installation
Getting
Started
Basic
parameters
Running
the motor
Optimization
SMARTCARD
operation
Onboard
PLC
Advanced
parameters
Technical
Data
Diagnostics
UL Listing
Information
Unidrive SPM User Guide
157
Issue Number: 3 www.controltechniques.com
When an Onboard PLC program is installed and running, the lower
display of the drive flashes ‘PLC’ once every 10s.
The drive Onboard PLC programming events parameter holds the
number of times an Onboard PLC program download has taken place
and is 0 on dispatch from the factory. The drive is rated for one hundred
ladder program downloads. This parameter is not altered when defaults
are loaded.
This parameter is updated once per second or once per Onboard PLC
program scan whichever is the longest. If more than one program scan
occurs within the one second update period the parameter shows the
average scan time. If the program scan time is longer than one second
the parameter shows the time for the last program scan.
The Drive Onboard PLC program first run parameter is set for the
duration of program scan from the stopped state. This enables the user
to perform any required initialisation every time the program is run. This
parameter is set every time the program is stopped.
12.6 Onboard PLC trips
The following trips are associated with the Onboard PLC program.
12.7 Onboard PLC and the SMARTCARD
The Onboard PLC program in a drive may be transferred from the drive
to a SMARTCARD and vice versa.
•
To transfer an Onboard PLC program from the drive to a
SMARTCARD, set Pr
xx.00
to 5yyy and reset the drive
•
To transfer an Onboard PLC program from the SMARTCARD to a
drive, set Pr
xx.00
to 6yyy and reset the drive.
(Where yyy is the data block location, see Table 11-1
SMARTCARD data
blocks
on page 150 for restrictions on block numbers).
If an attempt is made to transfer an Onboard PLC program from a drive
to the SMARTCARD when the drive contains no program, the block is
still created on the SMARTCARD but it will contain no data. If this data
block is then transferred to a drive, the destination drive will then have
no Onboard PLC program.
The smallest SMARTCARD compatible with Unidrive SP has a capacity
of 4064 bytes and each block can be up to 4064 bytes in size. The
maximum size of a user program is 4032 bytes so it is guaranteed that
any Onboard PLC program downloaded to a Unidrive SP will fit on to an
empty SMARTCARD. A SMARTCARD can contain a number of
Onboard PLC programs until the capacity of the card is used.
Value
Description
-n
Onboard PLC program caused a drive trip due to an error
condition while running rung n. Note that the rung number is
shown on the display as a negative number.
0
Onboard PLC program is not installed.
1
Onboard PLC program is installed but stopped.
2
Onboard PLC program is installed and running.
11.49
Drive Onboard PLC programming events
RO
Uni
NC
PT
PS
Ú
0 to 65,535
Ö
11.50
Drive Onboard PLC program average scan time
RO
Uni
NC
PT
Ú
0 to 65,535 ms
Ö
11.51
Drive Onboard PLC program first run
RO
Bit
NC
PT
Ú
OFF (0) or On (1)
Ö
Trip
Diagnosis
UP ACC
Onboard PLC program: Cannot access Onboard
PLC program file on drive
98
Disable drive - write access is not allowed when the
drive is enabled.
Another source is already accessing Onboard PLC
program - retry once the other action is complete.
UP div0
Onboard PLC program attempted divide by zero
90
Check program
UP OFL
Onboard PLC program variables and function
block calls using more than the allowed RAM
space (stack overflow)
95
Check program
UP ovr
Onboard PLC program attempted out of range
parameter write
94
Check program
UP PAr
Onboard PLC program attempted access to a non-
existent parameter
91
Check program
UP ro
Onboard PLC program attempted write to a read-
only parameter
92
Check program
UP So
Onboard PLC program attempted read of a write-
only parameter
93
Check program
UP udF
Onboard PLC program undefined trip
97
Check program
UP uSEr
Onboard PLC program requested a trip
96
Check program