Safety
Information
Product
Information
Mechanical
Installation
Electrical
Installation
Getting
Started
Basic
parameters
Running
the motor
Optimization
SMARTCARD
operation
PC tools
Advanced
parameters
Technical
Data
Diagnostics
UL Listing
Information
136
Affinity User Guide
www.controltechniques.com Issue Number: 5
10.2.1 Benefits
The combination of the Onboard PLC and SYPTLite, means that the
drive can replace nano and some micro PLCs in many applications. The
Onboard PLC programs can consist of up to a maximum of 50 ladder
logic rungs (up to 7 function blocks and 10 contacts per rung). The
Onboard PLC program can also be transferred to and from a
SMARTCARD for backup or quick commissioning/start-up.
In addition to the basic ladder symbols, SYPTLite contains a sub-set of
the function from the full version of SYPT. These include,
•
Arithmetic blocks
•
Comparison blocks
•
Timers
•
Counters
•
Multiplexers
•
Latches
•
Bit manipulation
Typical applications for the Onboard PLC include,
•
Ancillary pumps
•
Fans and control valves
•
Interlocking logic
•
Sequences routines
•
Custom control words.
10.2.2 Limitations
The Onboard PLC program has the following limitations:
•
The maximum program size is 4032 bytes including header and
optional source code.
•
The drive is rated for 100 program downloads. This limitation is
imposed by the flash memory used to store the program within the
drive.
•
The user cannot create user variables. The user is only able to
manipulate the drive parameter set.
•
There are no real-time tasks, i.e. the scheduling rate of the program
cannot be guaranteed. Applications Modules tasks such as Clock,
Event, Pos0 or Speed are not available. The Onboard PLC should
not be used for time-critical applications. For time-critical
applications Unidrive SP and an SM-Applications Plus, SM-
Applications or SM-Applications Lite should be used.
•
The program runs at a low priority. The drive provides a single
background task in which to run a ladder diagram. The drive is
prioritised to perform its major functions first, e.g. motor control, and
will use any remaining processing time to execute the ladder
diagram as a background activity. As the drive's processor becomes
more heavily loaded, less time is spent executing the program.
Figure 10-1 Onboard PLC program scheduling
The user program is scheduled for a short period approximately once
every 64ms. The time for which the program is scheduled will vary
between 0.2ms and 2ms depending on the loading of the drive's
processor.
When scheduled, several scans of the user program may be performed.
Some scans may execute in microseconds. However, when the main
drive functions are scheduled there will be a pause in the execution of
the program causing some scans to take many milliseconds. SYPTLite
displays the average execution time calculated over the last 10 scans of
the user program.
10.2.3 Getting started
SYPTLite can be found on the CD which is supplied with the drive.
SYPTLite system requirements
•
Windows 2000/XP/Vista (32 bit)/ Windows 7 (32 bit)/Windows 7 (64
bit).
Windows 95/98/98SE/ME/NT4 and Windows 2003 server are
NOT supported
•
Pentium III 500MHz or better recommended
•
128MB RAM
•
Minimum of 800x600 screen resolution. 1024x768 is recommended
•
Adobe Acrobat 5.10 or later (for viewing User Guides)
•
Microsoft Internet Explorer V5.0 or later
•
RS232 to RS485, RJ45 communications lead to connect the PC to
the drive
•
Administrator rights under Windows 2000/XP or Vista 32bit are
required to install the software
To install SYPTLite, insert the CD and the auto-run facility should start
up the front-end screen, from which SYPTLite can be selected.
See the SYPTLite help file for more information regarding using
SYPTLite, creating ladder diagrams and the available function blocks.
10.2.4 Onboard PLC parameters
The following parameters are associated with the Onboard PLC
program.
This parameter is used to start and stop the drive Onboard PLC program.
The drive Onboard PLC program status parameter indicates to the user
the actual state of the drive Onboard PLC program.
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.
Major drive
functions
User
program
0
64
128
Time
(milliseconds)
11.47
Drive Onboard PLC program enable
RW
Uni
US
Ú
0 to 2
š
2
Value
Description
0
Halt the drive Onboard PLC program.
1
Run the drive Onboard PLC program (if installed). Any out-of-range
parameter writes attempted will be clipped to the maximum / minimum
values valid for that parameter before being written.
2
Run the drive Onboard PLC program (if installed). Any out-of-range
parameter writes attempted will cause a ‘UP ovr’ trip.
11.48
Drive Onboard PLC program status
RO
Bi
NC
PT
Ú
-128 to +127
š
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
š
Содержание Affinity
Страница 274: ...0474 0000 05 ...