Weg plc1 Board Programming Manual en
Weg plc1 Board Programming Manual en
PLC1.01 BOARD
BY WLP SOFTWARE
12/2006
0899.5532 E/4
Summary of Revisions
CHAPTER 1
Safety Notices
CHAPTER 2
General Information
CHAPTER 3
Installation and Configuration
CHAPTER 4
Detailed Parameter Description
I. Parameters
The parameter range starts from 750 up to 899, totalizing 150 parameters. The first 50 parameters
are predefined by the system or are reserved parameters. The 100 remaining parameters are for
general use and may be set by the user.
6
PLC - QUCIK PARAMETER REFERENCE
Description Factory
Parameter Adjustable Range Unit Page
[Type] Setting
P765 (*) Baud rate of RS-232 1 = 1200bps 4 = 9600bps bits/second 24
[Configuration] 2 = 2400bps
3 = 4800bps
4 = 9600bps
5 = 19200bps
6 = 38400bps
P766 PID sample time 0 to 10000 1 x 1.2ms 24
[Configuration]
(*)
P767 Synchronous speed of the 0 to 10000 1800 rpm 24
motor in rpm
[Configuration]
(*)
P768 Encoder pulse number 0 to 65535 1024 ppr 25
[Configuration] pulses per
revoluções
(*)
P769 Encoder zero pulse position 0 to 3599 0 degrees / 10 25
[Configuration]
(*)
P770 CAN protocol 0=Disabled 0=Disabled - 25
[Configuration] 1=CANopen
2=DeviceNet
(*)
P771 CAN address 0 to 127 63 - 25
[Configuration]
(*)
P772 CAN baud rate 0=1Mbit/s 0=1Mbit/s Mbits/s or Kbit/s 26
[Configuration] 1=Reserved
2=500Kbit/s
3=250Kbit/s
4=125Kbit/s
5=100Kbit/s
6=50Kbit/s
7=20Kbit/s
8=10Kbit/s
P773 Bus off recovery 0=Manual 0=Manual - 26
[Configuration] 1=Automatic
P774 Action to be taken upon 0=Indicate the error 1=Cause a fatal - 26
detection of a communication 1=Cause a fatal error on the
failure error on the device device
[Configuration]
P775 CAN status 0=Disable - - 27
[Read] 1=Reserved
2=CAN enable
3=Warning
4=Error passive
5=Not Powered
P776 Counter of received 0 to 65535 - - 27
telegrams
[Read]
P777 Counter of trasmitted 0 to 65535 - - 27
telegrams
[Read]
P778 Counter of detected errors 0 to 65535 - - 27
[Read]
(*) IMPORTANT: to enable the system to operate according the parameter seeting, the system must be reset after one or more parameters
have been changed.
7
PLC - QUCIK PARAMETER REFERENCE
Description Factory
Parameter Adjustable Range Unit Page
[Type] Setting
P780 Status of the CANopen 0=Disabled - - 28
network 1=Reserved
[Read] 2=CANopen
enabled
3=Node guarding
enabled
4=Node guarding
error
P781 Status of the CANopen node 0=Not initialized - - 28
[Read] 4=Stopped
5=Operational
127=Pre-operational
P782 Status of the DeviceNet 0=Not powered / - - 28
network not on-line
[Read] 1=on-line /
not connected
2=Link ok / online
and connected
3=Connection
timeout
4=Critical link
failure
5=Running auto-baud
P783 Status of the DeviceNet 0=Run - - 29
master 1=Idle
[Read]
P784 Number of input words 1 to 10 1 - 29
[Configuration]
P785 Number of output words 1 to 10 1 - 29
[Configuration]
(*)
P793 Select serial protocol 0=Modbus no parity 0 - 29
[Configuration] 1=WegTP no parity
2=Modbus even parity
3=WegTP even parity
4=Modbus odd parity
5=WegTP odd parity
(*) IMPORTANT: to enable the system to operate according the parameter seeting, the system must be reset after one or more parameters
have been changed.
8
PLC - QUCIK PARAMETER REFERENCE
9
CHAPTER 1
SAFETY NOTICES
1.1 SAFETY NOTICES IN The following Safety Notices will be used in this Manual:
THE MANUAL
DANGER!
If the recommended Safety Instructions are not strictly
observed, it can lead to serious or fatal injuries of personnel
and/or equipment damage.
ATTENTION!
Failure to observe the recommended Safety Procedures can
lead to material damage.
NOTE!
The content of this Manual supplies important information for
the correct understanding of operation and proper
performance of the equipment.
1.2 SAFETY NOTICES The following symbols may be attached to the product, serving
ON THE PRODUCT as Safety Notice:
High Voltages
10
CHAPTER 1 - SAFETY NOTICES
1.3 PRELIMINARY
RECOMMENDATIONS
DANGER!
Only qualified personnel should plan or implement the
installation, start up, operation and maintenance of the
CFW-09 and associated equipment.
NOTE!
In this Manual, qualified personnel are defined as people that
are trained to:
1. Install, ground, power up and operate the CFW-09, as well
as the PLC1 board, according to this Manual and the local
safety procedures;
2. Use the safety equipment according to the local regulations;
3. Give first aid.
DANGER!
Always disconnect the supply voltage before touching any
electrical component inside the inverter.
Many components may be running (fans) or charged with high
voltages, even after the incoming AC power supply has been
disconnected or switched OFF. Wait at least 10 minutes for
the total discharge of the power capacitors.
Always connect the frame of the equipment to the ground (PE)
at the suitable connection point.
ATTENTION!
All electronic boards have components that are sensitive to
electrostatic discharges. Never touch any of the electrical
components or connectors.
If necessary to do so, touch the properly grounded metallic
frame or use a suitable ground strap.
NOTE!
Read this entire Manual carefully and completely before
installing or operating PLC1 board with the CFW-09.
11
CHAPTER 2
GENERAL INFORMATION
2.1 ABOUT THIS MANUAL This manual provides instructions for installation and use of
the PLC1 board.
PLC1 V2.0X
Revision
User’ Guide
Modbus User’ Guide E/1
WegTP User’ Guide P/1
CANopen Slave User’s Guide E/2
DeviceNet Slave User’s Guide P/2
WLP User’ Guide E/2
Table 2.1 - Communication user´s guide for the PLC1 board
2.2 ABOUT THE The PLC1 board adds important CLP (Programmable Logical
PLC1 BOARD Controller) functions to the CFW-09, enabling the execution
of complex linkage program by using the digital board inputs
and outputs as well as the digital and analog inputs and outputs
of the own inverter which can be accessed by the user´s
program.
12
CHAPTER 2 - GENERAL INFORMATION
All functions can interact with the user through the 100
programmable parameters that can be acessed directly
through the inverter HMI. The texts and user units of the
programmable parameters can be customized by the WLP.
ATTENTION!
- The CFW-09 inverter software version should be the version
V2.40 or later.
- It is possible to use the set speed block with the V/F control
mode (scalar) for CFW-09 drives with software version V3.70
or later.
2.3 GENERAL
CHARACTERISTICS OF
THE PLC1
2.3.1 Hardware The PLC1 board has the following hardware characteristics:
9 isolated digital inputs, bi-directional, 24Vdc;
3 digital relay output 250V x 3A;
3 digital optocoupled outputs, bi-directional, 24Vdc x
500mA;
1 isolated encoder input, with external supply between
18Vdc and 30Vdc;
Encoder supply - 15Vdc x 300mA;
1 serial communication interface – RS-232C (standard
Protocol: MODBUS-RTU);
13
CHAPTER 2 - GENERAL INFORMATION
2.3.2 Software The software for the PLC1 board has the following
characteristics:
The Parameter Range comprises the parameter from 750
to 899, totaling 150 parameters.
The 50 first parameters are predefined by the system or are
reserved parameters. The other 100 remaining parameters
are for general use, i. e., they may be programmed by the
user and can be used for the most different functions, as
contactors, timers, speed, acceleration and position
references, etc;
Volatile (zero-initialized) and retentive BIT, WORD and
FLOAT registers;
The programming of the PLC board is performed via WLP
Software using the Ladder Logic Language. It is possible
to monitor the Ladder logic online with the WLP version
V4.00 or higher and the PLC1 firmware version V1.50 or
higher.
Memory capacity for the user program: 64kB (65536 bytes).
ATENTTION!
The PLC1 version 2.0X is compatible only with the WLP
software version 6.20 or higher.
14
CHAPTER 3
ATENTTION!
Follow the instructions included in this chapter to guarantee
the correct installation and operation of the PLC1 board and
the CFW-09 drive.
3.1 INSTALLING THE PLC The PLC1 board is directly installed on the CFW-09 control
BOARD ON THE DRIVE board (CC9 control board), as presented in figures 3.1 e 3.2.
Sizes 1 and 2
Sizes 3 to 10
Figure 3.1 – Location of the PLC1 board installation on the CFW-09 drive.
NOTE!
For size 1 drives (models from 6A to 13A/220-230V and
models from 3.6A to 9A/380-480V) the plastic side cover shall
be removed in order to fit the board in the drive correctly.
For all remaining sizes, the PLC board can be directly fitted
in.
15
CHAPTER 3 - INSTALLATION AND CONFIGURATION
PLC Board
CC9 Board
Plastic Spacer
Metal Spacer
Screw M3 x 8
Torque 1Nm
Follow the steps bellow for the proper installation of the board:
Step 1 – Make sure the equipment is disconnected from the
power supply and remove the frontal cover of the
CFW-09;
Step 2 – When using size 1 drives, remove the plastic side
cover.
Step 3 – Configure the jumpers of the board according to
tables 3.1 and 3.2 of the CONFIGURING THE
JUMPERS section.
Step 4 – Seat the PLC board on the CC9 control board
aligning the terminals of the XC4 and XC5
connectors (on the PLC board) with the terminals of
the female XC140 and XC3 connectors (on the CC9
control board).
Step 5 – Check if all terminals of the XC4 and XC5
connectors are aligned.
Step 6 – Press the center and the left up corner of the board
until it is completely seated on the spacers.
Step 7 – Insert and tighten the screws to firmly secure the
board to the 2 metal spacers.
16
CHAPTER 3 - INSTALLATION AND CONFIGURATION
3.2 CONFIGURING THE Some functions and characteristics of the PLC board operation
JUMPERS are defined by the setting of the jumpers on the card (see figu-
re 3.3). The following tables describe the possible
configurations for the jumpers and their functions.
XC10 Jumper
Open Normal Operation
Closed Firmware Download
XC11 Jumper
Open Enables fault generation for the encoder
Close Do not generate encoder fault
Table 3.2 - XC11 jumper
3.3 DIP-SWITCH The PLC1 board is fitted with an internal CAN network
CONFIGURATION termination resistor, which shall be enabled at both ends of
the bus.
3.4 CONNECTORS Figure 3.3 shows the connectors and jumpers available on the
DESCRIPTION PLC1 board.
34
34
XC4
D1 XC22 XC21
26
13
XC3 1
XC10 XC11
X1
1
XC5
1
32
14
5 K1
1
6 9 K2
XC9
XC8 K3
2 6
1 5
XC7
ATTENTION!
(*) External Power Supplies.
18
CHAPTER 3 - INSTALLATION AND CONFIGURATION
23 CANL CANL -
24 GND ENC 24Vdc encoder reference -
25 CANH CANH -
26 NC Not connected -
27 CAN Network supply 18 to 26Vdc
24Vdc CANopen 50mA @ 24Vdc
28 NC Not connected -
Table 3.5 - XC8 connector
19
CHAPTER 3 - INSTALLATION AND CONFIGURATION
D +VE
white 4 +VE Source*
F COM
brown 6 COM Reference 0V**
E NC 5 Ground
G loop
Board PLC1
Encoder
XC9 Connector
Max. recommended length: 100m (DB9 - male)
NOTE!
The max. permitted encoder frequency is 100kHz.
B t
A t
Motor is running clockwise
3.5 CONFIGURING THE In order to enable the CFW-09 to be controlled by the PLC1
CFW-09 TO board it is necessary to perform the following configurations,
OPERATE WITH PLC1 depending on the desired functions:
BOARD
Control Type (P202):
For the blocks that generate speed reference, you can use the
drive in ‘Sensorless’ (P202=3) mode. Please consider that in
this operation mode there is no high precision at low speed. In
addition, the position gain Kp (P760) should be reset to zero
to prevent instability when the motor is disabled. For the
position blocks (TCURVE and SCURVE), the drive must be
operated in vector mode with encoder (P202 = 4).
20
CHAPTER 3 - INSTALLATION AND CONFIGURATION
Important Notes:
Range
[FactorySetting]
Parameter Unit Description / Note
P750 - It shows the firmware version of the PLC board.
Firmware version [-] Example: version 1.30. At the parameter you can read
of the PLC board - 130.
[Read parameter]
P751 0 to 65535 It shows the duration of the user program cycle. Each
Scan cycle of the [-] unit corresponds to 100µs.
user program x100 µs To obtain the value of the scan cycle, divide the value of
[Read parameter] P751 by 10.
Exemple: when 79 is read, this means that the program
scan cycle is 79 ÷ 10 = 7,9ms.
P752 (*) 0 or 1 It reset the retentive markers, both bit type and word
Resets retentive [0] type.
markers - Set the parameter to 1 (one) and restart the system.
[Configuration The value of this parameter returns to 0 (zero)
parameter] automatically.
P753 (*) 0 to 65535 It loads the factory setting to the system parameters (750
Loads default [0] to P799).
settings, if =1234 - Set this parameter to 1234 and reset the system.
[Configuration
parameter]
(*) IMPORTANT: for enabling the new values, the system must be restarted when one or more parameters have been
changes.
22
CHAPTER 4 - DETAILED PARAMETER DESCRIPTION
Range
[FactorySetting]
Parameter Unit Description / Note
P756 0 or 1 Signal of the real position shown at Parameters P757
Position signal [-] and P758.
[Read parameter] - 0 = negative
1 = positive
P762 0 to 65535 This is the max. permitted positioning error, i. e., the
Max. lag error [ 1800 ] max. permitted difference between reference position
[Configuration degrees/10 and the real position, in degrees. The parameter and
parameter] the lag values are divided by 10. For instance 10 at P762
means that the max. following error is 1 degree. When
P762 = 0 (default setting), the lag error will not be
checked.
23
CHAPTER 4 - DETAILED PARAMETER DESCRIPTION
Range
[FactorySetting]
Parameter Unit Description / Note
P763 0 or 1 When this Parameter is set to 1, it disables the user
Desables user [0] program. This setting should be used in any abnormal
program, if=1 - condition only, where the program is causing some error
[Configuration type, for instance, when it prevents the communication
parameter] with the serial interface. In this case, disable the program
and install the new corrected version and then enable it
again.
P764 (*) 1 to 247 When, for instance, the MODBUS network connection
PLC address [1] is used through serial interface RS-485 (inverter
at network - RS-232-RS-485), this parameter defines the address
[Configuration at the network board.
parameter]
P766 (*) 0 to 10000 Defines the sampling time for the PID blocks in intervals
PID sample [1] of 1.2ms.
time x 1.2ms Example: P766 = 10 means that the PID “ sampling time
[Configuration will be 12ms.
parameter]
P767 (*) 0 to 10000 This parameter shall be set with the driven motor
Synchronous motor [ 1800 ] synchronous speed.
speed rpm Use the following equation to obtain the motor
[Configuration synchronous speed:
parameter]
120 f
ns
2p
Where,
ns = Motor synchronous speed
f = Motor frequency
p = Number of pair of poles.
Range
[FactorySetting]
Parameter Unit Description / Note
(*)
P768 0 to 65535 It shows the number of pulses per encoder revolution.
Encoder resolution [ 1024 ]
[Configuration ppr
parameter]
P769 (*) 0 to 3599 The input value should be in tenth of degree. This value
Position of the [0] can be used to search for the machine zero and so set
encoder zero pulse degrees/10 the zero position.
[Configuration
parameter]
NOTE!
Change of parameter P770 is executed when the
device is reset or at next power up.
P771 (*) 0 to 127 P771 sets the address of the PLC1 board in the CAN
CAN Address [63] network. The range of valid addresses is dependent on
[Configuration - the selected protocol:
parameter] CANopen: valid addresses from 1 to 127.
DeviceNet: valid addresses from 0 to 63.
It is not necessary to define the device address when
the synchronism function via CAN is used.
(*) IMPORTANT: for enabling the new values, the system must be restarted when one or more parameters have been
changes.
25
CHAPTER 4 - DETAILED PARAMETER DESCRIPTION
Range
[FactorySetting]
Parameter Unit Description / Note
NOTE!
Change of parameter P771 (CAN address) is
executed when the device is reset or at next power
up.
Range
[FactorySetting]
Parameter Unit Description / Note
P774 Description Note
0 Indicate the Setting P774 to ‘0’ displays the error
error code on the HMI upon detection of
communication failure.
1 Cause a fatal Setting P774 to ‘1’, besides displaying
error on the the error code on the HMI, disables
device the device upon detection of
communication failure. Device needs
to be reset in order to operate again.
Table 4.5 - Action a communication failure
27
CHAPTER 4 - DETAILED PARAMETER DESCRIPTION
Range
[FactorySetting]
Parameter Unit Description / Note
P780 0 to 4 Indicates the status of the CANopen communication,
Status of the [-] informing if the protocol was correctly initialized and the
CANopen - state of the slave node guarding service.
communication
P780 Description Note
[Read parameter]
0 Disabled The CANopen protocol was not set
in parameter P700 and it is
disabled.
1 Reserved
2 CANopen The CANopen protocol was
enabled correctly started.
3 Node Node guarding service was started
Guarding by the master and it is properly
enabled working.
4 Node Timeout for the node guard service.
Guarding This event results in a PLC1 board
error error (E65).
Table 4.7 - Status of the CAN communication
Range
[FactorySetting]
Parameter Unit Description / Note
P783 0 or 1 P783 Description
Status of the [-] 0 Master in Run mode
DeviceNet - 1 Master in Idle mode
master Table 4.10 - Status of the DeviceNet master
[Read parameter]
For a detailed description of these items, please, refer
to the DeviceNet programming user’s guide specific for
this product.
P793 (*) 0 to 5 The setting of this parameter allows selecting the protocol
Select serial [0] to the serial, parity and stop-bit communication.
protocol -
P793 Description
[Configuration
0 Modbus, no parity and 2 stop-bits.
parameter] 1 WegTP, no parity and 2 stop-bits.
2 ModBus, even parity and 1 stop-bit.
3 WegTP, even parity and 1 stop-bit.
4 ModBus, odd parity and 1 stop-bit.
5 WegTP, odd parity and 1 stop-bit.
(*) IMPORTANT: for enabling the new values, the system must be restarted when one or more parameters have been
changes.
29