Professional Documents
Culture Documents
Acs300 Serial
Acs300 Serial
Programming Manual
Installation and
Programming Manual
EFFECTIVE: 1.6.1996
SUPERSEDES: NONE
Installation and
Programming Manual
EFFECTIVE: 1.6.1996
SUPERSEDES: NONE
Chapter 1 – Introduction
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Vocabulary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
How to Use This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Chapter 2 – Protocol
Basic Protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Start-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Port Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Communication Check-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Communication Faults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Check Sum Counting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
ACS 300 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Overview This document describes the serial communication of ACS 300. Serial
communication is used for connecting master and ACS 300. With an
adapter you can connect the ACS 300 to a master. For example the
master can be PC, PLC or alike. The panel must be removed and the
adapter is connected instead. The master is capable to operate
ACS 300 in the same way you control it with control panel or with
external control signals. This connection is point-to-point. In the picture
below you can see the idea.
PC / PLC
ACS 300
X1
ABB ACS300
X1 X2
Cable B
Adapter
Cable A
Vocabulary Term master is used for the device which controls ACS 300.
Term slave means the device which is operated by the master, in this
document slave is ACS 300.
Terms drive and ACS refer to the ACS 300.
Term point-to-point is used when talking about connection like in the
picture above, i.e. master is ruling one slave.
Synchronizing message is the message that ACS sends constantly.
ACK is short for acknowledged. ACK is the fifth byte in the response
format.
Letter small h after a figure means that it is a hexadecimal one.
Letters cs are used instead of check sum.
How to Use This Manual The purpose of this manual is to provide you with the information
necessary to install, start-up and program an ACS 300 for the serial
connection. This manual also describes features and functions which
have been added to the drive.
ACS 300 is described in the ACS 300 User´s Manual.
Information in this manual is subject to change without notice and does
not represent a commitment on the part of ABB Industry Oy.
Chapter 1 - Introduction, the chapter you are reading now, introduces
you to this manual.
Chapter 2 - Protocol, gives you an overview of the basic protocol and
command formats.
Chapter 3 - Programming, describes the new features obtained with
the serial communication, detailed instructions about the usage and
table of parameters.
Chapter 4 - Installation, shows the connection diagram and hardware
specifications.
Chapter 5 - Command and Parameter Tables, includes tables of
commands and parameters as a quick reference guide.
Basic Protocol
Start-Up Connections can be done in any order if the ACS 300 is not powered.
If ACS 300 is powered, the cables between the master and adapter
should be connected before connecting adapter to ACS 300.
An unnecessary fault message can be avoided by setting ACS to
remote control before disconnecting the control panel.
Port Settings Serial configuration requires baud rate 9600 baud. The serial
communication port settings use the following format for each byte:
Bits per byte: 1 start bit
8 data bits
no bit for parity
1 stop bit
Error Check: Cyclical Redundancy Check (CRC)
The CRC is explained in “Check Sum Counting” on page 5.
Communication ACS 300 and master device must know if there is a connection
Check-Up between them (MB0A). Therefore a communication check command
(07) is sent, if there has been a silence longer than 150 ms.
Communication check command does nothing, it is used only for
checking purpose.
When the connection is lost ACS starts sending synchronizing
message in order to catch panel or master device.
The lost connection causes a situation similar to panel removed. The
same fault text appears and the operation is the same.
Communication Faults Panel communication error, message Panel Comm Err, occurs if the
connection between panel and ACS or between adapter (MB0A) and
ACS is disturbed or lost.
Bus communication fault, message Bus Comm Flt, will appear if the
connection between bus master and bus adapter is disturbed or lost.
The adapter can express the fault by setting the 12th bit of the ACS
Command Word active ( “1”, look at Table 2-11 in chapter “Command
Word” on page 8).
Table 2-4 Command Format.
The response format also consist of six bytes. The fifth byte shows if
the command is successful. ACK, hexa value 06, is set if the command
was successful. When ACK is set, there is no need to read the error
code. NACK, hexa value 15, is set when the command was not
successful.
Table 2-5 Response Format.
Check Sum Counting The check sum is formed by counting together the five first bytes as
hexadecimals and after that taking the negation. For instance if the
message is 02h, 01h, 2Dh, 00h, 00h, the check sum will be D0h. This
way of counting the check sum is called cyclical redundancy check,
CRC.
Table 2-6 Cyclical Redundancy Check, CRC
02
+ 01
+ 2D
+ 00
+ 00
= 30
NEG D0
Error Codes
ACK 06h
NACK 15h
When NACK is set, the error code shows the error type. Error code 00
is set, if the error is none of the specified ones.
Table 2-7 Error Codes.
ERROR CODE
Undefined Error 00
Unknown Command 01
Wrong Check Sum 02
Unknown Parameter 03
Value Out of Limits 04
Writing not Allowed 05
Not Allowed, the Drive is Running 06
Parameters Locked 07
Receiving Time Out 08
ACS 300 Commands ACS 300 commands are the messages that adapter sends to ACS.
Detailed information is given in chapter “Chapter 3 – Serial
Communication” on page 7.
Table 2-8 ACS 300 Commands.
COMMAND COMMAND
NR
Communication Check 07
Energise/De-energise Relay 0A
The ACS 300 can be programmed through the panel or the serial
communication protocol. The operation of the panel is described in
detail in the ACS 300 User´s Manual.
This chapter describes the programming of the ACS 300 by the serial
communication protocol. The reader should be familiar with the
ACS 300 parameters.
Dedicated Parameters For serial communication there are some dedicated parameters.
Table 3-9 Dedicated Parameters.
PARAMETER NUMBER
Status Word Status word is for reading the status of ACS 300. Typical control uses
for the adapter read services include:
• start and stop the status of the drive
• the direction of the drive
• fault status
• control status
Table 2-10Status Word.
BIT DESCRIPTION
0 0 = Modulator stopped
1 = Modulator running
2 0 = No faults
1 = Fault is active
BIT DESCRIPTION
10
11
12
13
14
15
Command Word Typical control uses for the adapter write services include:
• start and stop the drive
• change the direction of the drive
• choosing constant speed
• clearing fault memory
Some clarifications for reading the table XX.
When bit 3 is set “0”, ACS is controlled through serial link and you can
do the typical control uses listed above. If bit 3 is set “1” ACS is
controlled by external control signals, which are connected to the
terminal block X1 of the control card. I/O option switch configures the
digital inputs.
Bit 9 is for clearing the fault memory.
Bit 12 can be used for indicating a bus fault.
Bit 14 is used for acknowledging a fault.
Table 2-11Command Word.
BIT DESCRIPTION
1 0 = Stop
1 = Start
BIT DESCRIPTION
5 0 = FWD direction
1 = REV direction
10
11
13
15
Digital and Analog Command 02 and parameter Digital Input gets you the state of the
Inputs digital inputs and the DIP switches.
0 0 0 0 0 0 0 0
Reading and Writing of Write single parameter is command number 01 (refer to Table ,
Parameters “ACS 300 Commands,” on page 6). A value is written to it. The write is
successful if ACK is returned. Or if NACK is returned, the error codes
reveal the cause. An error code (04) is returned, if the value exceeds
the maximum or is lower than the minimum. An attempt to write read-
only parameter generates also an error code (05). Parameters can be
locked from the DIP switches of ACS. Then writing is not allowed.
Communication Check The master device must send this communication check command to
keep the communication link between itself and ACS alive (MB0A).
This command does nothing, but it can be used when there is nothing
else to send. The time between commands may not exceed 150 ms,
otherwise the communication error is generated.
07
07
Prohibited Parameters Some of the ACS 300 parameters must not be accessible to the master
device. The master can ask which are the prohibited parameters, one
at a time. There are 30 parameters which can be asked by setting a
parameter number. The number must be between 1 and 30. In any
other case NACK-message will be sent.
08 Param Nr XX XX XX CheckSum
Using and Controlling The ACS 300 command 02 read single parameter can be done to
I/O parameter number 502 digital input and parameter number 503 analog
input.
The relays of the ACS 300 can be energised and de-energised. This
command overwrites the normal control of the fault relay.
Note! The state of the relay can be changed only, if the programmable relay
setting is “none”. In other words this command 0A controls those relays
which are set to “none”.
To energise insert 0Ah, 45h, 52h, 45h, 01h, cs which is the same as
0Ah, “E”, “R”, “E”, 01h, cs.
To de-energise insert 0Ah, 44h, 52h, 45h, 01h, cs which is the same as
0Ah, “D”, “R”, “E”, 01h, cs.
0A 45 or 44 52 45 1 CheckSum
Factory Defaults and Use the command set factory defaults when you want to set the factory
Ending Serial default parameters to the ACS.
Communication
NOTE! The set factory defaults response is sent before the factory
defaults actually have been set. This means that after setting factory
defaults delay of one second is recommended before sending
parameter commands.
To set factory default insert 0Bh, 53h, 65h, 74h, 46h, cs which is the
same as 0Bh, “S”, “e”, “t”, “F”, cs.
0B 53 65 74 46 CheckSum
0B 53 65 74 50 CheckSum
Hardware Basics This chapter introduces you the unit that enables the serial
communication between ACS and the master. The connection of serial
communication follows IEEE standard as it concerns RS 232. The
main parameters are in the following table.
Input sensitivity ±3 V -
Connectors The adapter has RS 232 connection wire and there is a nine-pin D-
connector. On the ACS 300 end there is a RJ12 connector.
5 5
9
8 5 8
7 +8V ext
1
SGND 6
2
GND
5 1 3
TxD
4
RxD 4
GND
1
TxD
3 RxD
2 5
GND
1 6
X X2
HW Adapter Diagram
Make sure that the connectors at both ends of the cable B are correctly
connected.
1 6
2 5
3 4
4 3
5 2
6 1
Cable B.
Note! This connection is sensitive to external disturbance. In many
cases, it could be helpful to use screened motor cable. Properly done
earthing arrangements are also needed.
Commands
Table 5-12Commands.
COMMAND
COMMAND
NR
Communication Check 07
Energise/De-energise Relay 0A
The following commands 03 - 06, 09, 0C, 0D, 0E are reserved for future
expansions and therefore it is prohibited to use them.
Parameters
Table 5-13Parameters.
Parameter Alternative
Parameter Name Units
Number Settings
COPY 105
Parameter Alternative
Parameter Name Units
Number Settings
HOURS 120 h
OUTPUT V 201 V
Parameter Alternative
Parameter Name Units
Number Settings
Parameter Alternative
Parameter Name Units
Number Settings
Parameter Alternative
Parameter Name Units
Number Settings
SUPERSEDES: NONE
EFFECTIVE: 1.6.1996
ABB Industry Oy
VSD Products Division
P.O.Box 211
00381 Helsinki
FINLAND
Telephone: +358-0-5641
Telefax: +358-0-564 2681