After-sale Service (Repair) ........................................................ Back cover
155
Outline of “PANATERM®”, Setup Support Software
Connection Method
RS-232 Cable
STATUS
ALM CODE
x
6
x
5
x
4
x
3
DV0P1960 (For DOS/V)
Connecting to CN X6
x
1
Please contact us for the latest version of setup disk of
“PANATERM®”, setup support software.
• DV0P4230 (Japanese version)
Windows® 95, Windows® 98, Windows® NT,
Windows® 2000, Windows® Me, Windows® XP
(Each Japanese version)
• DV0P4240 (English version)
Windows® 95, Windows® 98, Windows® NT,
Windows® 2000, Windows® Me, Windows® XP
(Each English version)
Installing PANATERM® on Hard Disk
<Cautions/Remarks>
1. The capacity of hard disk memory should be 15 MB or more. As OS, prepare Windows® 95, Windows® 98,
Windows® NT, Windows® 2000,Windows® Me and Windows® XP (each of them should be a Japanese version).
2. You can start “PANATERM®” only after installing it on the hard disk with the setup disk, by following the steps
described below.
Steps of Procedure
(1) Power on your personal computer and start a corresponding OS (If there is any running application program,
terminate it).
(2) Insert PANATERM® Setup disk 1 into the floppy disk drive.
(3) Start Explorer and select the floppy disk drive.
(For starting of Explorer, see the manual of the corresponding OS.)
(4) Double click on the setup program (Setup.exe) on the floppy disk (Then, PANATERM® setup program will
start.).
(5) To start the setup program, press .
OK
(6) Operate by following the guidance of the setup program.
(Follow the instruction to change the setup disc 1 to disc 2 during the course.)
(7) Click on button, and setup will start.
(8) Click when the message “Setup completed” appears.
Start installation
OK
(9) Close all application programs and then restart Windows®. When it restarts, PANATERM® will be added to
the program menu.
156
[Reference]
Reference
Starting PANATERM®
<Cautions/Remarks>
1. Once you have installed “PANATERM®” on the hard disk, you do not have to reinstall it every time you boot up.
2. Before you start, connect the driver with the power supply, motor, and encoder. For the startup procedure, refer
to the manual of the corresponding OS.
Steps of Procedure
(1) Power on your personal computer and start the corresponding OS.
(2) Turn on the driver.
(3) Click on Start button of the corresponding OS of the personal computer.
(For the startup procedure, refer to the manual of the corresponding OS.)
(4) Select PANATERM® in the program .
(5) After opening splash is displayed for 2 seconds, PANATERM® screen will appear.
For any detailed information on operation/functions of “PANATERM®”, refer to the operating instructions of
“PANATERM®”.
* Windows®, Windows® 95, Windows® 98, Windows® NT, Windows® 2000, Windows® Me, Windows® XP are the
trademarks of Microsoft Corporation in the United States.
157
Communications
Outline of Communications
With a personal computer or host NC connected with MINAS-E Series through RS232C-compliant serial
communications, you can do the following:
(1) Rewriting parameters
(2) Browsing and clearing status and history of alarm data
(3) Monitoring control status including status, I/O, etc.
(4) Saving and Loading parameters
Advantages
• You can write parameters all at once from the host when starting the machine.
• As you can display operating condition of the machine, serviceability will improve.
Note that the following application programs for a personal computer and cables are available for use. For
information of PANATERM®, refer to the instruction manual of PANATERM®.
Name of Optional Components
PANATERM Japanese version (WIN95/98/Me/NT4.0/2000/XP)
PANATERM English version (WIN95/98/Me/NT4.0/2000/XP)
Connection cable for personal computer (DOS/V)
For the latest version, please contact us.
Model Name
DV0P4230
DV0P4240
DV0P1960
158
[Reference]
Reference
Communications Specification
Connection of Communications Line
MINAS-E Series has RS232C communications port. and is capable of communications between the host as follows:
RS232C Communications
In RS232C communications, a host and the driver are connected 1:1 and communicate with each other
according to the RS232C transmission protocol.
RS232C
Host
STATUS
ALM CODE
x
6
X6
x
5
x
4
x
3
x
1
(ID)=1
You can change settings of the module ID with Pr00. In particular, you may set the same module ID unless
there is management problem on the host side.
Interface of Communication Connector Unit
Connection with a Host through RS232C
MINAS-E
X6Host
RTS
CTS
RXD
G
TXD
DTR
DSR
FG
1
2
Equivalent to ADM202E
3
TXD
4
G
5
RXD
6
+5V
+5V
7
8
<Note>
You must leave pins 1, 2, 6, 7 and 8 of X6 unconnected.
159
Communications
Communications Method
RS232C
Full-duplex, asynchronous communication method
Communications baud rate
Data
Parity
Start bit
Stop bit
Set RS232C communications baud rate with Pr0C. Any change to these parameters will be valid when you
power on the control power supply. For detailed information, refer to list of parameters related to the following
communications:
List of User Parameters Related to Communications
2400, 4800, 9600bps
8 bit
No
1 bit
1 bit
PrNo.
00
0C
Time for data transmission is calculated with the following expression, for instance, in the case of 9600 [bps]:
When the baud rates of 2400 bps and 4800 [bps] are used, data transmission time will be 4.17 [ms/byte] and
2.08 [ms/byte], respectively. Note, however, actual communication time will be added time necessary for
processing received command, and necessary for switching between a line and transmission/reception control.
Parameter Name
Shaft name
Setting of baud rate for
RS232C communications
(1000/9600) x (1 + 8 + 1) = 1.04 [ms/byte]
Start bit
Range of Setting
1 - 15
0 - 2
Data
Refer to descriptions on parameters on pages 88 and 116.
Set the communications speed of RS232C communications.
0 : 2400[bps] 1 : 4800[bps] 2 : 9600[bps]
A change will be valid when you power on the control power supply.
Stop bit
Functional Description
Handshaking Code
For line control, the following codes are used.
Name
ENQ
EOT
ACK
NAK
Code
05h
04h
06h
15h
Functions
Transmission request
Ready for receiving
Acknowledgement
Negative acknowledgement
ENQ …When the module has a block to transmit, it sends ENQ.
EOT … When the module is ready to receive a block, it sends EOT. The line enters transmission mode when
sending ENQ and receiving EOT. It enters reception mode when receiving ENQ and sending EOT.
ACK … When a received block is judged normal, ACK is returned.
NAK … When a received block is judged as abnormal, NAK is returned. A judgment is made based on
checksum and timeout.
160
Reference
Transmission Sequence
Transmission Protocol
RS232C
HostMINAS-E
[Reference]
(1) ENQ (05h)
(2) EOT (04h)
(3) Data Block
(4) ACK (06h)
(or NAK (15h))
(5) ENQ (05h)
(6) EOT (04h)
(7) Data Block
(8) ACK (06h)
Received
Data
Transmitted
Data
STAT US
ALM CODE
x
6
x
5
x
4
x
3
x
1
(or NAK (15h))
Line Control
Direction of transmission and conflict are solved.
Reception mode …The module enters reception mode after receiving ENQ and returning EOT.
Transmission mode … The module enters transmission mode after sending ENQ and receiving EOT.
When there occurs a conflict between the transmitting module and receiving module:
When subsequent to transmission of ENQ, a slave receives ENQ while waiting for EOT, priority is given to
ENQ sent from a maser, and the slave enters the reception mode.
Transmission Control
Entering transmission mode, a module transmits a command block continuously and then waits for reception
of ACK. When the module receives ACK, transmission is complete. When the number of transferred
command bytes is incorrect, ACK may not be returned. When ACK is not returned within T2 period, or when
NAK or any code other than ACK is received, transmission retry will be executed. The retry will start with
ENQ.
Receiving Control
Entering receiving mode, the module receives transmitted blocks continuously. It obtains the number of
command bytes from the first byte, and receives as many command bytes as that number plus 3. When the
sum of received data is zero, reception is considered successfully ended and ACK is returned. When
abnormal checksum or timeout between characters occurs, NAK is sent.
161
Communications
Configuration of Data Block
A data block to be transmitted in physical phase is configured as illustrated below:
1 byte
N
axis
commandmode
Parameter
(N bytes)
check sum
N: This is the number of command bytes (0 - 240),
which indicates the number of parameters needed by a command.
axis: This defines a module ID assigned to parameter No.00 axis name of the driver. (1 - 15)
command : This is the control command (0 - 15).
mode: This is the command execution mode (0 - 15),
which differs depending on a command.
check sum : This is 2’s complement of the total number of bytes, ranging from the first byte to the byte immedi-
ately before the checksum byte.
Protocol Parameter
The following parameters can control transfer of a block. A user can set these parameters to any value with INIT
command to be described later.
Name
T1
Timeout between character transmissions
T2
RTY
M/S
T1 .... • This is allowable time between module identification byte and ENQ/EOT, or time from reception of a
character code by this device to that of a next character code in a transmission/reception data block.
When this specified time is exceeded, timeout error occurs and NAK is returned to the transmitting
module.
T2 .... • This is allowable time after this device transmits ENQ till it receives EOT. When this specified time is
exceeded, it means that the receiving module is not ready to receive data or fails to receive ENQ code
for some reason. In this case, ENQ code will be resent to the receiving module (number of retries).
• This is allowable time after EOT is sent out till a first character is received. When this specified time is
exceeded, NAK is returned and the receiving mode ends.
• This is allowable time after checksum byte is sent out till ACK is received. When this specified time is
exceeded, ENQ code is resent to the receiving module, as in the case of reception of NAK.
Function
Protocol time limit
Retry limit
Master/slave
Initial Value
5 (0.5 second)
10 (10 seconds)
1 (once)
0 (slave)
Range of Settings
1 - 255
1 - 255
1 - 8
0, 1( master)
Unit
0.1 second
1 second
once
RTY ..... This shows the maximum number of retries. When this specified value is exceeded, transmission error
occurs.
M/S ..... This shows switching of a master/slave. When conflict of ENQ transmission occurs, this parameter
determines to which priority is given. (0=slave mode, 1=master mode) Transmission of the module
defined as a master should take precedence.
162
[Reference]
Reference
Example of Data Communication
Example of Changing Parameters
The following illustrates time-series communications data flow when a change is made to a parameter.
Communications should be conducted in the sequence of outline, (1) individual writing of parameters and (2) writing
to EEPROM if storage is needed. In this example of hardware connection, the device is directly connected with a
host through RS232C communications with user ID=1. Data is represented in hexadecimals.
(1) Individual Writing of Parameters
Host
MINAS-E(
Host
MINAS-E(
Host
MINAS-E(
1)
1)
1)
050301180B0000D9
(ENQ)
0406
(EOT)(ACK)
(2) Writing of Parameters to EEPROM
040605000148
(EOT)(ACK) (ENQ)
0501011800E604
(ENQ)(EOT)
B70406
(EOT)(ACK)
060501014800B6
(ACK) (ENQ)
(Note) For details of commands, refer to “List of Communications Commands” on Page 166.
163
Communications
State Transition Diagram
RS232C Communications
There are requests
for transmission
(within the number
of retries).
ENQ transmission
and T2 start.
Transmitting Module
ENQ is received and in slave
mode.
ENQ is returned to receiving
buffer (To reception
processing)
There are requests for
transmission but the number of
retries is exceeded.
The number of retries is to be
reset once. A request for
transmission is cleared.
Waiting for EOT
T2 timeout
The number of retries
is counted once.
T2 stop
Transmission buffer is
cleared.
EOT is received.
Size Number of command
bytes + 3
T2 stop
Transmission of block
Waiting for ACK/NAK
NAK is received or T2
times out.
The number of retries is
counted once.
T2 STOP
Transmission buffer is
cleared.
One character is received.
Size Number of command
bytes - 1
Size becomes zero.
T2 START
ACK is received.
The number of retries
is reset.
T2 stop
The request for
transmission is cleared.
ENQ
EOT is
transmitted.
T2 start
T2 timeout
NAK is transmitted.
T2 stop
Waiting for the number
of command bytes
The number of command bytes is
received.
Size Number of command bytes +3
Sum Number of command bytes
T1 start, T2 stop
Idling
T1 times out or checksum
error occurs when size
becomes 0.
NAK is transmitted.
T1 stop
Remaining blocks
One character is received.
Size Number of command bytes -1
Sum Sum + received characters
T1 start
Receiving module
Receiving
Reception is successful
(checksum is OK when size
becomes 0).
ACK is transmitted.
T1 stop
164
Reference
Communications Timing
RS232C Communications
[Reference]
Host Driver
Driver Host
Host Driver
Driver Host
Code
T3
T4
T5
T3T3T4
Request for transmission
Permission to transmit
T3T3T5T4T5
Request for transmission
Name
Continuous inter-character time
Driver response time
Host response time
T5T4
Data block
ACK/NAK
Permission to transmitACK/NAK
Data block
Minimum
Stop bit length
4ms
2ms
Maximum
Protocol parameter T1
Protocol parameter T2
Protocol parameter T2
<Caution>
The time represents a period of time from stop bit rising edge.
165
Communications
List of Communications Commands
command
0
1
2
8
9
B
mode
1
5
6
1
0
1
2
4
5
6
7
8
9
A
0
1
4
0
1
2
3
4
0
1
2
Description
NOP
Readout of CPU version
Readout of the driver model name
Readout of the motor model name
INIT
Setting of protocol parameters
POS, STATUS, I/O
Readout of status
Readout of the command pulse counter
Readout of the feedback pulse counter
Readout of current speed
Readout of current torque output
Readout of the current deviation counter
Readout of input signal
Readout of output signal
Readout of current speed/torque/deviation counter
Readout of status/input signal/output signal
PARAMETER
Individual readout of parameters
Individual writing of parameters
Writing of parameters to EEPROM
ALARM
Readout of current alarm data
Individual readout of alarm history
Batch readout of alarm history
Alarm history clear (also on EEPROM)
Alarm clear
PARAMETER
Individual readout of user parameters
Page readout of user parameters
Page writing of user parameters
<Note>
Be sure to use the above commands only. We could not guarantee proper operation of the driver when you
transmit a command not listed above.
Details on Communications Commands
command
0
Error code
bit7
0 : Normal
1 : Error
For version information, Ver. is divided into high order data and low order data and sent back. (The decimal point
returns low-order 4 bits of the high order data as "0".)
A version is expressed by digits of 0 to 9 (Example: Ver.3.13 is composed of high order data 30h and low order data 13h).
This indicates the CPU version.
mode
1
65
Readout of CPU version information
Received data
Command error
Transmitted data
0
axis
01
checksum
43210
Version (high order)
3
axis
01
(low order)
Error code
checksum
166
[Reference]
Reference
command
0
Error code
bit7
0 : Normal
1 : Error
mode
5
65
Readout of the driver model name
Command error
Received data
0
axis
05
checksum
43210
The driver model name is 12 characters and transmitted by ASCII code.
ex. "MKDET1505 "
command
0
mode
6
Readout of the motor model name
Received data
0
axis
06
checksum
Transmitted data
0Dh
axis
05
Driver Model Name (high order)
Driver Model Name (low order)
Error code
checksum
Transmitted data
0Dh
axis
06
Motor Model Name (high order)
Error code
bit7
0 : Normal
1 : Error
65
Command error
43210
The motor model name is 12 characters and transmitted by ASCII code.
ex. "MUMA012P1 "
command
1
Error code
bit7
0 : Normal
1 : Error
mode
1
65
Setting of RS232C protocol parameters
Command error
Received data
3
axis
11
T1
T2
RTYM/S
checksum
43
RTY error
T2 error
Motor Model Name (low order)
Error code
checksum
Transmitted data
1
axis
Error code
checksum
2
1
T1 error
11
0
M/S error
Setting of the previous protocol parameters remains valid until execution of this command completes. The updated parameter setting will be
valid from a next command after execution of this command.
M/S=0 indicates "SLAVE" mode, while M/S=1 indicates "MASTER".
The RTY code is 4 bit and M/S is 1 bit.
Unit of T1 and T2 are 0.1 second and 1 second, respectively.
167
Communications
command
2
Status
bit765
Error code
bit7
0 : Normal
1 : Error
mode
0
65
Readout of status
CCW
Torque being output
Command error
The control modes are defined as follows:
0
High speed response positioning control mode
1
Internal velocity control mode
2
High function positioning control
command
2
mode
1
Readout of the command pulse counter
Received data
0
axis
checksum
4
CW
Torque being output
43210
Received data
0
axis
checksum
20
CCW
rotating
21
Transmitted data
3
axis
20
Control mode
Status
Error code
checksum
3
CW
rotating
2
1
Less than DB
permission speed
Transmitted data
5
axis
Counter value L
0
Torque being
limited
21
H
Error code
Error code
bit7
0 : Normal
1 : Error
65
Command error
43210
checksum
A current command position is expressed by absolute coordinates from the start-up time. (Cumulative sum of the number of
command pulses)
The counter value is 32 bits.
For the counter value, "-" indicates CW and "+" indicates CCW.
168
[Reference]
Reference
command
2
Error code
bit7
0 : Normal
1 : Error
mode
2
65
Readout of the feedback pulse counter
Command error
Received data
0
axis
checksum
4
Transmitted data
5
axis
22
Counter value L
H
Error code
checksum
3210
22
A current position of the feedback pulse counter is expressed by absolute coordinates from the start-up time.
For the counter value, "-" indicates CW and "+" indicates CCW.
The feedback pulse counter indicates a cumulative sum of pulses of the position detector, which corresponds to a position of
the motor that really moves.
command
2
mode
4
Readout of current speed
Received data
0
axis
checksum
Transmitted data
3
axis
24
Data (current speed) L
H
Error code
checksum
24
Error code
bit7
0 : Normal
1 : Error
6543210
Command error
This command is used to read current speed (unit [r/min]).
An output value is 16 bits.
For the counter value, "-" indicates CW and "+" indicates CCW.
command
2
Error code
bit7
0 : Normal
1 : Error
mode
5
6543210
Readout of current torque output
Received data
0
axis
25
checksum
Command error
This command is used to read current torque output (unit: to be converted as rated torque = 2000).
An output value is 16 bits.
Transmitted data
3
axis
25
Data (torque) L
H
Error code
checksum
169
Communications
command
2
Error code
bit7
0 : Normal
1 : Error
mode
6
65
Readout of the current deviation counter
Command error
Received data
0
axis
checksum
4
Transmitted data
5
axis
26
Data (deviation) L
H
Error code
checksum
3210
This command is used to read a current value of the deviation counter. (unit [pulse])
An output value is 32 bits.
"+" indicates that the encoder is in CW direction and "-" indicates that the encoder is in CCW direction relative to the position
command.
command
2
mode
7
Readout of input signal
Received data
0
axis
checksum
Transmitted data
5
axis
27
Data L
26
27
Error code
checksum
Error code
bit7
0 : Normal
1 : Error
Data
bit7
Reserved
bit15
Reserved
bit23
Reserved
bit31
Reserved
6543210
6
Command dividing/
multiplier switching
14
Reserved
22
Reserved
31
Reserved
Command error
5
Zero speed
clamp
13
Internal velocity
command selection 2
21
Reserved
29
Reserved
4
Control mode
switching
12
Internal velocity
command selection 1
20
Reserved
28
Reserved
3
CCW overtravel
inhibited
11
Reserved
19
Reserved
27
Reserved
21
CCW overtravel
inhibited
10
Counter cleared9Gain switching8Reserved
18
Reserved
26
Reserved
Alarm cleared0Servo-ON
Reserved
Reserved
For "CW overtravel inhibited", "CCW overtravel inhibited" and speed zero clamp, "1" indicates the open status.
For other input signals, "0" indicates the open status.
Data H
17
25
16
Reserved
24
Reserved
170
[Reference]
Reference
command
2
Warning data
bit7 Overload
bit5 Over-regeneration
bit0 Battery
Error code
bit7
0 : Normal
1 : Error
Data
bit7
Reserved
bit15
Reserved
bit23
Reserved
mode
8
6543210
6
Reserved
14
Reserved
22
Reserved
Readout of output signal
Received data
0
axis
checksum
Command error
5
Torque being
limited
13
Dynamic brake
activated
21
Reserved
Zero speed
detected
Reserved
Reserved
12
20
Transmitted data
7
axis
28
Data L
Data H
Warning data L
H
Error code
checksum
4
3
Electromagnetic
brake released
11
Reserved
19
Reserved
21
Positioning
completed
10
Reserved
18
Reserved
Servo alarm
9
Speed achieved8Reserved
17
Reserved
28
0
Servo ready
16
Reserved
bit31
Reserved
31
Reserved
Reserved
29
28
Reserved
Reserved
The following table shows the relation between each signal and operation.
Signal
Servo ready
Servo alarm
In positioning completed
Electromagnetic brake released
Zero speed detected
Torque being limited
Achieved speed
Dynamic brake activated
command
2
mode
9
Positioning not completed
Electromagnetic brake running
Zero speed not detected
Torque not being limited
Not achieved speed
Dynamic brake released
Readout of current speed/torque/deviation counter
0
not Ready
Normal condition
Received data
0
axis
29
checksum
27
26
Reserved
1
Servo ready
Abnormal condition
Positioning being completed
Electromagnetic brake released
Zero speed detected
Torque being limited
Speed being achieved
Dynamic brake being activated
25
Reserved
Transmitted data
9
axis
Data L
(Speed) H
Data L
(Torque) H
Data L
24
Reserved
29
Error code
bit7
0 : Normal
1 : Error
65
Command error
43210
The speed and torque output values are 16 bits and deviation output value is 32 bits.
The unit and sign of output data are same for command Nos. 24, 25, and 26.
171
(Deviation) H
Error code
checksum
Communications
command
2
Error code
bit7
0 : Normal
1 : Error
mode
A
65
Readout of status/input signal/output signal
Command error
Received data
0
axis
checksum
43210
Transmitted data
0Dh
axis
2A
Control mode
Status
Input signal L
Input signal H
Output signal L
Output signal H
Warning data L
Warning data H
Error code
checksum
Meanings of each bit for control mode, status, input signal, output signal, and warning data are same as those of command
No.20 (command=2, mode=0), 27 (mode=7), and 28 (mode=8).
2A
172
[Reference]
Reference
command
8
Error code
bit7
0 : Normal
1 : Error
command
8
mode
0
65
mode
1
Individual readout of parameters
Command error
Individual writing of parameters
Parameter value L
H
Received data
1
axis
Parameter No.
checksum
43
Received data
3
axis
Parameter No.
checksum
80
No. error
81
Transmitted data
3
axis
80
Parameter value L
H
Error code
checksum
210
Transmitted data
1
axis
81
Error code
checksum
Error code
bit7
0 : Normal
1 : Error
Data error
6
5
Command error
4
No. error
3
210
This command just changes a parameter temporarily. If you wish to write to EEPROM, execute writing to EEPROM of
parameter (mode=4)
Be sure to set 0 to unused parameters. Otherwise, data error will occur.
command
8
Error code
bit7
0 : Normal
1 : Error
mode
4
6543210
Data errorCommand error
Writing of parameters to EEPROM
Received data
0
axis
84
checksum
Transmitted data
1
axis
Error code
checksum
Control LV
This command is used to write a set parameters to EEPROM.
Transmission data will be returned after completion of EEPROM writing.
Writing to EEPROM may take approx. 5 seconds max. (if all parameters are changed).
When writing of parameters fails, data error will occur.
When control power supply LV is detected, control LV of error code will be returned, and parameter writing will be disabled.
84
173
Loading...
+ 43 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.