WEG Programmable in ladder linguage by WLP Programming Manual

Type
Programming Manual
PLC1 Software: V2.0X
0899.5532 E/4
MANUAL
PLC1.01 BOARD
PROGRAMMABLE IN LADDER LANGUAGE
BY WLP SOFTWARE
12/2006
SummaryofRevisions
Thetablebelowdescribes allrevisionsmadetothismanual.
Revision Description Section
1 First Edition -
2 Functions related to theOnline Monitoring -
3 GeneralReviewandInclusionofCANopenand -
DeviceNetprotocols
4 GeneralRevision -
Summary
Quick Parameter Reference and
Fault Messages
I QuickParameterReference ........................................... 06
II ErrorMessages .............................................................. 09
CHAPTER1
Safety Notices
1.1 SafetyNoticesintheManual......................................... 10
1.2 SafetyNoticesontheProduct....................................... 10
1.3 PreliminaryRecommendations......................................11
CHAPTER 2
General Information
2.1 AboutthisManual......................................................... 12
2.2 About the PLC1 Board ................................................. 12
2.3 General Characteristics of the PLC1.......................... 13
2.3.1Hardware ............................................................... 13
2.3.2Software................................................................. 14
CHAPTER3
Installation and Configuration
3.1 InstallingthePLC1Boardon theDrive......................... 15
3.2 ConfiguringtheJumpers............................................... 17
3.3 DIP-SwitchConfiguration ............................................. 17
3.4 ConnectorsDescription................................................ 17
3.5 Configuringthe CFW-09to Operate withPLC1 Board.. 20
CHAPTER 4
Detailed Parameter Description
Detailed Parameter Description.......................................... 22
PLC- QUCIKPARAMETERREFERENCE
6
QUICK PARAMETER REFERENCE, FAULT MESSAGES
Software:V2.0X
Application:
Model:
SerialNumber:
Responsible:
Date: / / .
Parameter
Description
Adjustable Range
Factory
Unit Page
[Type] Setting
P750 PLC1 firmware version Related to the - - 22
[Read] purchased board
P751 Scan cycle in 100µs units 0 to 65535 - x100µs 22
[Read]
P752
(*)
Resets the retentive markers 0 = No action 0 = No action - 22
[Configuration] 1 = Reset register
P753
(*)
Loads factory settings, 0 to 65535 0 - 22
if =1234
[Configuration]
P754 Position reference (rotations) 0 to 65535 - rotations 22
[Read]
P755 Position reference 0 to 3599 - degrees / 10 22
(fraction of rotation)
[Read]
P756 Real position signal 0 = Negative - - 23
[Read] 1 = Positive
P757 Real position 0 to 65535 - rotations 23
(rotations)
[Read]
P758 Real position 0 to 3599 - degrees / 10 23
(fraction of rot.)
[Read]
P759 Lag error 0 to 3599 - degrees / 10 23
[Read]
P760 Kp: proportional position gain 0 to 200 50 - 23
[Configuration]
P761 Ki: integral position gain 0 to 200 0 - 23
[Configuration]
P762 Max. lag error 0 to 65535 1800 degrees / 10 23
[Configuration]
P763 Disables user program if = 1 0=Program enable 0 = Program - 24
[Configuration] 1=Program disable enable
P764
(*)
PLC address at network 1 to 247 1 - 24
[Configuration]
I.Parameters
Theparameter range starts from750upto899,totalizing150parameters.Thefirst50parameters
arepredefinedbythesystem orarereserved parameters. The 100remainingparameters arefor
generaluseandmaybesetbytheuser.
Pleasefind belowa descriptionofthe parametersdefinedbythe system.
(*) IMPORTANT: to enable the system to operate according the parameter seeting, the system must be reset after one or more parameters
have been changed.
PLC- QUCIKPARAMETER REFERENCE
7
Parameter
Description
Adjustable Range
Factory
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.
PLC- QUCIKPARAMETER REFERENCE
8
Parameter
Description
Adjustable Range
Factory
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=WegTPevenparity
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.
PLC- QUCIKPARAMETER REFERENCE
9
Display Description Note
E50 Lagerror FatalError, it disables the converter.
RefertoParameterP762.
E51 Errorduring Reset the system and
program saving try again.
E52 Twoormore Check the user program logic
movements
enabled
simultaneously
E53 Movementdataare Perhapssome speed,acceleration
not valid value, etc. was reset to zero.
E54 Inverterdisabled Attempt toexecute some movement
withdisabledinverter
E55 Incompatibleprogram Check program and resend it.This
or outof memory error mayoccur whenthere is no
limits program onthe PLCboard (at the first
power-up).
E56 WrongCRC Transmitit again.
E57 Shaft has not been Beforeanabsolutmovement,
referencedtoabsolute you must set the machine
movement movement to zeroposition.
E58 Masterreference FatalError:afterenabledinitial
fault communication,betweenmasterand
slave, byany cause has been
disabled.
E61 Busoff Bus off has been detected on theCAN
busdue toahighnumber of transfer
errors.Theseerrors maybecaused
due to bus problems or due to
improperinstallation.
E65 Nodeguardingerror SpecificerrorfortheCANopen
communication.For further
information,please,refer tothe
CANopencommunicationuser’s
guideprovidedwiththeproductCD.
E66 MasterinIDLEmode SpecificerrorfortheDeviceNet
communication.For further
information,please,refer tothe
DeviceNetcommunicationuser’s
guideprovidedwiththeproductCD.
E67 I/Oconnections SpecificerrorfortheDeviceNet
timeout communication.For further
information,please,refer tothe
DeviceNetcommunicationuser’s
guideprovidedwiththeproductCD.
II.ErrorMessages
Note: the drive is disabled with fatal errors E50 and E58 and must be
reset. It is possible to use the system bit register SX2 to reset a fatal
error.
10
CHAPTER 1
SAFETY NOTICES
Thismanualcontainsinformation needed toproperlyuse
thePLC1boardwiththeCFW-09variable frequencydrive.
Onlytrainedandqualifiedpersonnelshouldoperate this
typeofequipment.
ThefollowingSafetyNoticeswillbeusedinthisManual:
DANGER!
If the recommended Safety Instructions are not strictly
observed, it can leadto serious orfatal injuries of personnel
and/orequipmentdamage.
ATTENTION!
FailuretoobservetherecommendedSafetyProcedurescan
leadto material damage.
NOTE!
ThecontentofthisManualsuppliesimportantinformationfor
the correct understanding of operation and proper
performanceoftheequipment.
Thefollowingsymbolsmaybeattachedtotheproduct,serving
asSafetyNotice:
High Voltages
Components aresensitive toelectrostaticdischarge.Do
not touch them.
Mandatory connection to ground protection (PE)
Shield connection to ground
1.1 SAFETYNOTICESIN
THEMANUAL
1.2 SAFETYNOTICES
ONTHEPRODUCT
CHAPTER 1 - SAFETY NOTICES
11
DANGER!
Only qualified personnel should plan or implement the
installation,startup,operationandmaintenance ofthe
CFW-09 andassociatedequipment.
The personnel must follow all safetyinstructions included in
thisManualand/ordefinedbythelocalregulations.
Failure to comply with these instructions may result in
personnelinjury and/orequipmentdamage.
NOTE!
InthisManual,qualifiedpersonnel aredefinedaspeoplethat
aretrainedto:
1. Install,ground,powerupandoperatetheCFW-09,aswell
asthePLC1board, accordingtothis Manual andthelocal
safetyprocedures;
2. Usethesafetyequipmentaccordingtothelocalregulations;
3. Givefirstaid.
DANGER!
Always disconnect the supply voltage before touching any
electricalcomponentinsidetheinverter.
Manycomponentsmayberunning(fans)orchargedwithhigh
voltages,evenaftertheincomingACpower supplyhas been
disconnected or switched OFF. Wait at least 10 minutes for
thetotaldischarge of thepower capacitors.
Alwaysconnecttheframeoftheequipmenttotheground(PE)
atthesuitableconnectionpoint.
ATTENTION!
All electronic boards have components that are sensitive to
electrostatic discharges. Never touch any of the electrical
componentsorconnectors.
If necessary to do so, touch the properly grounded metallic
frameoruse asuitable groundstrap.
NOTE!
Read this entire Manual carefully and completely before
installing or operatingPLC1board withthe CFW-09.
1.3 PRELIMINARY
RECOMMENDATIONS
12
CHAPTER 2
GENERAL INFORMATION
Thischapterdefinesthecontentsandpurposeofthismanual
This manual provides instructions for installation and use of
the PLC1 board.
Chapter 1-SafetyNotices;
Chapter 2-GeneralInformation;
Chapter 3-Instalation andConfiguration;
Chapter 4 - Detailed Parameter Description.
ThisManual providesinformationrequiredforthe correctuse
of the PLC1. As the PLC1 is very flexible, it allows many
different operation modes as described in this Manual. As
the PLC1 can be applied in several ways, it is impossible to
describehereallapplicationpossibilitiesof thisboard.WEG
doesnotassumeanyresponsibilitywhenthePLC1isnotused
accordingtothismanual.
NopartofthisManualmaybereproducedinanyform,without
writtenconsentofWEG.
Thecommunicationuser’sguideforthePLC1boardpresented
in table 2.1 complements this user’s guide. These user’s
guides are available in PDF format on the product CD and
alsoatWEGwebsite.
The compatibility of these users guides and the product is
directly related to the product software version. Hence, pay
attentiontothe communicationusersguide identification
(E/1,E/2...) whendownloading itfromthe WEGwebsite.
2.2 ABOUTTHE
PLC1 BOARD
ThePLC1boardaddsimportantCLP(ProgrammableLogical
Controller) functionstotheCFW-09,enablingtheexecution
of complexlinkageprogram byusingthedigitalboardinputs
andoutputsaswellasthedigitalandanaloginputsandoutputs
of the own inverter which can be accessed by the user´s
program.
Table 2.1 - Communication user´s guide for thePLC1 board
2.1 ABOUTTHISMANUAL
PLC1 V2.0X
User’ Guide
Revision
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
CHAPTER 2 - GENERALINFORMATION
13
Amongtheseveralavailablefunctionswecanmentionsimple
contactsandcoilsuptofunctionsthatusesfloatingpoint,such
as sum, subtraction, multiplication, division, trigonometry,
squarerootfunctions,etc.
OtherimportantfunctionsarethePIDblocks,high-passand
low-pass filters, saturation, comparison.All these functions
operatewithfloatingpoint.
Besidesthefunctions mentionedabove,thePLC1provides
blocks for motor speed and motor position control, that is a
trapezoidal-profile positioning and a S-profile positioning,
speed reference generation with trapezoidal acceleration
ramp,etc.(Note:whenpositioningfunctionsused,thecoupling
of anencoderon motorshaftisrequired).
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
programmableparameterscanbecustomized bythe WLP.
ThenewModbusfunctionsintroducedwiththeVersionV1.50
of the board PLC1 allow executing advanced on-line
monitoringfunctionwiththeLadderprogramthroughtheWLP
fromVersionV4.00on.
CANopenandDeviceNetprotocolswereincorporatedtothe
productfromversion 1.60on.
ATTENTION!
-TheCFW-09invertersoftwareversionshouldbetheversion
V2.40 orlater.
-ItispossibletousethesetspeedblockwiththeV/Fcontrol
mode(scalar)forCFW-09driveswithsoftwareversionV3.70
orlater.
The PLC1boardhasthefollowinghardwarecharacteristics:
9 isolated digitalinputs, bi-directional,24Vdc;
3 digitalrelayoutput250V x3A;
3 digital optocoupled outputs, bi-directional, 24Vdc x
500mA;
1 isolated encoder input, with external supply between
18Vdc and 30Vdc;
Encodersupply- 15Vdcx300mA;
1 serial communication interface RS-232C (standard
Protocol:MODBUS-RTU);
2.3 GENERAL
CHARACTERISTICSOF
THE PLC1
2.3.1 Hardware
CHAPTER 2 - GENERALINFORMATION
14
2.3.2 Software
Allsizes compatible withCFW-09;
UserprogramminginLadderlanguage,withspecificblocks
forpositioningandCLPfunctions;
Itpermitstheuseofdigitalandanaloginputs/ouputsofthe
CFW-09,comprising 15 digitalinputs, 9 digital outputs, 2
analoginputsand2analogoutputs,accessedbytheladder.
The software for the PLC1 board has the following
characteristics:
TheParameterRangecomprisestheparameterfrom750
to899, totaling 150 parameters.
The50firstparametersarepredefinedbythesystemorare
reservedparameters.Theother100remainingparameters
areforgeneral use, i.e., theymay be programmedbythe
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
FLOATregisters;
TheprogrammingofthePLCboard isperformedviaWLP
Software usingtheLadderLogicLanguage.Itispossible
to monitor the Ladder logic online with the WLP version
V4.00 or higher and the PLC1 firmware version V1.50 or
higher.
Memorycapacityfortheuserprogram:64kB(65536bytes).
ATENTTION!
The PLC1 version 2.0X is compatible only with the WLP
softwareversion 6.20orhigher.
15
CHAPTER 3
3.1 INSTALLINGTHEPLC
BOARDONTHEDRIVE
Sizes 1 and 2
Sizes 3 to 10
INSTALLATION AND CONFIGURATION
This chapter is intended to describe the installation and
configurationproceduresfor the PLC1board.
ATENTTION!
Followthe instructions included in this chapterto guarantee
thecorrectinstallationandoperation of thePLC1boardand
theCFW-09drive.
The PLC1 board is directly installed on the CFW-09 control
board(CC9controlboard),as presentedinfigures3.1e 3.2.
Figure 3.1 – Location of the PLC1board installation on the CFW-09 drive.
NOTE!
For size 1 drives (models from 6A to 13A/220-230V and
modelsfrom3.6Ato9A/380-480V)theplasticsidecovershall
beremovedinorderto fittheboardin the drivecorrectly.
For all remaining sizes, the PLC board can be directly fitted
in.
CHAPTER3-INSTALLATIONANDCONFIGURATION
16
Screw M3 x 8
Torque1Nm
PLCBoard
CC9Board
Figure 3.2 - Seatingthe PLC1 on the CC9 control board
Followthestepsbellowfortheproperinstallationoftheboard:
Step 1 Makesuretheequipmentisdisconnectedfromthe
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
JUMPERSsection.
Step 4 Seat the PLC board on the CC9 control board
aligning the terminals of the XC4 and XC5
connectors(onthePLCboard)withtheterminalsof
thefemaleXC140andXC3connectors(ontheCC9
controlboard).
Step 5 Check if all terminals of the XC4 and XC5
connectors arealigned.
Step 6 Pressthecenterandtheleftupcorneroftheboard
untilit iscompletelyseatedon thespacers.
Step 7 Insert and tighten the screws to firmly secure the
board to the 2 metalspacers.
Plastic Spacer
Metal Spacer
CHAPTER3-INSTALLATIONANDCONFIGURATION
17
3.2 CONFIGURINGTHE
JUMPERS
SomefunctionsandcharacteristicsofthePLCboardoperation
aredefinedbythesettingofthejumpersonthecard(seefigu-
re 3.3). The following tables describe the possible
configurationsforthejumpersandtheirfunctions.
XC10 Jumper: Firmware Download
XC10Jumper
Open NormalOperation
Closed FirmwareDownload
XC11 Jumper: Encoder Error
XC11Jumper
Open Enables faultgenerationfortheencoder
Close Donotgenerate encoderfault
Table 3.1 - XC10 jumper
Table 3.2 - XC11 jumper
The PLC1boardisfittedwith aninternalCANnetwork
terminationresistor, whichshallbe enabledat bothendsof
thebus.
DIP-switch S4: Termination Resistor
3.3 DIP-SWITCH
CONFIGURATION
DIP-switch S4
ON Enables the CAN network termination resistor
OFF Disables the CAN network termination resistor
Table 3.3 – DIP-switch S4
3.4 CONNECTORS
DESCRIPTION
Figure3.3showstheconnectorsandjumpersavailableonthe
PLC1 board.
34
34
XC4
XC3
1
D1
XC22
XC21
XC9
XC7
2 6
1 5
K1
K2
K3
1
13
2614
X1
XC5
XC10 XC11
1
32
1
XC8
1
5
6 9
The connectors and their terminals function are described
below.
Figure 3.3 - PLC1 board - connectors
CHAPTER3-INSTALLATIONANDCONFIGURATION
18
XC21 Connector: Relay Outputs and Digital Inputs
Function
Digital relay outputs
Not connected
Not connected
Isolated digital Inputs
Common to the inputs DI6
to DI9
Specification
Contact capacity:
3A
250Vac
-
-
Input voltage:
(15 to 30)Vdc
Input current:
11mA@ 24Vdc
-
+
-
+
-
Figure 3.4 - XC21 connector
XC22 Connector: 24V Transistor Outputs and Digital Inputs
XC22Connector
14 NC
15 COMDO
16 DO6
17 DO5
18 DO4
19 NC
20 NC
21 DI1
22 DI2
23 DI3
24 DI4
25 DI5
26 COMDI
Function
Notconnected
Common to thedigital
outputs DO4, DO5 e DO6
Bidirectionalopto-isolated
digitaloutputs
Notconnected
Notconnected
Bidirectionalisolated
digital inputs
Commonto inputs
DI1toDI5
Specification
-
-
Max.voltage:48Vdc
Currentcapacity: 500mA
-
-
Inputvoltage:
(15 to 30)Vdc
Inputcurrent: 11mA@
24Vdc
-
+
-
+
-
+
-
+
-
Load
ATTENTION!
(*)ExternalPowerSupplies.
XC3 Connector: Functionless
XC7 Connector: RS-232C
Figure 3.5 - XC22 connector
DO1
DO2
DO3
XC21 Connector
1
2
3
4
5
6
7
8
9
10
11
12
13
C
NO
C
NO
C
NO
XC7Connector
1 5Vdc
2 RTS
3 GND
4 RX
5 GND
6 TX
Function
5Vdc supply
Request to send
Reference
Receives
Reference
Transmits
Specification
Currentcapacity:
50mA
-
-
-
-
-
Table 3.4 - XC7 connector
NC
NC
DI6
DI7
DI8
DI9
COMDI
(*)
(*)
(*)
ATTENTION!
(*)ExternalPowerSupply.
CHAPTER3-INSTALLATIONANDCONFIGURATION
19
XC8 Connector: External 24Vdc Input and CAN Network
XC8Connector
21 CAN GND
22 24Vdc
23 CANL
24 GND ENC
25 CANH
26 NC
27 CAN
24Vdc
28 NC
Function
CANGND
Supplyforencoderinput
CANL
24Vdcencoderreference
CANH
Notconnected
Network supply
CANopen
Notconnected
Specification
-
(18 to 26)Vdc
Drawn current:25mA+
theencoder current.
-
-
-
-
18 to 26Vdc
50mA@ 24Vdc
-
Table 3.5 - XC8 connector
XC9 Connector: Incremental Encoder
Applicationsthatrequiremorespeedorpositioningaccuracy,
aspeedfeedbackofthemotorshaftbymeansofincremental
encoderisrequired. Thedriveconnectionisrealizedthrough
the XC9(DB9)connector of the PLC1board.
Theusedencodershouldhavefollowingfeatures:
Supplyvoltage:15Vdc,withcurrentconsumptionlowerthan
200 mA;
2 quadrature channels (90º) + zero pulse with
supplementary outputs (differential): SignalsA,A, B, B, Z
andZ;
“Linedriver typeor“Push-Pull (level15Vdc)circuit;
Electroniccircuit isolatedagainstencoderframe;
Numberof pulsesrecommended perrevolution:1024ppr;
Followtheinstructionsbelowwhenmounting theencoderon
themotor:
Coupletheencoderontothemotorshaftdirectly(byusing
aflexiblecoupling,butwithouttorsionalflexibility);
Both motor shaft and metallic encoder frame must be
isolatedelectricallyagainstmotor(min.spacing:3 mm);
Useflexible couplingsofhighqualitytopreventmechanical
oscillationor“backlash”;
For electrical connection use shielded cable and lay it
separately (spacing >25cm) from the oher wirings (power,
controle cables, etc). If possible, install it inside a metallic
conduit.
CHAPTER3-INSTALLATIONANDCONFIGURATION
20
red
blue
yellow
green
rose
white
brown
grey
loop
Encoder
Max.recommendedlength:100m
BoardPLC1
Encoder connect.***
A A
H A
B B
I B
C Z
J Z
D +VE
F COM
E NC
G
XC9 Connector Description
3 A
2 A Encoder signal
1 B
9 B
8 Z
7 Z
4 +VE Source*
6 COM Reference 0V**
5 Ground
15Vdc
differential
* Regardless of theexternalpower supply18Vdcto26Vdc, theoutput
voltage will be always 15Vdc.
** Referencedtogroundvia1Finparallelwith1k
*** Valid pin locationfor encoder HS35B-Dynapar. When other encoder
models are used, check the correct connection to meet the required
sequence.
NOTE!
Themax.permittedencoderfrequencyis100kHz.
Required sequenceforencoder signals:
Motor is running clockwise
B
t
A
t
Figure 3.7 - Sequence for encoder signals
Figure 3.6 - Encoder connection
3.5 CONFIGURINGTHE
CFW-09TO
OPERATEWITHPLC1
BOARD
In order to enable the CFW-09 to be controlled by the PLC1
board it is necessary to perform the followingconfigurations,
dependingonthedesiredfunctions:
Control Type (P202):
Fortheblocksthatgeneratespeedreference,youcanusethe
drivein‘Sensorless’ (P202=3)mode.Pleaseconsiderthatin
thisoperationmodethereisnohighprecisionatlowspeed.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 modewithencoder(P202 = 4).
XC9 Connector
(DB9 - male)
CHAPTER3-INSTALLATIONANDCONFIGURATION
21
Important Notes:
Alwayswhenpossible,usethevectormodewithencoder;
Avoidscalarmodeoperation(V/F),ifthePLCwillgenerate
speedreferencewhentheCFW-09softwareversionlower
than3.70;
CheckthecorrectsettingoftheP161andP162parameters
thataretheproportional speedgain andtheintegralspeed
gain,respectively.Thecorrectsettingoftheseparametersare
veryimportantforagooddriveperformance.
Local / Remote Selection (P220):
WhenthePLCisusedasmovementgenerator,thisoption
must be set to ‘Always Local’(P220=0).
Local Reference Selection (P221):
WhenthePLCisusedasmovementgenerator,thisoption
mustbeset to‘PLC’(P221=11),i.e., the speedreference
willbe givenbythe PLC board.
Local Run/Stop Selection (P224)
ToenablethePLCtocontrolthedrivethroughtherun/stop
options and also enablethePLC to disable the drive,this
option must be set to ‘PLC’(P224=4).
AO1 Output Function (P251):
To enable the PLC to control the analog drive output 1
(AO1), set P251=12. Note that P252 is the gain of the
analogoutput1.
AO2 Output Function (P253):
To enable the PLC to control the analog drive output 2
(AO2), set P253=12. Note that P254 is the gain of the
analogoutput2.
Digital Inputs DI101 to DI106, P263 to P268:
These parameters correspond to the digital drive inputs
DI1 to DI6and they are read by the PLC, independent of
thefunctionsprogrammedattheparametersP263toP268.
Digital Relay Outputs DO101 to DO103, P277, P279
and P280:
These Parameters correspond to the RL1 to RL3 drive
outputs. To enable the PLC to control these outputs, you
must set these parameters to the function ‘PLC’, i. e.
P277=27, P279=27 and P280=27.
22
DETAILED PARAMETER DESCRIPTION
Range
[FactorySetting]
Parameter Unit Description / Note
P750 -
Firmwareversion [-]
of the PLC board -
[Readparameter]
ItshowsthefirmwareversionofthePLCboard.
Example:version1.30.Attheparameter youcanread
130.
P751 0 to 65535
Scancycleof the [ - ]
userprogram x100µs
[Readparameter]
P752
(*)
0 or 1
Resetsretentive [ 0 ]
markers -
[Configuration
parameter]
It shows the duration of the user program cycle. Each
unitcorrespondsto100µs.
Toobtainthevalueofthescancycle, dividethevalueof
P751 by 10.
Exemple:when79isread,thismeansthattheprogram
scan cycle is 79 ÷ 10 = 7,9ms.
It reset the retentive markers, both bit type and word
type.
Set the parameter to 1 (one) and restart the system.
The value of this parameter returns to 0 (zero)
automatically.
P753
(*)
0 to 65535
Loadsdefault [ 0 ]
settings,if =1234 -
[Configuration
parameter]
Itloadsthefactorysettingtothesystemparameters(750
to P799).
Setthisparameterto1234andresetthesystem.
CHAPTER 4
P754 0 to 65535
Positionreference [-]
(rotations) rotations
[Readparameter]
Itshowsthepositionreferenceinrotations.Theposition
reference starts at zero and after the movement has
beenconcluded,itreturnstozero.
P755 0 to 3599
Positionreference [-]
(fractionofrotation) degrees/10
[Readparameter]
It shows the fraction of the revolution of the reference
positionintenthofdegree.Thepositionreferencestarts
atzero andafterthemovementhasbeen concluded,it
returnstozero.
(*)IMPORTANT: forenablingthenewvalues,thesystemmustberestarted whenoneormoreparameters havebeen
changes.
This chapter describes in details all the PLC programming
andreadparameters.Besidesthese parameters,theCFW-
09 parametersmust also be configured inaccordance with
the application (refer to the CFW-09 User’s Guide for its
parameterdescription).
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27

WEG Programmable in ladder linguage by WLP Programming Manual

Type
Programming Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI