Integrated Step Motors, Quickstep, and Step Motor Controller Smc75
Integrated Step Motors, Quickstep, and Step Motor Controller Smc75
Integrated Step Motors, Quickstep, and Step Motor Controller Smc75
Warning
The MIS and SMC series of products are used to control electrical and mechanical components of motion control systems. You should test your motion system for safety under all potential conditions. Failure to do so can result in damage to equipment and/or serious injury to personnel.
Please contact your nearest JVL representative in case of technical assistance. Your nearest contact can be found on our web site www.jvl.dk Copyright 1998-2008, JVL Industri Elektronik A/S. All rights reserved. This user manual must not be reproduced in any form without prior written permission of JVL Industri Elektronik A/S. JVL Industri Elektronik A/S reserves the right to make changes to information contained in this manual without prior notice. Similarly JVL Industri Elektronik A/S assumes no liability for printing errors or other omissions or discrepancies in this user manual. MacTalk and MotoWare are registered trademarks JVL Industri Elektronik A/S Blokken 42 DK-3460 Birkerd Denmark Tlf. +45 45 82 44 40 Fax. +45 45 82 55 50 e-mail: [email protected] Internet: http://www.jvl.dk
Contents
1
1.1 1.2 1.3 1.4 1.5
Introduction .................................................................................................................... 5
Features pulse/direction (SMD73) ...................................................................................................................... 6 Features positioning - speed control (SMC75) ................................................................................................... 8 General description ......................................................................................................................................... 10 Step Motor Controller SMC75 ......................................................................................................................... 12 SMC75 Controller connections ........................................................................................................................ 13
2
2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13
3 4 5
5.1
6 7
7.1 7.2 7.3 7.4 7.5
8 9
9.1 9.2
10
10.1 10.2 10.3 10.4 10.5 10.6 10.7
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS231, 232, 234
11
11.1 11.2 11.3 11.4 11.5 11.6
12
12.1 12.2 12.3 12.4 12.5 12.6 12.7 12.8
13
13.1 13.2 13.3 13.4
14
14.1 14.2 14.3 14.4 14.5
15
15.1 15.2 15.3
16
JVL Industri Elektronik A/S - User Manual - Integrated Servo Motors MAC050 - 800
Introduction
This user manual describes the set-up and use of the Integrated step motors, QuickStep types MIS231, MIS232 and MIS234 and the SMC75 Step Motor Controller. The QuickStep motors types MIS231, 232 and 234 can be delivered either for pulse /direction control or for positioning and speed control. For pulse/direction control, the QuickStep motors are delivered with the Step Motor Driver SMD73 built in. For further information on this driver, reference should be made to the data-sheet for these drivers (LD0057) and the Technical Note (LS0003). For positioning and speed control, the Quick Step motors are delivered with Step Motor Controller SMC75 built in. Both the driver SMD73 and the controller SMC75 can also be delivered separately as PCB boards for own use by the customer, and can be delivered in a metal housing with M12 connectors corresponding to the housing built together with the complete integrated motor.
SMD73 PCB
SMC75 PCB
SMC75 in housing
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
1.1
SMD73 The QuickStep series of Stepper motors with integrated electronics represents a major step forward. All the necessary electronics in a stepper system are integrated in the motor itself. In the past, a traditional motor system has typically been based on a central controller unit located remote from the motor. This configuration however has the disadvantage that installation costs are a major part of the total expense of building machinery. The basic idea of the QuickStep motors is to minimize these costs but also to make a component that is much better protected against electrical noise, which can be a typical problem when using long cables between the controller and motor. The stepper motor, encoder and electronics are specially developed by JVL so that together they form a closed unit, in which the power driver and controller are mounted inside the motor. The advantages of this solution are: De-central intelligence. Simple installation. No cables between motor and driver. EMC safe. Switching noise remains within motor. (Noise can however be introduced in the DI/DO). Compact. Does not take space in cabinet. Low-cost alternative to separate step or servo motor and driver. In the past decade, pulse/direction interfaces have become increasingly popular for the control of step and servo motors. This is due to the fact that pulse/direction signals provide a simple and reliable interface which is 100% digital, precise, and offers immediate response. When a pulse is sent, the motor instantaneously moves 1 step forward. For example, if the motor has a resolution of
MIS231 with pulse/direction 200 steps/revolution, it will move 1.8 degrees. By changing the frequency of the applied pulse signal, it is possible to accelerate the motor. By counting the number of pulses, the motors position can be determined without any error whatsoever. The direction input is used to determine the motors direction of rotation. JVLs QuickStep motors with pulse/direction interface offer the following advantages: Very simple technology that is easy to understand and apply. High stability and low cost because the technology is simple with few components. Only one cable with 4 wires is required, so cabling costs are a minimum. No controller in the control cabinet. All positioning and control is performed by the PLC, so there is no duplication of software or cabling. Robust IP67 connector and IP55 motor housing for applications in demanding environments. Thermally protected against current overload and short-circuit. Reacts instantaneously. The motor starts within microseconds. 5V or 24V PNP/NPN inputs ensure compatibility with any controller. Step resolution of 200, 400, 800, 1000 or 1600 pulses/revolution. Supply voltage 12-28 VDC. Possibility for encoder feedback. All the required electronics are integrated in the motor itself in a single compact unit. The motor can be supplied with the connector either on the back or side of the housing. M12 connector is standard, but cable glands or DSUB connector can be delivered on request. For further information on the pulse/direction driver see SMD73 Data-sheet and Technical Note.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
1.1
1.1.1
SMD73 Driver
Bus Supply 12-28V Ground 200, 400, 800, 1000, 1600 step Phase A Driver
Motor
Phase B
Stepclock Direction
Encoder
Encoder Output
A B
Incremental encoder
Optional
TT2178GB
1.1.2
Driver Connections Versions with pulse and direction control: Connections for versions with 1 M12 connector. (See also SMD73 data-sheet)
M12 5 pin male 1 2 3 4 5 Description P+ (12-28VDC) Pulse PDirection Signal Ground JVL cable WI1000M12 F5TxxN Brown White Blue Black Grey
xx: 05 for 5 metre and 20 for 20 metre cable. Versions with cable glands and 5 m cable
Colour Code Red Black Blue White Shield Description P+ (12-28VDC) PDirection Pulse Signal ground
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
SMC75
MIS232 with controller Driver technology is improved as compared to SMD73 and supply voltage is 12-48VDC. When used with the QuickStep motor or mounted on any other step motor the advantages of the controller are: De-central intelligence. Simple installation. No cables between motor and driver. EMC safe. Switching noise remains within motor. Compact. Does not take space in cabinet. Low-cost alternative to separate step or servo motor and driver. Stall detect by means of magnetic encoder with resolution of up to 1024 pulses/rev. Interface possibilities to the SMC75 controller: From PC/PLC with serial commands via 5V serial or RS485. Pulse/direction input. Encoder output. CANopen, DeviceNet 8 I/O, 5-28VDC that can be configured as Inputs, Outputs or analogue inputs Future option for Profibus DP Ethernet, , Bluetooth and Zigbee wireless
The compact step motor controller SMC75 is designed for positioning and speed control of stepper motors. SMC75 is a PCB with di-
It is mounted directly in the housing of the JVL QuickStep motors MIS 231, 232 and 234, forming a complete integrated step motor. It may also be used with other types of step motors according to customers requirements. The basic features of the controller are: Serial RS485 or 5V serial position controller Position controller with graphic programming. Option for CANbus, CANopen DS-301/ DSP-402 or DeviceNet (under development). A dual supply facility is available so that position and parameters are maintained at emergency stop Gear mode MACmotor protocol so MACmotor and Quickstep motors can be connected on the same RS485 bus Command for easy PLC/PC setup and communication Power supply 12-48VDC Fixed 1600 pulses/rev. Built-in processor with 8 In/Out that can be configured as inputs, PNP outputs or analogue inputs. 5V serial and RS485 interface for set up and programming. MODBUS interface. 9.6 to 1Mb communication
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
SMC75 Controller
1/8 step Phase A Driver 1600 step/rev.
Motor
Phase B
Tx Rx AB+
RS485 driver
CAN R
CAN Tranciever
CAN L
Optional
Encoder
A+ AB+ B-
RS422
Optional
TT2140GB
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
1.3
General description
The QuickStep motors are currently available in 4 different models: MIS230, MIS231, MIS232 and MIS234, with continuous torque ratings from 0.5 to 2.9 Nm. The basic functions and I/O features are the same for all models. MIS34x models up to 12.0 Nm are under development.
Motor Type Torque Inertia Flange Length Shaft Shaft radial play Shaft axial play Max radial force Max axial force Weight
Unit Nm kgcm2 mm mm mm mm kg kg
NEMA34 (87x87mm)
Max. 0.02 (450g load) Max. 0.08 (450g load) 7.5 (20mm from flange) 1.5 0.7 0.9 1.2 1.8 2.1
Max. 0.02 (450g load) Max. 0.08 (450g load) 22 (20mm from flange) 6 2.7 4.2 5.8
kg
1.3.1
Basic modes/functions in the QuickStep motor The QuickStep motor offers the following functions:
Mode
Passive Velocity Position
Description
The motor will be in a completely passive state but communication is active and internal registers can be setup. Motor shaft can be turned by hand. The motor velocity can be controlled using MacTalk software or by setting register 5(V_SOLL) using serial or program commands. The motor position can be controlled using MacTalk or by setting register 3 (P_SOLL) using serial or program commands. The motor position and velocity can be controlled by pulse and direction or encoder signals at the inputs IN1 and IN2. The gear ratio can be set to a large ratio by using register14 (GEAR1) and register 15 (GEAR2).
Gear
1.3.2
Torque curves
Torque (Nm) 3,5 Power supply = PSU24-240 (24V/240W regulated PSU) Power supply = PSU48-240 (48V/240W regulated PSU) Room temperature = 20C
2,5
1,5
MIS234 @48V MIS234 @24V MIS232 @48V MIS232 @24V MIS231 @48V MIS231 @24V
0,5
0 0 100 200 300 400 500 600 700 800 900 1000 Speed (RPM)
10
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11
1.4
PCB X
BOX
CANopen
IO 8
RS485 1
M12
SMC75A1AC
SMC75A1M3
2 1 1 1
X X X X
X X X
8 8
Other combinations and features are also possible for OEM use. See MIS23x: M12 connections on page 14. for further information. The box version which is built into a black aluminium casing provides a very robust construction that is insensitive to mechanical vibration and electrical noise. The advantage of using a ministep driver instead of a conventional full-step or half-step driver is that mechanical resonance problems are significantly minimised. Resonance most often occurs at slow motor speeds and results either in loss of motor torque or the appearance of significant harmonics. The principle of the ministep technique is to drive the motor using a sinusoidal current in the interval between 2 physical full steps. This reduces the step velocity between each step and thus damps any resonance significantly.
Comparison between ministep and full step Current (%) 150 100 50 0 -50 -100 -150 1 2 3 Position 4 (Full steps) Resonance during full step operation Position (Full steps) 6 Overshoot 5 4 3 2 1 0
TT2158GB
Time
Both 2-phase and 4-phase step motors can be connected to the Controller, which utilises the "Bipolar Chopper" principle of operation, thus giving optimum motor performance.
12 JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
1.5
1.5.1
User IO
IO6
IO5 IO7
RS422
1 2 3 4 5 6 7 8 9 10
IO1 User IO IO2 IO3 IO4 CVO ARS485 B+ GND A1+ RS422 A1-
1 2 3 4 5 6 7 8 9 10
Recommended connectors Molex (or equivalent from CViLux) Crimp contact 50079-8000 x 10 Housing 10 pin 51021-1000 x 1 or CViLux Crimp contact CI44T011PEO x 10 Housing 10 pin CI4410 S000 x 1
J5
CAN CAN_H CAN_L V+ GND
1 2 3 4 5 6 1
P+ CVI P-
TT2152GB
Recommended connectors Molex (or equivalent from CViLux) CViLux Crimp contact CI44T011PEO x 6 Crimp contact 50079-8000 x 6 Housing 6 pin CI4406 S000 x 1 Housing 6 pin 51021-0600 x 1
Recommended connector Crimp terminals: Housing: Molex 09-91-0300 Molex 08-50-106 (Nylon UL94V -0) Pitch = 3.96mm
The figure below shows the generation 2 connector for future or special purposes. Please contact JVL for further information.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
13
1.5
1.5.2
1 5 4
2 5
1 7 6 8
2 3 4 3
1 7
6 5
TT2143GB
3
PWR
RS485
PWR:
5 pin male
RS485: 5 pin female I/O1-4: 8 pin female I/O1-4 RS485 I/O5-8: 8pin female
TT2205GB
5- pole connector Pin no. 1 2 3 4 5 Colour Brown White Blue Black Grey
8-pole connector Pin no. 1 2 3 4 5 6 7 8 Colour White Brown Green Yellow Grey Pink Blue Red
14
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
1.5
MIS23xAzM3yy75
RS485 serial communication in network. Up to 32 MAC and QuickStep on the same network. Few local I/O .
PWR
# MIS23xAzM4yy75
RS485 serial communication and many local I/O .
PWR
PWR
RS485
I/O5-8
I/O1-4 RS485
I/O1-4 RS485
I/O1-4 RS485
MIS23xAzM5yy75
RS485 serial communication in network. Up to 32 MAC and QuickStep on the same network. Many local I/O .
PWR
MIS23xAzM6yy75 MIS23xAzM7yy75
RS485 and CANopen/Devicenet operation. Many local IO .
PWR
MIS23xAzM9yy75
RS485 and SSI encoder Few local I/O .
PWR
I/O5-8
RS485
CAN
I/O5-8
SSI
RS485
I/O1-4 RS485
I/O1-4 RS485
I/O1-4 RS485
TT2259GB
PWR: 5 pin male RS485: 5 pin female CAN: 5 pin male I/O1-4: 8 pin female I/O5-8: 8pin female SSI: 8 pin male
X X X X X IO1 IO2 IO3 GND IOB+ (RS485) A- (RS485) IO4 CVO+ (Out) WI1008M12M8SS1 WI1000M12M8T05N
#: Only >50pcs order. x=: 1~1Nm, 2~1.6Nm, 3~2.5Nm. z=: 1~6.35mm shaft, 3~10.0mm shaft (only if x=3) yy=NO~No encoder. H2~built-in encoder
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234 15
16
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
Connections SMC75
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
17
2.1
2.1.1
ControlVoltage 12-28VDC
TT2159GB
NB: for actual connections, see drawing SMC75 Controller connections, page 13 2.1.2 Power Supply (P+) The Driver section requires a supply voltage in the range 12-48VDC nominal. It is strongly recommended to use a voltage as high as possible since it will give the best torque performance of the motor at high speeds. For optimum performance, it is recommended that a capacitance of minimum 1000F is connected to the power supply. It should be mounted as close as possible to the motor. Similarly, it is recommended that 0.75mm cable is used to connect the power supply to the Controller. If the Controller supply voltage falls below10V, the internal reset circuitry will reset the driver. Provision should therefore be made to ensure that the supply voltage is always maintained at a minimum of 12V, even in the event of a mains voltage drop. The Controller is protected against incorrect polarity connection but not over-voltage. Warning: Power supply voltage higher than 50VDC will damage the controller.
18
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.1
2.1.3
2.1.4
Power Supply Grounding It is recommended that the housing is connected to ground or common 0 VDC. The overall earthing of the system must be done at a central point close to the power supply. Dimensioning power supply and fuse The power supply must be dimensioned according to the actual motor size. The size of the pre-fuse also depends on the actual model of the MIS motor. Use the following table to select the power supply and fuse ratings.
Desired voltage
12VDC 24VDC 48VDC Recommended power supply Supply rating 20W 40W 80W PSU24-075 PSU48-240 PSU40-4
2.1.5
MIS231
Fuse size T4A T4A T4A Supply rating 40W 80W 160W
MIS232
Fuse size T6.3A T6.3A T6.3A Supply rating 60W 160W 320W
MIS234
Fuse size T10A T10A T10A
See also the appendix which shows the standard power supplies that JVL offers. 2.1.6 General power supply description The supply voltage can be chosen in the range 12VDC to 48VDC. However the maximum torque is based on 48VDC. A lower voltage will decrease the speed/torque performance, and in general it is not recommended to run the motor at more than 300RPM if for example 24VDC is used as supply.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234 19
2.1
+12-48VDC
(Bus voltage)
P+ P-
(control voltage)
+12-28VDC
Make sure that all involved units are connected to the same potential
Power supply
GND
Allways use shielded cables. The screen must be connected to common ground at the power supply
P+ P-
2.1.7
Select Your Power Supply We recommend the use of 48VDC or the highest possible voltage to supply the motor. As seen in the chart below, it is clear that the torque below 100 RPM is independent of supply voltage. But above 300-500 RPM, the torque at 24VDC is half compared to the torque at 48VDC. Additionally, higher voltage gives better current and filter regulation and thereby better performance. If there is a tendency for motor resonance, a lower supply voltage can be a solution to the problem.
20
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.2
SMC75 Inputs
The SMC75 has 8 inputs/outputs that each can be set individually to input, output or analog input 0-5VDC via MacTalk or software commands. See Using MacTalk, page 51, for setup. This means for example that it is possible to have 4 inputs, 3 outputs and one analog input. Input/output functional diagram:
CVI <1 Ohm -Processor Overcurrent protection
+5V
TT2160GB
2.2.1
Inputs Inputs are TTL to 28VDC compliant. Over-current protection and thermal shut-down. 10 kOhm input resistance. No galvanic isolation. High speed Pulse/direction on Input 1 and Input 2 for gear mode. High speed incremental counter on Input 1 and Input 2. Positive and negative limit can be selected to any input 1 to 8. Zero search input can be selected to any input 1 to 8. Digital filter can be enabled for each input selectable from 0 to 100ms. If disabled, the response time is 100s. Analog filter can be selected for all Analog inputs.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
21
2.3
User Inputs
NPN Output
TT2161GB
NB: For actual connections, see SMC75 Controller connections, page 13. 2.3.1 General The Controller is equipped with a total of 8 digital inputs. Each input can be used for a variety of purposes depending on the actual application. Each of the inputs can be detected from the actual program that has been downloaded to the Controller or via serial commands. The Inputs are not optically isolated from other Controller circuitry. All of the Inputs have a common ground terminal, denoted GND. Each Input can operate with voltages in the range 5 to 30VDC. Note that the Inputs should normally be connected to a PNP output since a positive current must be applied for an input to be activated. Note that CVO is available as CVI on the I/O connectors. This provides the facility that local sensors can be supplied directly from the controller. Connection of NPN Output If an Input is connected to an NPN output, a Pull-Up resistor must be connected between the Input and the + supply. See the illustration above. The value of the resistance used depends on the supply voltage. The following resistances are recommended:
Supply Voltage
5-12VDC 12-18VDC 18-24VDC 24-30VDC
2.3.2
Recommended Resistance R
1kOhm / 0.25W 2.2kOhm / 0.25W 3.3kOhm / 0.25W 4.7kOhm / 0.25W
22
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.3
2.3.3
2.3.4
Step Pulse and Direction Inputs If gear mode is selected, then IO1 and IO2 can be used as Step Pulse and Direction Inputs. Thereby speed or position can be controlled proportional to the signal properties. The Step Pulse Input (IO1) is used for applying pulse signals which make the motor move. One signal pulse corresponds to a single ministep. The Direction Input (IO2) determines the direction of the motor movement. If logic "1" is applied to the Direction Input, the motor moves forward. If logic "0" is applied to the Input, the motor moves backwards. The Step Pulse and Direction Inputs are not optically isolated from other Driver circuitry and must be driven either by a push-pull driver or a PNP (source) driver. The Inputs can handle voltages in the range 0 to 30 V, which makes the controller well suited for industrial applications, for example in PLC systems.
Pulse
SMC75
Indexer Direction In 1 In 2
A
Encoder
B
TT2231GB
Electronic gearing is possible in the range 1/32767 to 32767. It is recommended that shielded cable is always used for connection to the Step Pulse and Direction Inputs. Both inputs must be controlled from a "Source-driver". This means that they share a common ground see above illustration. The Driver executes the step on the leading flank of the Step Input pulse see above illustration. If gear mode is selected, then IO1 and IO2 can be used as step pulse and Direction Inputs or encoder inputs .
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
23
2.3
1 0
Min. 2.5S Min. 2.5S
Direction (IO2)
TT2172GB
2.3.5
Home Input Any of the 8 inputs can be used as Home input for the zero search function. A zerosearch occurs when the Controller receives the seek zero search command by changing Mode_Reg (Section 9.2.2, page 81) The Home Input can be set from MacTalk or via register Home_Mask (Section 9.2.67, page 98) It is possible to see when a zero-search is finished by reading a bit in Status bits (Section 9.2.20, page 87
2.3.6
Digital inputs All of the eight I/O signals can be used as digital inputs. The sampled and possibly filtered value of each input is stored in the Inputs register (register 18). Unlike the analog inputs, there is only one value for each digital input, so it must be configured to be either unfiltered or filtered. Unfiltered (high-speed) digital inputs are sampled every 100 S (micro-seconds). Filtered digital inputs are sampled every milli-second, and the filter value can be set in the range 1 to100 mS, so the filtered input must be sampled to have the same logical value for that number of samples in a row. Once an input has changed state after passing the filtering, it will again take the same number of samples of the opposite logical level to change it back. For example, if the filter is set to 5 mS and the start value is 0 (zero), the input will remain at zero until three samples in succession have been read as 1 (one). If the signal immediately drops down to 0 again, it will take three samples of zero in succession before the register bit gets set to zero. Note that filtering of the digital inputs does load the micro-controller, so if filtering of the digital inputs is not needed, ALL the inputs can be selected as high-speed to reduce the load.
24
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.4
PC-card or Potentiometer
Ground 0-5V Out
Screen
TT2164GB
NB: For actual connections, see SMC75 Controller connections, page 13. 2.4.1 General The 0-5V Analogue Inputs are used for example when the Controller is operated as a stand-alone unit. In this kind of application it can be an advantage to use a potentiometer, joystick or other device for adjusting speed, position, acceleration, etc. In these modes of operation, the motor is controlled to produce a velocity or position, etc., which is determined by, and proportional to, the voltage applied to the Analogue Input. The Analogue Inputs share a common internal supply with the GND and P- terminal and are not optically isolated from all other inputs and outputs. The Analogue Inputs are protected against voltage overload up to 30V peak and have a built-in filter which removes input signal noise. See Analog input filters, page 26. Always use shielded cable to connect the source used to control an Analogue Input since the motor, etc., can easily interfere with the analogue signal and cause instability. The Controller is equipped with 8 analog-to-digital converters (ADC) which convert the detected analogue signal level. The ADCs have a resolution of 10bit. In order to use the Analogue Inputs as 0-20 mA inputs, a 250 , 1% resistor must be connected between IO 1-8 and GND.
IO 1-8 250 Ohm 1% 0.25W
TT2186GB
0-20mA
P-
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
25
2.4
2.4.2
26
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.4
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.4
..98.04, 98.28, 98.49, 98.68, 98.85, 99.00, 99.12, 99.23, 99.33, 99.41, 99.48, 99.55, 99.60, 99.65, 99.70, 99.74, 99.77, 99.80, 99.82, 99.84, 99.86, 99.88, 99.90, 99.91, 99.92, 99.93, 99.94, 99.95, 99.95, 99.96, 99.96, 99.97, 99.97, 99.98, 99.98, 99.98, 99.98, 99.99, 99.99, 99.99, .100.0
28
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.5
+5V
TT2160GB
Outputs are Source (PNP) outputs and 5-28VDC compliant No galvanic isolation Short-circuit to ground protected that shuts down all outputs and sets Error bit in software In Position and Error signal can be selected to be on any outputs 1 to 8 Optional Encoder outputs 75 to 350 mA output current that depends on number of outputs activated and on duty cycle. (See diagram) Internal ground clamp diodes Allowable output current as a function of duty cycle
312
A) Collector Current (m
195
156 117 78 39
10
20
30
40
50
60
70
80
90
100
TT2180GB
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
29
2.5
CVI O8 O7 O6 O5 O4 O3 O2 O1 O-
User Outputs
CVI
Max. 350mA +
Load
8-28VDC
TT2165GB
NB: For actual connections, see SMC75 Controller connections, page 13. 2.5.1 General The Controller is equipped with a total of 8 digital outputs. Each output can be used for a variety of purposes depending on the Controllers basic mode of operation. The Outputs are not optically isolated from other Controller circuitry. The output circuitry is powered from the internal power supply CVI. The output circuitry operates with voltages in the range 5-28VDC. Each output can supply a continuous current up to 350mA. The Outputs are all source drivers, i.e. if a given Output is activated, contact is made between the control voltage (CVI) and the respective output terminal. See above illustration. Overload of User Outputs All of the Outputs are short-circuit protected, which means that the program and the motor is stopped and the output is automatically disconnected in the event of a short circuit. The Output will first function normally again when the short-circuit has been removed. Note: Do not connect a voltage greater than 30VDC to the CVI terminal as the output circuitry may be seriously damaged and the unit will require factory repair. If one or more outputs are short circuited, MacTalk will show Error Output Driver and Bit2 will be set in Err_Bits Section 9.2.25, page 88.
2.5.2
30
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.6
2.6.1
2.6.2
2.6.3
Actual P osition In P osition In Phys.Position: w o update . . wU . pdate IPW =1 IPW =50 IP =5 W Settling tim e
TT2206G B
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
31
2.6
2.6.4
Motor
TT2230GB
See the register description for registers 108 and 109 in PulseDirMask, page 94 and PulseDirMod, page 94 2.6.5 Encoder Outputs (only from version 2.0) If the motor is equipped with a built-in encoder, it is possible to obtain the incremental signal and the index pulse out on the user outputs. Please note that the voltage typically is 24VDC PNP. Therefore a resistor to ground should be connected. A 2 channel encoder with 256 pulses/revolution will give a total of1024 pulses/revolution.
SMC75
06 A
PLC
N
07 B
S
08 Index
TT2232GB
If a magnet is mounted on the rear end of the motorshaft and this is placed in close distance to the SMC75 PCB, a 1023 pulses/rev. incremental A, B, index signal will be available on 3 of the output pins. Encoder position will also be available at an internal register and can be used in a PLC program.
Output 06 07 08
32
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.7
Special connections
QuickStep motor MIS231A1C1N075. Motor with 2 cable glands PG12 out of the side for low cost applications where a short total length is required. Can also be delivered with 5m cables as MIS231A1C2N075. Option for IP65.
Cable WG1005 for MIS231A1C2N075 and mounted cable on MIS231a1C1N075 (Power Cable)
Connector J2 Pin no. 1 2 3 Function P+ CVI P-/GND Color Red Blue Black/Screen
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
33
2.8
Auto Correction
AutoCorrection is used in motors with a built-in encoder only. It is only used in position mode to re-try a movement if the decoder position is too far from the target after the pulse generator has stopped moving the motor this will happen for instance if the movement was physically blocked, the torque of the motor was insufficient, or a bad value for start velocity or acceleration were used. It might also be used to handle occasional mechanical oscillations. The AutoCorrection system will first wait (unconditionally) for a certain time to allow the initial movement to settle mechanically before testing for the target position. It will then attempt a normal movement, using the same values for velocities and acceleration as the movement that failed. It will continue until the encoder position is within the target window, or the selected number of retries has expired. Note that AutoCorrection will only start after the value of the P_SOLL register is changed. In other words, changing P_SOLL (not just writing the same value again) will reload the maximum number of retries and set the Auto Correction Active status bit. The Auto Correction Active status bit will remain set until either the position is within the target window or the max number of retries has been exhausted. Also note that if the motor is used to control other motors by sending out the pulse and direction signals on digital outputs, any extra movements caused by AutoCorrection will send out additional steps to the other motors. Registers affected: -Register 33, IN_POSITION_WINDOW, specifies how many steps from the target position the encoder must report before AutoCorrection is attempted. Register 34, IN_POSITION_COUNT, specifies the maximum number of retries. A value of 0 (zero) effectively disables AutoCorrection. -Register 110, SETTLING_TIME, specifies the number of milli-seconds to wait after a movement before testing the encoder position against IN_POSITION_WINDOW. In the present firmware versions, SETTLING_TIME will be used in AutoCorrection mode only. -Register 25, STATUSBITS, will still set bit 4 after the pulse generator has output all the pulses to reach the target position (a theoretical In-Position). In AutoCorrection mode, bit 2 will be set to reflect if the internal encoder position is within +/IN_POSITION_WINDOW steps from the target position P_SOLL (a physical In-Poition). Also bit 1 will be set when AutoCorrection is active. Higher layer software can use this bit to detect when AutoCorrection has either completed or given up. -Register 124, SetupBits, bit 1 can be set to have the firmware maintain the InPhysical Position bit 1 in register 25 all the time, also during a movement. If this bit is not set, the InPhysicalPosition bit will only be maintained after the motor has stopped moving. -Register 137, INPOS_Mask, is used to select the outputs to reflect the status of the two bits InPosition (bit 4 in the STATUSBITS register) and InPhysical Position (bit 2 in the STATUSBITS register). The 8 lowest bits will select the mask for InPosition and the 8 highest bits will select the mask for InPhysicalPosition. Any combination of bits can be set to have zero, one or more outputs reflect each of the two InPosition bits. The MacTalk program only supports setting a single output for each bit, however, since this is the normal case.
34
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.9
2.9.1
Registers involved Register 142, Analog Input Selection, selects which analogue input to use for measuring the power supply. It can be: 1 to 8 for analogue inputs IO1 to IO8, using the unfiltered values for fast response. 81 to 88 for analogue inputs IO1 to IO8, using the filtered values for noise immunity. 12 for the 12-48V power supply P+ and finally 13 for a special input developed for this feature alone (from HW rev. 1.7 and up). Any other value will disable the flash backup system. When running the motor from 30 Volts or less, it can be convenient to connect the bus voltage with the control voltage (CV) supply, and use the value 12 in register 142 to monitor the control voltage. When running the motor from 48 Volts, this is not allowed and can damage the controller board if voltage exceeds 30V. Register 141, Save Threshold Voltage, selects the voltage threshold, that will trigger the flash backup save operation (and stop all other motor operation). When register 142 has the value 12, the scaling/unit of register 141 is the same as register 97, BusVoltage (1023 = 111.4V). The register 142 has the values of 1-8 or 81-88, the scaling/unit of register 141 is the same as registers 81-96 (1023 = 5.0V) Register 139, Acceptance Voltage, selects the voltage threshold that defines when the power supply is ready to use for erasing flash memory after power up. The scaling/unit is the same as register 141. Register 140, Acceptance Count, selects the number of times the Acceptance Voltage must be measured after power up before the flash erase operation is started. When using values 1-8 or 12 for register 142, the count is in units of ~245 microseconds. When using values 81-88, the count is in units of 10 milliseconds. Register 124, SetupBits, selects to use Flash-based Absolute Multiturn Encoder functionality when bit 11 is set.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
35
2.9
2.9.2
36
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.9
2.9.3
The Flash backup feature support in MacTalk All setup-values are accessible from MacTalk.
Acceptance count Register 140 Acceptance voltage Register 139 Save threshold voltage reg. 141 Input selection Register 142
The QuickStep series offers many ways of position control using encoders. From firmware V.2.6 SSI standard encoder is supported, and linear absolute positioning is possible using a SSI-encoder.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
37
2.10
2.10.1
2.10.2
The SSI interface When the differential lines are used for SSI, the A1+/- lines work as a Clock signal from the SMC75 to the encoder, while the B1+/- signals work as a Data signal from the encoder to the SMC75.
The figure above shows the SSI protocol principle. The Clock line is normally high. When a reading is requested, the Clock goes low for t1 micro seconds to allow the encoder to sample and prepare a value. On the first rising edge of the Clock (1), no sampling is done, but on the second rising edge of the Clock (2) the first data bit is read from the Data line. Shortly after reading the bit value, the SMC75 will set the Clock high and execute another cycle, where the data bit is sampled just before each rising Clock. After the last data bit has been sampled, the Clock stays high. The following parameters can be set up in the SMC75 registers: Register 107, SSI_Setup1, 16 bits: The low byte selects the number of data bits in each SSI transfer. The valid range is 0 to 31, corresponding to 1 to 32 data bits. The high byte selects the maximum clock speed in units of 10 kHz. The valid range is 0 to 59, corresponding to 10 kHz to 600 kHz. Register 111, SSI_Setup2, 16 bits: The low byte selects the prepare time in micro seconds at the start of an SSI transfer, corresponding to t1 in the figure. The valid range is 0..255 corresponding to 1..256 micro seconds. The High byte is not currently used, but is reserved for the minimum waiting time between reads.
38 JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.10
The SSI encoder value is sampled by typing in the 321 into the command field. Because of the special timing requirements of the SSI standard it is sometimes required to disable all interrupts in the quickstep-processor in order to prevent false encoder data when reading. To Disable all interrupts in the processor while reading the encoder value, simply check the "Disable intr when reading SSI". The SSI encoder reading is supported in QuickStep firmware from V2.7.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
39
2.11
BB+ AA+
Ground
Screen
Step Motor
2.11.1
Cabling For SMC75 controllers that supply a phase current in the range 0 to 3 A, it is recommended that 0.5mm cable (minimum) is used to connect the motor to the controller. (0.75mm is recommended.) Motor cable lengths should not exceed 10 metres because of impedance loss. It is possible to use longer cables but motor performance will decrease. Cables should be securely connected since a poor connection can cause heating and destruction of the connector. Similarly, tinned conductors should be avoided. Important! To minimise spurious noise emission from the motor cables and to fulfil CE requirements, shielded cable must be used. If shielded cable is not used, other electronic equipment in the vicinity may be adversely affected. The removable connector must never be removed while a voltage is connected as this will significantly reduce the lifetime of the connector. Note also that the connectors lifetime is reduced by repeated connecting/disconnecting since the contact resistance of the pins is increased. Note that P- is connected to the chassis and functions as the main ground on the Controller. See also Motor Connections Section 12.4, page 179, which describes how various models of motor should be connected to the Controller.
40
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
Motor Torque
Parallel
SMC75
A-
Serial
B+ B-
Velocity
Current for Serial or Parallel connection
Maximum current settting Motor 4-phase parallel I x 1.41 I 1.41 I Example motor 4.2A
SMC75
TT2207GB
2.11.2
Connection of Step Motor Various types of step motor are available: 1. 2-phase Bipolar (4 connectors) 2. 4-phase Bipolar/Unipolar (8 connectors) 3. 4-phase Unipolar (6 connectors). Note that Type 3 motors indicated above (Unipolar motors) produce 40% less torque. This motor type can be used with success but is not recommended if a 4 or 8 wire motor is available instead. This section will not describe the unipolar type further. 2-phase or 4-phase motors can be connected to the Controllers as follows: 2-phase Motors (4 wires). This type of motor can be directly connected to the Controllers motor terminals. The Controller current adjustment must not exceed the manufacturers specified rated current for the motor. 4-phase Motors (8 wires). This type of motor can be connected to the Driver in one of the following two ways: 1. Serial connection of phases. 2. Parallel connection of phases. Selection of serial or parallel connection of the motor phases is typically determined by the speed requirements of the actual system. If slow speeds are required (typically less than 1 kHz), the motor phases can be connected in serial. For operation at higher speeds (greater than 1 kHz), the motor phases can be connected in parallel.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
41
2.11
2.11.3
2.11.4
42
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.12
2.12.1
2.12.2
2.12.3
2.12.4
2.12.5
2.12
2.12.6
Use simple shielding Using cables with only a single shield shared by all the signal wires will also improve noise problems to some degree, but will not guarantee completely stable operation for mixed signal cables. If a cable carries only RS-485 or only digital I/O, this simple and inexpensive form of shielding is recommended.
44
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
2.13
24VDC
Step motor
1 2 3 4 5
3
3 5
RS485-USB-A TC-820
Cable RS485-M12-1-5-5
2 3 8 5 6 4
4 (GND)
TT2169GB
2.13.1
Getting started with the SMC75A1MxAA and MacTalk 1. Connect the cables and Power supply as shown above. Use RS485-M12-1-5-5 cable if the PC has an RS485 interface, or use the converter RS485-USB-ATC-820 if the PC has a USB interface. Please note that other models use an 8-pin female connector and therefore use RS485-M12-1-5-8 cable. 2. Switch on the SMC75. 3. Start MacTalk and wait 5 seconds until it automatically is connected to the motor. If no connection occurs, check the serial cables and the Mactalk set-up. The Baud rate should be 19200 and the correct com port selected. 4. When a connection has been established, key in values of running current and standby current under Driver Parameters. Remember to press Enter after each parameter is keyed in. Actual motor values can be seen to the left of the input field. 5. Set Startup mode to select Position to enable the motor driver. There should now be current in the motor phases. Depending on the standby current, the motor shaft will be fixed. Some current regulation noise should be heard from the motor. 6. The motor and I/O status can be seen to the left under Status. 7. At Motion Parameter, key in 1600 counts at Position. The motor will now turn one revolution at the speed specified by Max Velocity.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
45
46
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
3
3.1.1
Serial Interface
Serial Interfaces The Controller has 2 serial interfaces: RS485 (A and B) balanced for up to 32 units in multi-axis applications and MODBUS communication. (Standard) CANbus -CANopen DS-301/DSP-402, DeviceNet under development CANbus and RS485 can be used at the same time.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
47
48
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
4
4.1.1
RS485 Interface
RS485 - General description when using a QuickStep motor The RS485 interface offers more noise immune commu- RS485 network with 1 x QuickStep, 1 x MAC140 and 1 x MAC800 nication compared to the mounted with MAC00-B1, B2 or B4 modules. RS232 interface. Up to 32 Central Make sure that all Power supply involved units are motors can be connected to Controller connected to the same (for example a PC) the same interface bus. potential
(control voltage)
+12-32VDC
Opto isolation *
Screen
When connecting the RS485 interface to a central controller, the following rules must be followed: 1 Use twisted pair cable. 2 Use shielded cable. 3 Make sure that the GND is also connected. 4 Ensure that all units have a proper connection to safety ground (earth) in order to refer to the same potential. 5 The last unit in each end of the network must be terminated with a 120 Ohm resistor between A and B. 6 Ensure that the supply lines are made individually in order to reduce the voltage drop between the motors. 7 Central Controller RS485 interface: If available, it is strongly recommended a type with optical isolation is used.
A B GND
RS485 Interface
Power Supply
Control voltage
Screen
P+ PCVI
MAC50-141 Motor
A B GND
*** Address=2
RS485 Interface
Power Supply
P+ P-
Screen
MAC800 Motor
A ** RS485 B Interface GND
Power Supply
*** Address=3
P+ P-
GND
**
Max. 32VDC !
Up to 32 Motors
Main supply
Mains 230VAC
TT2181GB
* Opto isolation is recommended. ** The last unit in each end of the line must be terminated. The MAC00-B1, B2 and B4 contain this feature. See the individual module descriptions. The QuickStep motor does not have a resistor built-in, the resistor has to be mounted externally, for instance in the M12 connector. *** Each unit connected must be setup with an address via The MacTalk program. If only one unit is connected no address is needed.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
+12-48VDC
(Bus voltage)
49
50
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
5
Setup save/open The complete setup can be either saved or reloaded from a file using these buttons Startup mode The basic functionality of the unit is setup in this field. Profile Data All the main parameters for controling the motor behaviour are setup in this field. Driver Parameters These fields are used to define standby and running current. Gear Factor The gear ratio can be entered here Motion Parameters The distance the motor has to run is entered here
Using MacTalk
System control Error Handling Use these buttons to save data Use these fields to define error permanently, reset the motor etc. limits for the position range etc. Motor status This field shows the actual motor load, position and speed etc. Run status Shows what the status of the motor is. The Bus voltage for the motor and the temperature of the driver is also shown Inputs The status of the digital inputs are shown her and the analogue value Outputs The status of the outputs are shown here and can be activated by the cursor Errors If a fatal error occurs, information will be displayed here. Warnings Here different warnings are shown Help Line Left area: If parameters entered are outside their normal values, errors are shown here. Right area: Here it is possible to see if a motor is connected, the type, version and serial no.
Zero Search All the parameters regarding the position zero search can be specified here.
Autocorrection The parameters used to get the correct position, if it is a motor with encoder
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
51
5.1
5.1.1
The main window of the program changes according to the selected mode, thus only showing the relevant parameters for operation in the selected mode. The following pages describe the actual window for each mode and how the parameters affect MIS motor operation.
52
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
5.1
5.1.2
Open Opens a setup file from disc and downloads the setup to the motor. If no motor is connected, the setup is shown in MacTalk and can be edited and saved to disc again. Save Saves the actual setup from the motor to a file. If no motor is connected, the actual offline settings (including module setups and program) are saved. Save in flash The complete actual setup in the basic motor will be saved permanently in the flash memory. If the motor is powered down or reset, the saved setup will be used. Reset position Resets the position counter to 0. The content of the position counter can be monitored in the right side of the main screen as Actual position. Clear errors Clears all the errors (if any). Please note that if an error is still present, the motor will remain in the actual error state. Reset motor Reset the motor. Same as performing a power off / on operation. Filter Setup For specifying the filter setup of the analogue inputs. STOP motor Stops the motor immediately using a controlled deceleration ramp and puts the motor into passive mode. If a program is present this is stopped as well. This button shall be considered a functional stop button and is available using the keyboard shortcut CTRL+F8. Pressing the Stop button will immediately stop the motor by changing the currently running mode to passive using a fast controlled deceleration curve. Using a quickstep motor or a module that enables the user to execute RxP programs this execution is also halted to prevent the motor from starting up if a startup-mode is setup from a program. Warning! Do not consider this button as an appropriate Emergency stop. Always fit an Emergency stop circuitry to your motor setup. MacTalk Address Only if more than one motor is connected to the same interface. The address specified in this field will determine which motor is communicated with.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
53
5.1
5.1.3
TT1020GB
In case a motor is present and a disc file is opened the user is prompted for keeping the connection or going offline and displaying the file-content. The following message box appears.
TT2264GB
T ransfers Data to the motor and displays the data in MacT afterwards alk
Pressing OK disconnects the motor from the PC-application and all data can be edited without any interruption in the motor.
54
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
5.1
As seen in the bottom info line, the motor is disconnected and the filedata is currently present in Mactalk. To re-establish communication with the motor, simply press the Go Online -button and if any data has been changed a warning box appears enabling the user to save current data before re-establishing communication with the motor as this will overwrite existing data in MacTalk. If data is changed in MacTalk the user is warned that current data in MacTalk may be overwritten and needs to be saved. The following warningbox is presented.
Choosing No will immediately upload all motor data, pressing yes will save all data in the open file.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
55
5.1
5.1.4
b) Here it is possible to key in new values. After pressing enter the value will be transferred to the motor and thereafter be read again from the controller and be shown at point a. Because of digitalizing of the keyed in value, the returned value in a) can be different from the value in b).
c) By pressing the unit field it is possible to change between internal unit in the control ler and the unit shown to the user. E.g. If user unit for current is ARMS and the internal unit is 5.87mA (300ARMS correspond to 511 units.) Not all registers have different internal and user unit. Speed for example is alway specified in RPM.
TT2182GB
5.1.5
IO Screen
Active level can be chosen to high or low on inputs Dedicated Inputs Selection for Inputs HM, NKL and PL An external encoder can also be selected here and defined as either quadrature or pulse/direction type. Selection if it shall be Inputs or Outputs Dedicated Outputs Selection for outputs In position, In Physical Position, Error output. It can also be selected if the pulses generated shall be used internally, externally or both and which output should be used for pulse and direction signals Selection of Inputs for HM, NL and PL
Selection of output for In-Position and Errors Status of the inputs *) Status of the outputs
Input filters Here the filter for the digital inputs can be selected.
Filter time constant can be adjusted here. The same value is used for all inputs if filter inputs are enabled.
TT2183GB
*) The analogue value of certain inputs can be read. Click at the input lamp and the analogue value will be shown. The upper value is the actual value and the lower value the filtered value.
56
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
5.1
5.1.6
These registers can be used with FastMac commands. For example, the motor can run to position P2 using velocity V2, acceleration/deceleration A2, running current T2, using only a one byte command. These values are not updated automatically. To update, place the cursor at the specific register value to the left of the box for new values, and click. Otherwise they only update at motor reset or power up.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
57
5.1
5.1.7
TT2184GB
5.1.8
Test Screen
This screen is used for adjusting the Zero search sensor to the correct position when using the index pulse of an encoder. The index pulse should be in the green area. If not, the sensor has to be adjusted.
58
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
5.1
5.1.9
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
59
60
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
The Driver automatically switches between the two currents by detecting the presence of step-pulses. If a rising edge is detected at the step-clock, the "Move current" is selected. If no rising edge is detected during the period specified by Standby time at the stepclock input, the current is automatically switched back to "Standby current". Values for the two currents are typically adjusted so that the Operating Current is significantly higher than the Standby Current, since the motor must be supplied with more power to drive its load during acceleration and constant operation than when it is stationary. Note that the maximum Standby Current normally will be set to 50% or lower of the maximum current for the actual driver type. The only overriding consideration that must be made in the adjustment of motor phase currents is that the thermal output of the motor must not exceed the maximum operating temperature of the step motor.
Unit mA mA Nm
If a MIS232 motor is used and the current is set to 3000 mA, the motor will be able to deliver a torque of 1.6 Nm at low speed. If the current is set to 1000 mA, the motor will be able to deliver 0.53Nm. See Run_Current, page 83 for information about Running Current and Standby_Current, page 84 for information about Standby Current.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
61
62
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
7
Passive : Velocity :
Modes
The QuickStep motor offers the following modes of operation: The motor will be in a completely passive state but communication is active and internal registers can be set up. The motor velocity can be controlled using MacTalk software or by setting register 5 ( V_SOLL ) using serial or program commands. The motor position can be controlled using MacTalk software or by setting register 3 ( P_SOLL ) using serial or program commands. The motor position and velocity can be controlled by pulse and direction or encoder signals at IN1 and IN2. The gear ratio can be set to a large ratio using register 14 ( GEAR1 ) and register 15 ( GEAR2 ).
Position :
Gear :
Zero search type 1 and type2: Searches for sensor to define a zero position ( Reference point ).
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
63
7.1
7.1.1
Passive Mode
Passive Mode After power up, the controller will start up in passive mode. This means that it is possible to communicate and read/write to/from registers, but no current is supplied to the motor. It should thus be possible to turn the motor shaft as no voltage is connected to the motor. If there is encoder feed-back, the encoder counter will always register the correct position.
64
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
7.2
7.2.1
Velocity Mode
Velocity Mode In this mode, the QuickStep motor controls the motor velocity via the Max Velocity setting. This mode is typically used for simple tasks or for applications in which an overall unit, such as a PC-board or PLC, controls velocity and positioning.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
65
7.3
7.3.1
Positioning Mode
Positioning Mode In this mode, the QuickStep motor positions the motor via commands sent over the serial interface. Various operating parameters can be changed continuously while the motor is running. This mode of operation is used primarily in systems where the Controller is permanently connected to a PC/PLC via the interface. This mode is also well suited for setting up and testing systems. The mode is also used when programming is done.
66
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
7.4
7.4.1
Gear Mode
Gear Mode In this mode, the QuickStep motor functions as in a step motor driver. The motor moves one step each time a voltage pulse is applied to the step-pulse input. Velocity, acceleration and deceleration are determined by the external frequency, but can be limited and controlled by the QuickStep motor. In addition, the QuickStep motor also provides a facility for electronic gearing at a keyed-in ratio in the interval 1/32767 to 32767. Start velocity is not used in this mode. The digital input filter is not used in this mode at input 1 and 2.
Example: The motor has a resolution of1600 pulses/rev. and the encoder 500 pulses/rev. If one revolution of the encoder should result in one motor revolution, the Input must be set to 500 and the Output to1600. If the motor must run 5 revolutions because there is a gear with a reduction of 5:1, the output must be set to 5x1600 = 8000 instead.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
67
7.5
7.5.1
Select the Zero search mode using this field. The selected format will be used as follows : - Immediately after ther motor is powered up (only the Power up .... Formats) - If a search is initiated via the serial interface.
TT2170GB
The menu offers 3 options: Disabled (default) The Zero search is disabled. Power up: Sensor type 1 Similar to Sensor type 1 but the Zero search will automatically be started after power up. Power up: Sensor type 2 Similar to Sensor type 2 but the Zero search will automatically be started after power up. The following sections explain in detail the functionality of the 2 fundamental Zero search modes. 7.5.2 Starting a Zero search If the Zero search mode is set to Disabled, no Zero search is done at any time unless written in a program. If one of the 2 modes Power up: Sensor type 1 or Sensor type 2 is selected, the respective Zero search mode will be executed every time the MIS motor is powered up if no program is started up. If a program has been made and is running, the Zero search command must be executed within the program to execute a Zero search. The MIS motors zero search facility is very flexible. The inputs for reference and limit switches must be set up correctly before use. The active levels must also be set up correctly.
68
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
7.5
7.5.3 I/O Set Up
Important information: Each of the 8 pins can be defined as inputs or outputs. The active digital input level for each input is also defined in the above screen. Furthermore, it is possible to set up a filter for each input to avoid noise interfering with the program. The inputs for Home, Negative Limit and Positive Limit and outputs for In Position and Error are also selected here. If an external encoder is used, it must be enabled here 7.5.4 Advanced
There are several ways to perform a Zero search: - Start from both sides of the reference sensor in a system with limit switches without having position limit problems. - to go to the opposite side of the sensor and use this position as zero position. - use a position limit as reference position. In this case the zero search position must be be different from 0 or the motor enters passive mode. - ignore the reference switch input and use the actual position or index pulse as zero position before using the zero search position.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
69
7.5
7.5.5
Zero search position is an optional offset. See description in other chapter. Zero search velocity defines the velocity used during Zero search. The sign of the specified velocity Sensor status defines the zero search direction.
TT2175GB
The Zero sensor must be connected to a user input For connection information, see SMC75 User Inputs, page 22 7.5.6 Sensor type 2 Zero search Sensor type 2 zero search is carried out according to the following illustration.
Velocity Zero search position is an optional offset. See description in other chapter. Zero search velocity defines the velocity used during Zero search. The sign of the specified velocity defines the zero search direction.
Select the mechanical Zero search format in this menu. When the zero search sensor is activated, the motor decelerates and starts to move in the reverse direction with 1/64 of Zero search Velocity. When the edge of the Zero search sensor is passed the motor stops and the zero position is found.
Acceleration specified by the general acceleration parameter under the Profile data in MAC-Talk
Time
TT2187GB
The Zero sensor must be connected to a user input. For connection information, see SMC75 User Inputs, page 22.
70
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
7.5
7.5.7
Velocity
The speed and acceleration is set to the general setting in MacTalk under Profile data
Zero search in progress velocity etc. depends on the actual zero search mode. Zero search started After the basic zero search has been done, the actual position counter is set to the value specified in the Zero search position register Time Actual position counter is now zero (position 0). Zero search complete.
TT2171GB
Ensure several tests are made to ensure the white dot is located in the acceptable interval each time.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
71
7.5
TT2192GB
Actual position = 0 X
7.5.8
Sensor
Index pulse
Index pulse
If the MIS motor is equipped with an encoder, it is also possible to use the index pulse of the encoder. This gives a much more precise zero position than just running for a sensor. The accuracy of the sensor signal depends on how far the sensor is located away from the measuring item and on the velocity. The index pulse can be used with or without the sensor. This must be defined on the advanced tab. If the MIS motor is set to use the index pulse, the MIS motor always runs to the sensor first and then index pulse. The sensor must be placed at the right position. This can be done using MacTalk. Select the type of sensor movement to be used in the main tab screen. In the advanced tab, choose not to start the program automatically after reset. Then select Save in Flash. Go to the Test tab and press Start Zero Search. The motor now rotates at the zero search velocity towards the sensor, and when this has been found the motor continues to the index pulse. The circle at the Test tab indicates the location of the index pulse according to the sensor. The index pulse must be in the green area. If the index pulse is in the red area, the sensor must be moved slightly and the procedure repeated.
72
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
Error Handling
Error Handling Use these fields to define error limits for the maximum follow error etc.
TT2174GB
The MIS motor contains 5 fundamental parameters which are used for protection related purposes. They all have effect regardless of which mode of operation the motor is set to use. Follow error (Only for MIS with internal encoder) Follow error is the difference between the target position and the encoder position. The target position is the position generated. Default is 0. (Function disabled). Position limit min. and max. Same as physical limit switches but implemented in software. Default is 0 meaning that the feature is disabled. If one parameter is different from 0, both values are activated. Error acceleration If a fatal error occurs, it can be convenient to use a controlled deceleration instead of a sudden stop. If the inertia in the system is high and the mechanical parts are weak, a sudden stop can cause damage and unintended behaviour. Use this parameter to define the deceleration used during a fatal error. Default is 0, meaning that the feature is disabled. Min. bus voltage This is the level of P+ at which the motor goes into error state low bus voltage.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
73
74
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
Registers
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
75
76
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.1
All of the registers can be accessed over CANopen with the same Read/Write access restrictions as when using the RS485 interface.
Some registers are tagged as R for Read-only. There are different reasons for this, such as protecting the serial number from being changed or indicating that the value in registers, such as Analog Inputs, will never be read by the motor but always overwritten using the latest sampled values.
For example to access register 3, P_SOLL, use index 2012, subindex 3. To access register 5, V_SOLL, use index 2014, subindex 5. This is described in more detail in CANopen Introduction, page 135.
In the following sections and examples, positions, velocity and acceleration are based on a 200 step motor running with 1/8 steps. 9.1.1
Reg
1 2 3 5 6 7 8 9 10 12 13 14 15 16 18 19 20 22 24 25 26 27 28 30 32
Register Overview.
Name
PROG_VERSION Mode_Reg P_SOLL V_SOLL A_SOLL RUN_CURRENT STANDBY_TIME STANDBY_ CURRENT P_IST V_IST V_START GEAR1 GEAR2 ENCODER_POS INPUTS OUTPUTS FLWERR FLWERRMAX COMMAND STATUSBITS TEMP Reserved MIN_P_IST MAX_P_IST ACC_EMERG
Size
16bit 16bit 32bit 16bit 16bit 16bit 16bit 16bit 32bit 16bit 16bit 16bit 16bit 32bit 16bit 16bit 32bit 32bit 16bit 16bit 16bit 32bit 32bit 16bit
Access
R R/W R/W R/W R/W R/W R/W R/W R R/W R/W R/W R/W R R/W R R/W R/W R R R/W R/W R/W
Range
0,1,2,3, 13,14,15 (-231)-(231-1) -1023-1023 1-65535 0-511 1-65535 0-511 (-231)-(231-1) 0-1023 1-1023 (-2
15)-(215-1) 15 15
Default
* 0 0 250 131 511 500 128 100 1600 2000 0
Unit
Major*16+ Minor+16384 steps RPM 9.54 RPM/s2 5.87mA ms 5.87 mA Steps RPM RPM Steps Counts Steps Special Special Steps Steps Special
MacTalk name
Status bar Current Mode Position Max velocity Acceleration Running Current Standby Time Standby Current Actual Position Actual Velocity Start Velocity Output Input Encoder position Inputs Outputs Follow Error Follow Error Max N/A Run Status Temperature
(-2 )-(2 -1) (-231)-(231-1) (-2 )-(2 -1) (-2 )-(2 -1) 0-127, 256, 257 31 31 31 31
0 0 10000
Steps Steps 9.54 RPM/s2 Position Limit Min Position Limit Max Error Acceleration
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
77
Reg
33 34 35 36 37 38 40 41 42 43-48 49-64 65-72 73-76 77-80 81-88 89-96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112115 116 117 118 119 120 122 123
Name
IN_POSITION _WINDOW IN_POSITION _COUNT ERR_BITS WARN_BITS STARTMODE P_HOME V_HOME Reserved HOMEMODE Reserved Pn Vn An Tn AnalogFiltered AnalogInput BUSVOL MIN_BUSVOL ENCODER_TYPE AFZUP_WriteBits AFZUP_Read Index AFZUP Conf Min AFZUP_Conf Max AFZUP_ Max Slope AFZUP_Filter FilterStatus Reserved PulseDirMask PulseDirMode SettlingTime Reserved SAMPLE1-4 REC_CNT S_TIME S_CONTROL BUF_SIZE INDEX_OFFSET HOME_BITS Reserved
Size
16bit16bit16bit 16bit 16bit 32bit 16bit 16bit 32bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit
Access
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R R R R/W R R/W R/W R/W R/W R/W R/W R R/W R/W R/W R/W R/W R/W R/W R R R/W R/W
Range
0-65535 0-65535
Default
5 0 0 0
Unit
Steps Counts Special Special Steps RPM Steps RPM 9.54 RPM/s2 5.87 mA 4.888mV 4.888 mV 109 mV 109 mV Special Special 4.888 mV 4.888 mV 4.888 mV 64 of new sample
th
MacTalk name
Errors Warnings Startup Mode Zero Search Position Zero Search Velocity Zero Search Mode Position n (Pn) Velocity n (Vn) Acceleration n (An) Current n (Tn) N/A N/A Bus Voltage Min Bus Voltage Tooltip on motor N/A handled on the Filter Setup screen N/A handled on the Filter Setup screen Confidence Min Confidence Max Max Slope Filter (on the Filter setup screen) N/A (shown grafically)
(-231)-(231-1) -1023-1023 0,13,14 (-231)-(231-1) 0-1023 1-65535 0-511 0-1023 0-1023 0-1023 0-1023 0-10 0, 1-8, 3276832775 0-1022 1-1023 2-1023 1-64 0-65535 0-65535 0-2 0-32676 0-1599 -
Bitmask ms ms Steps Special N/A N/A N/A NA N/A TestsAdvanced-Zero Search N/A Pulse signal Direction signal Pulse/Direction mode Settling time between retries
78
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
Reg
Name
Size
Access
Range
Default
Unit
MacTalk name
Dont start program after power up. Invert motor direction. External Encoder Enable DSP 402 Support Auto encoder synchronize Inputs/Outputs Turn Table -Mode Turn Table - Size Dedicated Inputs Negative Limit Input Dedicated Inputs Positive Limit Input Dedicated inputs. Home Input
124
SETUP_BITS
16bit
R/W
Special
125 126 127 129 130 131 132 133 -134 135 136 137 138 139143 144 146 147 148 149 150 151 152 154 156 157 158 159 160 161164 165 166 167 168
IOSETUP TURNTABLE_ MODE TURNTABLE_ SIZE NL_MASK PL_MASK Reserved HOME_MASK Reserved INPUT_FILTER_ MASK INPUT_FILTER_ CNT INPOS_MASK ERROR_MASK Reserved P_NEW BAUD_RATE TX_DELAY GROUP_ID GROUP_SEQ MY_ADDR MOTORTYPE SERIALNUMBER CHECKSUM HARDWARE_ REV MAX_VOLTAGE AVAILABLE_IO BOOTLOADER_ VER NOTSAVED Reserved OPTION_BITS FBUS_NODE ID FBUS_BAUD Reserved
16bit 16bit 32bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 16bit 32bit 16bit 16bit 16bit 16bit 16bit 16bit 32bit 32bit 16bit 16bit 16bit 16bit 16bit
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R R/W R R R R R R R R/W
(-231)-(231-1) 0-5 0-255 0-255 0-255 0-254 64-xx 0-65535 0-65535 0-100 0-65535 0-65535
0 0 0 0 0 0 0 0 5 0 0 0 1 15 -
IOx digital input filter enabled Input filter time Dedicated Outputs - In Position Dedicated Outputs - Error
N/A Baud Rate Transmit Delay Group ID N/A Motor Address Status Bar Status Bar
* 0
R R/W R/W -
5 2 -
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
79
Reg
169 170 172
Name
Reserved EXT_ENCODER EXT_ENCODER_ VEL
Size
16bit 32bit 16bit
Access
R/W R
Range
(-231)-(231-1) (-215)-(215-1)
Default
-
Unit
Counts Counts 16ms
MacTalk name
External Encoder External Encoder Velocity
The following parameters are only available when the CanOpen option is installed and only used for DSP-402
Reg Name
180 181 182 183 184 186 188 190 192 194 ControlWord StatusWord ModeOfOperation ModeOfOperationDisplay TargetPosition ActualPosition TargetVelocity ActualVelocity DigitalOutputs DigitalInput
80
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.1
Reg
1
Register Descriptions
Prog_Vers
Name
PROG_VERSION
Size
16bit
Access
R
Range
-
Default
*
Unit
Major*16+ Minor+16384
MacTalk name
Status bar
Description: The firmware version. The Bit 14 is set to indicate that the type is SMC75. Bit 0-3 is the minor version and bit 4-7 is the major version. Example: 9.2.2
Reg
2
The firmware version 1.7 will have the value 0x4017 (16407) Mode_Reg
Name
Mode_Reg
Size
16bit
Access
R/W
Range
0,1,2,3,11, 13,14,15
Default
0
Unit
-
MacTalk name
Current Mode
Description:
Controls the operating mode of the motor. The following modes can be selected: 0: Passive 1: Velocity mode 2: Position mode 3: Gear mode 13: Zero search type 1 14: Zero search type 2 15: Safe mode Passive mode (0) In this mode, the motor current is turned off and the motor will not react to any position/ velocity commands. Velocity mode (1) When the motor is in velocity mode, the controller accelerates the motor to the velocity in V_SOLL. V_SOLL can be changed at any time and the move will decelerate/accelerate accordingly. It is permissible to change A_SOLL and V_START during a movement, but the changes will first take effect after the motor has stopped. Please note that if the motor needs to change direction, it will decelerate and stop, and the new A_SOLL and V_START will be activated. Position mode (2) When the motor is in position mode, the controller will always try to move until P_IST = P_SOLL. The movement will follow the profile specified by V_SOLL, A_SOLL and V_START. P_SOLL can be changed at any time and the motor will move accordingly. V_SOLL can also be changed during a movement. It is permissible to change A_SOLL and V_START during a movement, but the changes will first take effect after the motor has stopped. Please note that if the motor needs to change direction, it will decelerate and stop, and the new A_SOLL and V_START will be active.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
81
9.2
Register Descriptions
Gear mode (3) The GEAR mode works as position mode, but has an additional feature. The input on the external encoder is multiplied with GEAR1/GEAR2 and added to P_SOLL. Any remainder of the result is saved and used next time the external encoder changes. The result is that this mode can be used as an electronic gear. When using gear mode, it is not recommend to set V_START below 10 rpm. This can gives problems at low speeds, because the motor will lag behind when doing the first step. It will then accelerate in order to catch up. NOTE: Time from the first input pulse to the first step is typically 30-60s if not on standby. 72-102s if on standby. Zero search type 1 (13) When the operation mode is set to 13, the controller will start the search for the zero point. See Sensor type 1 Zero search, page 70 for details. Zero search type 2 (14) When the operation mode is set to 15, the controller will start the search for the zero point. See Sensor type 2 Zero search, page 70 for details. Safe mode (15) This mode is similar to passive mode, but also allows the save in flash and reset commands. Safe mode cannot be entered/exited directly; this must be done using the serial commands ENTER/EXIT SAFEMODE. Example: Writing MODE_REG=2 will set the motor in position mode. When P_SOLL is changed, the motor will move to this position with the specified max velocity (V_SOLL) and acceleration (A_SOLL). Writing MODE_REG=13 will start a zero search for a sensor. When the search is completed, the MODE_REG will automatically be changed to the mode specified in START_MODE.
9.2.3
Reg
3
P_Soll
Name
P_SOLL
Size
32bit
Access
R/W
Range
(-231)-(231-1)
Default
0
Unit
Steps
MacTalk name
Position
Description: The desired position. When in position mode, the motor will move to this position. This value can be changed at any time. The maximum possible position difference is 231-1. If relative movement is used, the P_SOLL will just wrap at 231-1 and the motor will move correctly. Please note that the turntable function changes the behaviour of P_SOLL. See Turntable_Mode, page 97. Example: If P_SOLL = -800 and then P_SOLL is set to 800, the motor moves one revolution forward. If P_IST = 231-100 (2147483548) and P_SOLL is set to -231+100 (2147483548), the motor will move 200 steps in the positive direction.
82
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.4
Reg
5
Register Descriptions
V_Soll
Name
V_SOLL
Size
16bit
Access
R/W
Range
-1023-1023
Default
250
Unit
RPM
MacTalk name
Max velocity
Description: The maximum velocity allowed. When in velocity mode, the motor will run constantly at this velocity. Specify a negative velocity to invert the direction. This value can be changed at any time. Example: 9.2.5
Reg
6
Name
A_SOLL
Size
16bit
Access
R/W
Range
1-65535
Default
131
Unit
9.54 RPM/s2
MacTalk name
Acceleration
Description: The acceleration/deceleration ramp to use. If this value is changed during at movement, it will first be active when the motor stops or changes direction. Example: 9.2.6
Reg
7
Name
RUN_CURRENT
Size
16bit
Access
R/W
Range
0-511
Default
511
Unit
5.87mA
MacTalk name
Running Current
Description: This register sets the running current for the motor. 511 is the maximum possible current, corresponding to 3A RMS. The running current is active when the motor is running and after it stops until the specified standby time has elapsed. See Standby_Time, page 83. When the RUN_CURRENT is changed, the new motor current will be set instantly. Example: 9.2.7
Reg
8
RUN_CURRENT = 100, will set the running current to 0.59A RMS. Standby_Time
Name
STANDBY_TIME
Size
16bit
Access
R/W
Range
1-65535
Default
500
Unit
ms
MacTalk name
Standby Time
Description: This register sets the standby time. This time is the time from the last step has been performed until the current changes from running to standby. When a new request for a move is received the current changes from standby to running with no delay. Example: STANDBY_TIME = 200, will result in the controller switching to the standby current after 200ms.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
83
9.2
9.2.8
Reg
9
Register Descriptions
Standby_Current
Name
STANDBY_ CURRENT
Size
16bit
Access
R/W
Range
0-511
Default
128
Unit
5.87 mA
MacTalk name
Standby Current
Description: This register set the standby current for the motor. 511 is the maximum possible value, corresponding to 3A RMS. The standby current is active when the motor has stopped and the specified Standby time has elapsed. See Standby_Time, page 83. When the STANDBY_CURRENT is changed, the new motor current will be set instantly. Example: 9.2.9
Reg
10
STANDBY_CURRENT = 50, will set the running current to 0.29A RMS. P_Ist
Name
P_IST
Size
32bit
Access
R/W
Range
(-231)-(231-1)
Default
-
Unit
Steps
MacTalk name
Actual Position
Description: This register shows the actual position of the motor. This is updated each time the motor makes a step. If P_IST is changed when in position mode or gear mode, the motor will move until P_IST = P_SOLL. When P_IST reaches 231-1, it will wrap around to -231. Please note that the turntable function changes the behaviour of P_IST. See Turntable_Mode, page 97. Example: 9.2.10
Reg
12
P_IST = 1000, P_SOLL = 1000. P_IST is set to 500. The motor will move 500 steps forward and P_IST will again be 1000. V_Ist
Size
16bit
Name
V_IST
Access
R
Range
0-1023
Default
-
Unit
RPM
MacTalk name
Actual Velocity
Description: This register shows the actual velocity of the motor. The velocity is positive when running in a positive direction and negative when running in a negative direction. Example: If V_SOLL = 400 and a movement of -10000 steps is done, V_IST will be -400 during the move and when the move is complete V_IST will be 0.
84
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.11
Reg
13
Register Descriptions
V_Start
Size
16bit
Name
V_START
Access
R/W
Range
1-1023
Default
100
Unit
RPM
MacTalk name
Start Velocity
Description: The start velocity. The motor will start the acceleration at this velocity. It will also stop the deceleration at this velocity. If |V_SOLL| is lower that V_START the motor will not accelerate at all, but start to run at V_SOLL instantly. The motor will actually start the movement with an internal V_START = V_SOLL. If V_START is changed during a movement, it will first be active when the motor stops or changes direction. This also means that if V_SOLL is changed to a value below V_START, while the motor is in motion, the motor will decelerate to V_START and run at that velocity. Example: V_START = 100, V_SOLL = 200, MODE_REG = 1. The motor will accelerate from 100 RPM to 200 RPM. V_SOLL is now changed to 50. The motor will decelerate to 100 RPM and continue at 100 RPM. V_SOLL is now changed to -50 RPM. The motor will stop and start at -50 RPM. GEAR1
Size
16bit
9.2.12
Reg
14
Name
GEAR1
Access
R/W
Range
(-2 )-(2 -1)
15 15
Default
1600
Unit
Steps
MacTalk name
Output
Description: When the gear mode is active, the input from the external encoder is multiplied by GEAR1 and divided by GEAR2. Example: GEAR1 = 1600, GEAR2 = 2000. If 2000 steps are applied to the input, the motor will turn 1 revolution. If one step is applied, the motor will not move (but the remainder will be 0.8) If another step is applied, the motor will move 1 step (and the remainder will be 0.6). If another step is applied, the motor will move 1 step (and the remainder will be 0.4) And so on. GEAR2
Size
16bit
9.2.13
Reg
15
Name
GEAR2
Access
R/W
Range
(-215)-(215-1)
Default
2000
Unit
Counts
MacTalk name
Input
Description: The denominator of the gear factor. See GEAR1 for details. 9.2.14
Reg
16
Encoder_Pos
Size
32bit
Name
ENCODER_POS
Access
R/W
Range
(-2 )-(2 -1)
31 31
Default
-
Unit
Steps
MacTalk name
Encoder position
Description: If the internal encoder option is installed, this register shows the position feedback from the encoder. This value is initialized to zero at power-up and modified by the firmware when a zero search is performed. The value can be used internally by the AutoCorrection system to retry a movement in position and gear modes.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234 85
9.2
9.2.15
Reg
18
Register Descriptions
Inputs
Size
16bit
Name
INPUTS
Access
R
Range
-
Default
-
Unit
Special
MacTalk name
Inputs
Description: This register shows the status of the digital inputs. Bit 0-7 shows whether IO 1-8 is active or inactive. The active level can be set using IOSETUP. See Iosetup, page 96. Bits 8-15 are not used and will always be 0. The inputs can be filtered or unfiltered. See Input_Filter_Mask, page 99. Note that all of the inputs have a digital state and an analog value at the same time. This register shows their digital state only. Note that the digital inputs can be filtered by setting bits in register 135 (Input_Filter_Mask, page 99).
Bit Function 7 IO8 6 IO7 5 IO6 4 IO5 3 IO4 2 IO3 1 IO2 0 IO1
9.2.16
Reg
19
Outputs
Size
16bit
Name
OUTPUTS
Access
R/W
Range
-
Default
0
Unit
Special
MacTalk name
Outputs
Description: This register shows the status of the outputs. Bit 0-7 shows whether IO 1-8 is active or inactive. The active level can be set using IOSETUP. See Iosetup, page 96. Please note that the output driver for each output also has to be enabled. This is also done using IOSETUP. The register can be changed in order to change the status of the outputs. 9.2.17
Reg
20
Flwerr
Size
32bit
Name
FLWERR
Access
R
Range
(-2 )-(2 -1)
31 31
Default
-
Unit
Steps
MacTalk name
Follow Error
Description: When the encoder option is installed, this register shows the encoder deviation from the calculated position (P_IST). 9.2.18
Reg
22
Flwerrmax
Size
32bit
Name
FLWERRMAX
Access
R/W
Range
(-2 )-(2 -1)
31 31
Default
0
Unit
Steps
MacTalk name
Follow Error Max
Description: The maximum allowed value in FLWERR before an error is triggered. If FLWERRMAX = 0, the error is disabled. See register 35 (Err_Bits, page 88) for a description of the error bit. 9.2.19
Reg
24
Command
Size
16bit
Name
COMMAND
Access
R/W
Range
0-127, 256, 257
Default
0
Unit
-
MacTalk name
N/A
Description: Used to issue commands to the motor. 0-128 are the normal FastMac commands. The values 128-255 are reserved. Command 256 will activate a new baud rate on the serial ports, and command 257 will synchronize the internal encoder position to the actual motor position.
86 JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.20
Reg
25
Register Descriptions
Statusbits
Size
16bit
Name
STATUSBITS
Access
R
Range
-
Default
-
Unit
Special
MacTalk name
Run Status
Description: Status bits: Bit 0: Reserved Bit 1: AutoCorrection Active Bit 2: In Physical Position Bit 3: At velocity Bit 4: In position Bit 5: Accelerating Bit 6: Decelerating Bit 7: Zero search done Bit 8-15: Reserved Actual run status bits for the motor. 9.2.21
Reg
26
Temp
Size
16bit
Name
TEMP
Access
R
Range
0...127
Default
-
Unit
-2.27 - uses offset
MacTalk name
Temperature
Description: Temperature measured inside the motor electronics. The approximate temperature in degrees Celsius is calculated from the value in this register using the formula: Tc = 2.27 * Value. 9.2.22
Reg
28
Min_P_Ist
Size
32bit
Name
MIN_P_IST
Access
R/W
Range
(-231)-(231-1)
Default
0
Unit
Steps
MacTalk name
Position Limit Min
Description: Position limit for movement in the negative direction. The motor can be configured to stop automatically when it reaches this position. 9.2.23
Reg
30
Max_P_Ist
Size
32bit
Name
MAX_P_IST
Access
R/W
Range
(-231)-(231-1)
Default
0
Unit
Steps
MacTalk name
Position Limit Max
Description: Position limit for movement in the positive direction. The motor can be configured to stop automatically when it reaches this position. 9.2.24
Reg
32
Acc_Emerg
Size
16bit
Name
ACC_EMERG
Access
R/W
Range
1-65535
Default
10000
Unit
9.54 RPM/s2
MacTalk name
Error Acceleration
Description: The motor will use this acceleration during an emergency stop.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
87
9.2
9.2.25
Reg
35
Register Descriptions
Err_Bits
Size
16bit
Name
ERR_BITS
Access
R/W
Range
Default
0
Unit
Special
MacTalk name
Errors
Description: Error bits: Bit 0: General error. Will always be set together with one of the other bits. Bit 1: Follow error Bit 2: Output driver error. Bit is set if one of the outputs is short circuited. Bit 3: position Limit error Bit 4: Low bus voltage error Bit 5: Over voltage error Bit 6: Temperature too high (90C) Bit 7: Internal error (Self diagnostics failed) If any of these bits are set, the motor is in a state of error, and will not move until all the errors have been cleared. Some of the errors can be cleared by writing zero to this register. Other errors will require hardware fixes or intervention, such as allowing the motor cool down or adjusting the power supply voltage. 9.2.26
Reg
36
Warn_Bits
Size
16bit
Name
WARN_BITS
Access
R/W
Range
Default
0
Unit
Special
MacTalk name
Warnings
Description: Warning bits: Bit 0: Positive limit active. This bit will be set as long as the positive limit is active. Bit 1: Negative limit active. This bit will be set as long as the negative limit is active. Bit 2: Positive limit has been active Bit 3: Negative limit has been active Bit 4: Low bus voltage Bit 5: reserved Bit 6: Temperature has been above 80C These bits provide information on both the actual state and remembered state of the end position limits, the supply voltage and the temperature. These are used for diagnostic purposes as well as handling position limit stops, also after the motor may have left the end position mechanically. 9.2.27
Reg
37
Startmode
Size
16bit
Name
STARTMODE
Access
R/W
Range
-
Default
0
Unit
-
MacTalk name
Startup Mode
Description: The motor will switch to this mode after power up. This is also the mode that is used when a zero search has been completed. See Mode_Reg, page 81 for a list of possible modes. 9.2.28
Reg
38
P_Home
Size
32bit
Name
P_HOME
Access
R/W
Range
(-2 )-(2 -1)
31 31
Default
0
Unit
Steps
MacTalk name
Zero Search Position
88
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.29
Reg
40
Register Descriptions
V_Home
Size
16bit
Name
V_HOME
Access
R/W
Range
-1023-1023
Default
-50
Unit
RPM
MacTalk name
Zero Search Velocity
Description: The velocity used during zero search. Set a negative velocity to search in the negative direction. 9.2.30
Reg
42
Homemode
Size
16bit
Name
HOMEMODE
Access
R/W
Range
0,13,14
Default
0
Unit
-
MacTalk name
Zero Search Mode
Description: Selects the zero search that should start on power up. A value of 13 will use sensor type 1, while a value of 14 will use sensor type 2. 9.2.31
Reg
46
Name
ABSWNCODER
Access
R
Range
(0-1023)
Default
0
Unit
-
MacTalk name
Abs. Encoder Position
Description: This is the absolute magnetic encoder position, this is only a singleturn value and the resolution is 10bit. That is 360 deg./1023 = 1 count = appx. 0.35 deg 9.2.32
Reg
47
Name
ABSWNCODER
Access
R
Range
(0-1023)
Default
0
Unit
-
MacTalk name
Abs. Encoder Position
Description: This is the actual encoder position data received from the external SSI encoder. This value is typically gray-coded. The firmware offers the possibility to do the Gray conversion but requires that some RxP programming is done as this feature is only available as a RxP program command. Example: An SSI encoder is chosed using 25 bit data. We want to sample and convert the SSI data value from register 47 and put the converted value into Register 61 (P2). To get the actual value from the SSI encoder we use a special command 321. The new data is placed in register 47. Now we want to convert the data from Gray-code to conventional binary format. To do this we use a Binary command instruction. The command is 0x0C (12d) From register 0x2F (47d) To register 0x3D (61d) 25bits 0x19 (25d)
Get the actual value from the SSI encoder Convert from binary
TT2268GB
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
89
9.2
9.2.33
Reg
49-64
Register Descriptions
Pn
Size
32bit
Name
Pn
Access
R/W
Range
(-2 )-(2 -1)
31 31
Default
0
Unit
Steps
MacTalk name
Position n (Pn)
Description: These eight general-purpose position registers are referred to as P1 ... P8 and can be used to make absolute or relative movements in several different ways, either from the user program or via the serial interfaces. See also the sections on FastMac commands, and the P_NEW register description (P_New, page 101). 9.2.34
Reg
65-72
Vn
Size
16bit
Name
Vn
Access
R/W
Range
0-1023
Default
250
Unit
RPM
MacTalk name
Velocity n (Vn)
Description: These eight general-purpose Velocity registers are referred to as V1...V8 and can be used to change the velocity in several different ways, either from the user program or via the serial interfaces. See also the sections on FastMac commands. 9.2.35
Reg
73-76
An
Size
16bit
Name
An
Access
R/W
Range
1-65535
Default
131
Unit
9.54 RPM/s2
MacTalk name
Acceleration n (An)
Description: These four general-purpose Acceleration registers are referred to as A1... A4 and can be used to change the acceleration in several different ways, either from the user program or via the serial interfaces. See also the sections on FastMac commands. 9.2.36
Reg
77-80
Tn
Size
16bit
Name
Tn
Access
R/W
Range
0-511
Default
511
Unit
5.87 mA
MacTalk name
Current n (Tn)
Description: These four general-purpose Torque registers are referred to as T1...T4 and can be used to change the velocity in several different ways, either from the user program or via the serial interfaces. See also the sections on FastMac commands. They select the current in the motor windings used during movement. 9.2.37
Reg
81-88
AnalogFiltered
Size
16bit
Name
AnalogFiltered
Access
R
Range
0-1023
Default
0
Unit
4.888mV
MacTalk name
N/A
Description: These eight registers hold the software-filtered analog value of each of the eight I/Os: IO-1 to IO-8. Their values are updated every ten milliseconds. See the AFZUP_xx registers 100-106 for the filter parameters. Important: Also read the section on Analog filters in this manual. To use the unfiltered values of the inputs for faster updates, but with no noise immunity, use registers 89-96 instead (AnalogIn, page 91). An input voltage of 5.00 Volts corresponds to a register value of 1023.
90
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.38
Reg
89-96
Register Descriptions
AnalogIn
Size
16bit
Name
AnalogInput
Access
R
Range
0-1023
Default
-
Unit
4.888 mV
MacTalk name
N/A
Description: These eight registers hold the unfiltered analog value of each of the eight I/Os: IO-1 to IO-8. Their values are updated approximately every 182 micro-seconds. To use the filtered values of the inputs for better noise immunity, use registers 81-88 instead (AnalogFiltered, page 90). An input voltage of 5.00 Volts corresponds to a register value of 1023. 9.2.39
Reg
97
Busvol
Size
16bit
Name
BUSVOL
Access
R
Range
0-1023
Default
-
Unit
109 mV
MacTalk name
Bus Voltage
Description: The supply voltage inside the motor is continually measured and stored in this register. This value is the basis for the warnings and errors of Low Bus Voltage and Over Voltage. 9.2.40
Reg
98
Min_Busvol
Size
16bit
Name
MIN_BUSVOL
Access
R/W
Range
0-1023
Default
15
Unit
109 mV
MacTalk name
Min Bus Voltage
Encoder_Typ
Size
16bit
Name
ENCODER_TYPE
Access
R
Range
0-10
Default
-
Unit
-
MacTalk name
Tooltip on motor
9.2.42
Reg
100
Afzup_WriteBits
Size
16bit
Name
AFZUP_WriteBits
Access
R/W
Range
-
Default
0
Unit
Special
MacTalk name
N/A handled on the Filter Setup screen
Description: When changing values for the analog input filter parameters, this register is used in combination with registers 102-106. First, all of the registers 102-106 must be loaded with the values to be used for one or more analog input filters. Then the lower eight bits in this register are set to select which inputs the parameters in registers 102-106 should control. The firmware will detect this and copy the parameter values from registers 102-106 to internal storage. Once this has been completed, the firmware sets bit 15 in this register to show that registers 102-106 are free to receive new values for programming the remaining inputs with other filter parameters. To use the same filtering for all analog inputs, this register can be loaded with 255 (hex FF).
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
91
9.2
9.2.43
Reg
101
Register Descriptions
Afzup_ReadIndex
Size
16bit
Name
AFZUP_Read Index
Access
R/W
Range
0, 1-8, 3276832775
Default
0
Unit
Special
MacTalk name
N/A handled on the Filter Setup screen
Description: This register makes it possible to read back the analog input filter parameters for one analog input at a time. To select a new input, write a value of 1 to 8 to this register and wait for bit 15 to be set high. When bit 15 has been set by the firmware, the registers 102106 have been loaded with the filter parameters currently used by that analog input. 9.2.44
Reg
102
Afzup_ConfMin
Size
16bit
Name
AFZUP Conf Min
Access
R/W
Range
0-1022
Default
0
Unit
4.888 mV
MacTalk name
Confidence Min
Description: The minimum confidence limits for analog inputs are set and read back using this register in combination with the read and write command registers 100 and 101. If a new raw sample value is less than the value in this register, it is simply discarded and the filtered input value in registers 81-88 will not change. A value of zero in this register will effectively disable the minimum confidence check. 9.2.45
Reg
103
Afzup_ConfMax
Size
16bit
Name
AFZUP_Conf Max
Access
R/W
Range
1-1023
Default
1023
Unit
4.888 mV
MacTalk name
Confidence Max
Description: The maximum confidence limits for analog inputs are set and read back using this register in combination with the read and write command registers 100 and 101. If a new raw sample value is larger than the value in this register, it is simply discarded and the filtered input value in registers 81-88 will not change. A value of 1023 in this register will effectively disable the maximum confidence check. 9.2.46
Reg
104
Afzup_MaxSlope
Size
16bit
Name
AFZUP_ Max Slope
Access
R/W
Range
2-1023
Default
1023
Unit
4.888 mV
MacTalk name
Max Slope
Description: The maximum slopes per sample for analog inputs are set and read back using this register in combination with the read and write command registers 100 and 101. If a new raw sample value on an analog input lies farther from the previous filtered value in registers 81-88, the new sample will be modified to lie at most MaxSlope units from the filtered value. This is used to suppress noise and limit acceleration. Note that the value is optionally filtered after being slope limited, in which case the effective slope limitation will be divided by the filter ratio. A value of 1023 will effectively disable slope limitation.
92
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.47
Reg
105
Register Descriptions
Afzup_Filter
Size
16bit
Name
AFZUP_Filter
Access
R/W
Range
1-64
Default
64
Unit
of new sample 64th
MacTalk name
Filter (on the Filter setup screen)
Description: The final filtering of new samples on the analog inputs can be selected using this register in combination with the read and write command registers 100 and 101. The final filtered value results from taking Filter/64 of the new sample plus (64-Filter)/64 of the old value and storing the result in registers 81-88. A value of 64 effectively disables this filtering, so the new sample simply replaces the old value. 9.2.48
Reg
106
FilterStatus
Size
16bit
Name
FilterStatus
Access
R
Range
0-65535
Default
0
Unit
MacTalk name
N/A (shown grafically)
Description: This register contains status bits for the analog input filters. The lowest eight bits hold confidence errors for each of the eight inputs, while the highest eight bits hold the status of their slope errors. The filter status is updated each second. The confidence error bit will be set if more than half of the samples within the last second fell outside either of the confidence limits. The slope errors will be set if more than half of the samples within the last second were slope limited. 9.2.49
Reg
107
SSI_SETUP1
Size
16bit
Name
SSI_Setup1
Access
R/W
Range
16Bit
Default
25bit, 100kHz frequency prepare time=100s
Unit
*
MacTalk name
* Number of data bits. Clock frequency, Disable interrupts when Reading SSI
Description: This register contains status bits for the analog input filters. The lowest eight bits hold Register 107, SSI_Setup1, 16 bits: The low byte selects the number of data bits in each SSI transfer. The valid range is 0 to 31, corresponding to 1 to 32 data bits. The high byte selects the maximum clock speed in units of 10 kHz. The valid range is 0 to 59, corresponding to 10 kHz to 600 kHz. Due to the nature of the firmware timing some timing jitter can occur while reading SSI data. Some encoders doesn't allow this or run with a very tight bit timing so that the firmware timing jitter causes trouble. To prevent this, interrupts during SSI reading can be disabled by setting the MSB of the high byte. In this way the timing is strictly control led. If the timing isn't critical and the motor velocity is high we recommend that the interrupts isn't disabled.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
93
9.2
9.2.50
Reg
108
Register Descriptions
PulseDirMask
Size
16bit
Name
PulseDirMask
Access
R/W
Range
0-65535
Default
0
Unit
Bitmask
MacTalk name
Pulse signal Direction signal
Description: When enabled by register 108, this register defines which of the eight digital outputs are used to transmit the pulse and direction signals. The lowest eight bits select which outputs will carry the pulse signal, while the highest eight bits select the outputs that carry the direction signal. More than one output can be selected for each type of signal, but the MacTalk program supports only one output for each signal. The outputs selected here must be manually configured to operate as outputs using register 125 (Iosetup, page 96). 9.2.51
Reg
109
PulseDirMod
Size
16bit
Name
PulseDirMode
Access
R/W
Range
0-2
Default
0
Unit
-
MacTalk name
Pulse/Direction mode
Description: The pulse and direction signals used to control the motor directly attached to the SMC75 board can also be optionally output to digital outputs and used to control other stepper motors. The value in this register selects one of three operating modes: Mode 0 in which the pulse/direction signals are used only internally to control the motor attached directly to the SMC75 board. Mode 1 in which the signals are not used internally but output to the digital outputs selected in register 109. Mode 2 where the signals are used both internally and sent out on the digital outputs. See register 109 (PulseDirMod, page 94) for more information. 9.2.52
Reg
110
SettlingTime
Size
16bit
Name
SettlingTime
Access
R/W
Range
0-32676
Default
0
Unit
ms
MacTalk name
Settling time between retries
Description: When the internal encoder option is installed and register 34, InPositionCount, is nonzero so AutoCorrection is enabled, the value in this register defines how many milliseconds to wait after each movement attempt before testing whether the encoder position is within the target window as defined in register 33. This waiting time is often necessary to allow mechanical oscillations to die out. 9.2.53
Reg
111
SSI_SETUP2
Size
16bit
Name
SSI_Setup2
Access
R/W
Range
16 bit
Default
25bit, 100kHz frequency prepare time=100s
Unit
-
MacTalk name
Prepare time (Clk to Data)
Description: Register 111, SSI_Setup2, 16 bits: The low byte selects the prepare time in micro sec onds at the start of an SSI transfer, corresponding to t1 in the figure. The valid range is 0..255 corresponding to 1..256 microseconds.
94
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.54
Reg
112115
Register Descriptions
Sample 1-4
Size
16bit
Name
SAMPLE1-4
Access
R/W
Range
-
Default
0
Unit
-
MacTalk name
N/A
Description: Up to four registers can be set up to be sampled into buffers for diagnostic purposes. These registers define which registers are sampled. All of the registers 1-255 can be sampled. A value of zero in any of these four registers will cause the corresponding sample buffer to contain zeroes. See registers 116-119 for more information on the sampling system. Most users will use MacTalk to handle sampling. 9.2.55
Reg
116
Rec_Cnt
Size
16bit
Name
REC_CNT
Access
R/W
Range
-
Default
0
Unit
-
MacTalk name
N/A
Description: This value specifies the number of samples to take for each of the sampled registers selected in registers 112-115. This value must never be set larger than the value in the read-only register 119. Sampling will stop automatically after the specified number of samples has been taken. 9.2.56
Reg
117
S_Time
Size
16bit
Name
S_TIME
Access
R/W
Range
-
Default
1
Unit
-
MacTalk name
N/A
Description: This value selects the time in milliseconds between samples of the registers selected in registers 112-115. 9.2.57
Reg
118
S_Control
Size
16bit
Name
S_CONTROL
Access
R/W
Range
-
Default
0
Unit
-
MacTalk name
NA
Description: This value controls the sample system. It can assume three different values: A value of zero is set by the firmware after all sampling has completed. A value of one will initialize the sample system. A value of two will start a new sample sequence and set this register to zero at completion. The sampled values are read back using the command hex 53 SMC75_READSAMPLE. 9.2.58
Reg
119
Buf_Size
Size
16bit
Name
BUF_SIZE
Access
R
Range
-
Default
-
Unit
-
MacTalk name
N/A
Description: This read-only register contains the maximum length of the sample buffers used to sample the registers selected in registers 112-115. Register 116 should never be set to a value higher than the value in this register.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
95
9.2
9.2.59
Reg
120
Register Descriptions
Index_Offset
Size
16bit
Name
INDEX_OFFSET
Access
R
Range
0-1599
Default
-
Unit
Steps
MacTalk name
Tests-
Description: This register can be selected to receive the absolute value of the internal encoder where the Zero search/home position was found during homing. This is selected by bit 0, Use Index, in register 122. It requires that the internal encoder option is installed. 9.2.60
Reg
122
Home_Bits
Size
16bit
Name
HOME_BITS
Access
R/W
Range
-
Default
0
Unit
Special
MacTalk name
Advanced-Zero Search
Description: Bit 0: Search for index Bit 1: Change direction on limit. Bit 2: Search for opposite side of sensor Bit 3: Use Limit switch as sensor Bit 4: Ignore switch (Used for searching only for index) Contains configuration bits, that define how Zero search/homing should be carried out. 9.2.61
Reg
Setup_Bits
Size Access Range Default Unit MacTalk name
Dont start program after power up. Invert motor direction. External Encoder Enable DSP 402 Support Auto encoder synchronize
Name
124
SETUP_BITS
16bit
R/W
Special
Description: Bit 0: Invert direction. Bit 1: Dont start program after power up. Bit 3,2: Select encoder input type. 0 = Disabled, 1 = Quadrature, 2 = Pulse/direction Bit 4: Enable DSP 402 support Bit 5: Synchronize to encoder after passive These individual bits are used to control various functions in the firmware. 9.2.62
Reg
125
Iosetup
Size
16bit
Name
IOSETUP
Access
R/W
Range
-
Default
0
Unit
Special
MacTalk name
Inputs/Outputs
Description: This register controls the eight IOs: IO-1 to OI-8. These pins can be used either in input mode as combined digital and analog inputs or used in output mode as digital outputs. The lowest eight bits in this register can be used to individually invert the active level of the digital inputs. The highest eight bits are used to select the corresponding pin as an output.
96
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.63
Reg
126
Register Descriptions
Turntable_Mode
Size
16bit
Name
TURNTABLE_ MODE
Access
R/W
Range
-
Default
0
Unit
Special
MacTalk name
Turn Table -Mode
Description: In turntable mode, the motor controls the revolution of a turntable that has the number of positions specified in register 127, TurntableSize. This means the same position will be reached after rotating this number of steps in either direction. This register selects one of three modes that define how the motor should move to a new position when the P_SOLL register is changed. If the value of this register is zero, the motor will not operate in turntable mode. In mode 1, the motor will always move to a new position by turning in a positive direction. So to move one step backwards, it must instead move TurntableSize-1 steps forward. In mode 2, the motor will always move to a new position by turning in a negative direction. In mode 3, the motor will move in the direction that takes the smallest number of steps to reach the new position. Note that the motor will not move at all if the new position in register P_SOLL is either negative or larger than the value of register 127, TurntableSize. 9.2.64
Reg
127
Turntable_Size
Size
32bit
Name
TURNTABLE_ SIZE
Access
R/W
Range
-
Default
0
Unit
Steps
MacTalk name
Turn Table - Size
Description: If turntable mode is selected in register 126, the number of steps needed for a full revolution of the turntable is set in this register. Note that the register P_SOLL must always have a value between zero and the value in this register minus one. Negative values are not allowed for P_SOLL or TurntableSize. 9.2.65
Reg
129
NL_Mask
Size
16bit
Name
NL_MASK
Access
R/W
Range
-
Default
0
Unit
IO Mask
MacTalk name
Dedicated Inputs Negative Limit Input
Description: Selects which one of the eight IO pins to use for the dedicated function of Negative Position Limit. Exactly one bit must be set, and the IO pin must be configured in register 125 as an input. If input 7 is to be used for the Negative Input Limit, write 26 = 64 to this Example: register.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
97
9.2
9.2.66
Reg
130
Register Descriptions
PL_Mask
Size
16bit
Name
PL_MASK
Access
R/W
Range
-
Default
0
Unit
IO Mask
MacTalk name
Dedicated Inputs Positive Limit Input
Description: Selects which one of the eight IO pins to use for the dedicated function of Positive Position Limit. Exactly one bit must be set, and the IO pin must be configured in register 125 as an input. Example: If input 8 is to be used for the Positive Input Limit, write 27 = 128 to this register. 9.2.67
Reg
132
Home_Mask
Size
16bit
Name
HOME_MASK
Access
R/W
Range
-
Default
0
Unit
IO Mask
MacTalk name
Dedicated inputs. Home Input
Description: Selects which one of the eight IO pins to use for the dedicated function of Home Input. Exactly one bit must be set, and the IO pin must be configured in register 125 as an input. If input 2 is to be used for the Home Input, write 21 = 2 to this register. Example: 9.2.68
Reg
133
CAN_Setup1
Size
16bit
Name
CAN_Setup1
Access
R/W
Range
16bit
Default
35
Unit
-
MacTalk name
32-bit Register
Description: Register 133 holds the user selectable 32-bit register number that is transferred in PDO22 or PDO4 (Beckhoff). Please observe that this is not working with DSP402. Example: Register133=10 will transfer register 10 (P_IST actual position, 32bit value) in PDO22 or PDO4. 9.2.69
Reg
134
CAN_Setup2
Size
16bit
Name
CAN_Setup2
Access
R/W
Range
16bit
Default
170
Unit
-
MacTalk name
16-bit Register
Description: Register 134 holds the user selectable 16-bit register number that is transferred in PDO22 or PDO4 (Beckhoff). Please observe that this is not working with DSP402. Example: Register133=5 will transfer register 5 (V_IST actual velocity, 16bit value) in PDO22 or PDO4.
98
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.70
Reg
135
Register Descriptions
Input_Filter_Mask
Size
16bit
Name
INPUT_FILTER_ MASK
Access
R/W
Range
-
Default
0
Unit
IO Mask
MacTalk name
IOx digital input filter enabled
Description: This register controls filtering of each of the eight IO pins that are used as digital inputs. If the bit corresponding to the input number is set in this register, the input value will be filtered to a new logical level is only accepted after that level has been measured on the hardware pin for the number of milliseconds specified in register 136. If the bit is not set, the input will be updated directly from the hardware value every 100 microseconds. Please read the section on Digital Input filters in this manual. 9.2.71
Reg
136
Input_Filter_Cnt
Size
16bit
Name
INPUT_FILTER_ CNT
Access
R/W
Range
-
Default
5
Unit
ms
MacTalk name
Input filter time
Description: The filtering of all of the eight digital inputs is controlled by the value in this register together with register 135. The input must be sampled at the same value for the specified number of milliseconds in this register to be accepted as the new filtered value. See also the section on Digital Input Filters in this manual. 9.2.72
Reg
137
Inpos_Mask
Size
16bit
Name
INPOS_MASK
Access
R/W
Range
-
Default
0
Unit
IO MASK
MacTalk name
Dedicated Outputs - In Position
Description: Selects which one of the eight IO pins to use for the dedicated function of In Position Output. Exactly one bit must be set, and the IO pin must be configured in register 125 as an output. The In Position output will then be set after a movement has completed. If output 1 is to be used for the In Position Output, write 20 = 1 to this register. Example: 9.2.73
Reg
138
Error_Mask
Size
16bit
Name
ERROR_MASK
Access
R/W
Range
-
Default
0
Unit
IO Mask
MacTalk name
Dedicated Outputs - Error
Description: Selects which one of the eight IO pins to use for the dedicated function of Error Output. Exactly one bit must be set, and the IO pin must be configured in register 125 as an output. The Error Output will set be set when any error is set. See register 35 (Err_Bits, page 88) for more information on errors. If output 3 is to be used for the Error Output, write 22 = 4 to this register. Example:
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
99
9.2
9.2.74
Reg
139
Register Descriptions
Acceptance voltage
Size
16bit
Name
AcceptanceVoltage
Access
R/W
Range
16bit
Default
18
Unit
Counts
MacTalk name
Acceptance Voltage
Description: Acceptance Voltage, selects the voltage threshold that defines when the power supply is ready to use for erasing the used flash memory sector after power up. The scaling/unit is as follows (1023 = 111.4V) this is ofcause a theoretical value and will greatly depends on which input that is used (setup using register 142). Due to the HW variation on inputs, different threshold values must be used. The following table will indicate which values to be used in combination with which input that is used. For IO1-IO8 (Filtered or Nonfiltered) an analog voltage of 0-5V is sampled. Anything above this will result in a 5V reading. IO1-IO8 5V = 1023 Counts For Bus voltage and the CVI -selection the scaling is as follows: 1023 = 111.2V (in theory) so 48V = 441.6 (appx. due to component tolerances etc.) Please observe that CVI measurements are only available from HW. Rev. 1.7 and up. The HW rev. can be observed in the tooltip over the motor displayed in MacTalk. 9.2.75
Reg
140
Acceptance count
Size
16bit
Name
AcceptanceCount
Access
R/W
Range
16bit
Default
10000
Unit
-
MacTalk name
Acceptance Count
Description: Acceptance Count, selects the number of times the Acceptance Voltage must be measured after power up before the flash erase operation is started. When using values 1-8 or 12 for register 142, the count is in units of ~245 microseconds. When using values 81-88, the count is in units of 10 milliseconds. The flash memory sector holding the absolute position information is erased at startup to save critical time when the absolute information is about to be saved to flash memory again. This register selects when to consider the startup as completed and supply voltage as stable.
100
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.76
Reg
141
Register Descriptions
Save threshold voltage
Size
16bit
Name
SaveThresholdVoltage
Access
R/W
Range
16bit
Default
-
Unit
-
MacTalk name
Save Threshold Voltage
Description: When voltage drops below the selected value the absolute position information (and other information) is instantly saved to flash memory . Save Threshold Voltage, selects the voltage threshold, that will trigger the flash save operation (and stop all other motor operation). When register 142 has the value 12, the scaling/unit of register 141 is the same as register 97, BusVoltage (1023 = 111.4V). The register 142 has the values of 1-8 or 81-88, the scaling/unit of register 141 is the same as registers 81-96 (1023 = 5.0V) The scaling of this value follows the one of the Acceptance Voltage, register 139. 9.2.77
Reg
142
Name
AnalogInputSelection
Access
R/W
Range
16bit
Default
0
Unit
-
MacTalk name
Analog Input Selection
Description: Analog input selection, selects which analogue input to use for measuring the power supply. It can be: 1 to 8 for analogue inputs IO1 to IO8, using the unfiltered values for fast response. 81 to 88 for analogue inputs IO1 to IO8, using the filtered values for noise immunity. 12 for the bus voltage used for motor supply and finally 13 for CVI measurement(from HW rev. 1.7 and up). Any other value will disable the flash backup system. When running the motor from 30 Volts or less, it can be convenient to connect the bus voltage with the control voltage (CV) supply, and use the value 12 in register 142 to monitor the control voltage. When running the motor from 48 Volts, this is not allowed and can damage the controller board if voltage exceeds 30V 9.2.78
Reg
144
P_New
Size
32bit
Name
P_NEW
Access
R/W
Range
(-231)-(231-1)
Default
0
Unit
Counts
MacTalk name
N/A
Description: This register can be used to change both of the registers P_SOLL and P_IST in one operation. This can be used to correct or offset the current position without performing a movement. The register value can be copied to P_IST and P_SOLL using FastMac command 23, or it can be added with sign to both of these registers using FastMac command 24.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
101
9.2
9.2.79
Reg
146
Register Descriptions
Baud_Rate
Size
16bit
Name
BAUD_RATE
Access
R/W
Range
0-5
Default
1
Unit
-
MacTalk name
Baud Rate
Description: The baud rate on the serial port. 0 : 9600 baud 1 : 19200 baud (default) 2 : 38400 baud 3 : 57600 baud 4 : 115200 baud 5 : 230400 baud 6 : 460800 baud 7 : 921600 baud The firmware will automatically update the baud rate after this value is changed over the serial interface (RS485) once the motor has finished transmitting all data bytes that are queued. 9.2.80
Reg
147
Tx_Delay
Size
16bit
Name
TX_DELAY
Access
R/W
Range
1-255
Default
15
Unit
Bits
MacTalk name
Transmit Delay
Description: The time to wait before the response is transmitted. The unit corresponds to the time of one bit at the current baud rate. Many PLCs and communications processors require a minimum delay after they have sent a command to the motor before they are able to receive the response. 9.2.81
Reg
148
Group_Id
Size
16bit
Name
GROUP_ID
Access
R/W
Range
0-255
Default
-
Unit
-
MacTalk name
Group Id
Description: The group ID of the motor. The motor will accept data from a group write command only if the group ID number in the command matches this number. The idea is that several motors can have the same group ID so they can be updated with new register values in parallel to save transmission time. 9.2.82
Reg
149
Group_Seq
Size
16bit
Name
GROUP_SEQ
Access
R
Range
0-255
Default
-
Unit
-
MacTalk name
N/A
My_Addr
Size
16bit
Name
MY_ADDR
Access
R/W
Range
0-254
Default
Unit
-
MacTalk name
Motor Address
Description: The motor address. Data communicated over the serial interface will only be accepted if the address byte in the command is either equal to this value or has the value 255, which means broadcast to all motors.
102 JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.84
Reg
151
Register Descriptions
Motortype
Size
16bit
Name
MOTORTYPE
Access
R
Range
64-xx
Default
Unit
-
MacTalk name
Status Bar
Description: The motor type. 64: SMC75 65: MIS231 66: MIS232 67: MIS234 This value is read-only and is programmed into the motor during manufacturing. 9.2.85
Reg
152
Serial_Number
Size
32bit
Name
SERIALNUMBER
Access
R
Range
-
Default
-
Unit
-
MacTalk name
Status Bar
Description: The serial number of the motor. This value is read-only and is programmed into the motor during manufacturing. 9.2.86
Reg
154
Checksum
Size
32bit
Name
CHECKSUM
Access
R
Range
0-65535
Default
-
Unit
MacTalk name
Description: Firmware checksum. This value is read-only and is programmed into the motor during firmware update. 9.2.87
Reg
156
Hardware_Rev
Size
16bit
Name
HARDWARE_REV
Access
R
Range
0-65535
Default
-
Unit
Major*16+ Minor +16384
MacTalk name
Tooltip on Motor
Description: The revision of the hardware. This value is read-only and is programmed into the motor during manufacturing. 9.2.88
Reg
157
Max_Voltage
Size
16bit
Name
MAX_VOLTAGE
Access
R
Range
0-100
Default
*
Unit
Volt
MacTalk name
Tooltip on Motor
Description: The maximum allowed voltage on the bus. If the bus voltage exceeds this value, the motor will enter an error state. This value is read-only and is programmed into the motor during manufacturing. It reflects the rating of the hardware components. Supplying a higher voltage can damage the electronics components permanently. If in doubt, it is strongly recommended to first supply 24 Volts and connect the motor to MacTalk. In MacTalk this value can be read by holding the mouse cursor over the image of the motor in the lower right of the main window.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
103
9.2
9.2.89
Reg
158
Register Descriptions
Available_IO
Size
16bit
Name
AVAILABLE_IO
Access
R
Range
-
Default
-
Unit
IO MASK
MacTalk name
N/A
Description: Defines what IO that are available on the connector. This value is read-only and is programmed into the motor during manufacturing. Service personnel may ask for this value to identify the type of connector board mounted on the motor. The values are not documented here. 9.2.90
Reg
159
Bootloader_Ver
Size
16bit
Name
BOOTLOADER_ VER
Access
R
Range
0-65535
Default
-
Unit
Major*16+ Minor +16384
MacTalk name
Tooltip on Motor
Description: The version of the boot-loader. This value is read-only and is programmed into the motor during manufacturing 9.2.91
Reg
160
Notsaved
Size
16bit
Name
NOTSAVED
Access
R/W
Range
0-65535
Default
0
Unit
-
MacTalk name
N/A
Description: This register is not used internally, but will always be 0 after power on. Please note that MacTalk uses this register 9.2.92
Reg
165
Option_Bits
Size
16bit
Name
OPTION_BITS
Access
R
Range
0-65535
Default
-
Unit
-
MacTalk name
Tooltip on motor
Description: This register contains information about what options are available. Bit 0-7 defines the options available in the hardware (or licensed). Bit 8-15 defines the options available in the firmware. Bit 0,8 : CanOpen fieldbus Bit 1,9 : DeviceNet fieldbus 9.2.93
Reg
166
Fbus_Node Id
Size
16bit
Name
FBUS_NODE ID
Access
R/W
Range
0-255
Default
5
Unit
-
MacTalk name
Fieldbus - Node ID
104
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
9.2
9.2.94
Reg
167
Register Descriptions
Fbus_Baud
Size
16bit
Name
FBUS_BAUD
Access
R/W
Range
0-8
Default
2
Unit
-
MacTalk name
Fildbus - Baud Rate
Description: The baudrate used on the fieldbus interface. 0 : 1000 kbit/s 1 : 800 kbit/s (unsupported) 2 : 500 kbit/s 3 : 250 kbit/s 4 : 125 kbit/s 5 : 100 kbit/s 6 : 50 kbit/s 7 : 20 kbit/s 8 : 10 kbit/s 9.2.95
Reg
170
Ext_Encoder
Size
32bit
Name
EXT_ENCODER
Access
R/W
Range
(-231)-(231-1)
Default
-
Unit
Counts
MacTalk name
External Encoder
Description: This register counts the encoder input on IN1+IN2. The type of input is selected using SETUP_BITS bit 2+3. 9.2.96
Reg
172
Ext_Encoder_Vel
Size
16bit
Name
EXT_ENCODER _VEL
Access
R
Range
(-215)-(215-1)
Default
-
Unit
Counts 16ms
MacTalk name
External Encoder Velocity
Description: This register is updated with the velocity of the external encoder input. The velocity is measured every 16ms.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
105
106
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10
Programming
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
107
10.1
TT2188GB
After making one of these 2 choices, the program window will be opened.
108
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.2
Programming menu Main menu for creating a new program, Verifying program size and other basic details for the SMC75 Controller..
Transfer & Start Will transfer the complete program and start it. Use Stop or Pause to stop it.
Program lines Each Botton represent a program line. By pushing the botton a command can be entered at the program line.
Pause Use this botton if the program must be paused. By paused means that actual program line executed is temporary paused. When paused the single step feature can be used to debug the program.
TT2189GB
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
109
10.3
g g
Programming menu
The menu found at the top of the main window gives access to the following options:
Described elsewhere in this chapter Upload the program from the module to MacTalk
Program + Source Shows the memory usage if the program (compiled)+source program and remarks is downloaded into the module. Program + Source - REM Same as above but without remarks. Program only Same as above but without source program and remarks. Checksum Shows the checksum of the complete program downloaded into the module. The checksum is unique and can be used to verify whether the program in the module matches the original program or not. Lines The number of program lines used in the source program (MacTalk) Mode Specify the program type actually used.
Skip initialization (advanced) Bypasses internal initialization routines after powerup. (Only for very special use). Program + Source + Remarks Default. Choosing this will transfer everything down into the module memory. This can be an advantage if remarks and source program must be uploaded to MacTalk later. Program + Source Same as above but without remarks. Program only Only the compiled program is transfered.
TT2173GB
110
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.4
1
Press the first button to create the first program line. The Select command box will pop up.
2
Choose the desired command. In this example it is desired to wait for an input to be activated before further program execution.
3
Choose to wait until input 5 is high and press OK
4
The command is inserted at the previous selected program line
TT0983GB
Continued
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
111
10.4
5
6
Choose the movement type needed. Relative: Move x counts forward with reference to the actual position. Absolute: Move to the x position with reference to the zero search position.
7
The relative move command just entered is converted into a program line.
8
Multiple program lines are entered by the user forming the last part of the program.
9
Now the program is finished. Press the Transfer & Start button. Now the program will be transfered and stored permanently in the module. The program will be executed immidiately
TT0984GB
Continued
112
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.4
10
Now the program is running continuously. The actual program line which is executed is shown by the small red arrow.
11
By choosing the Pause button, the program is paused. After it is paused, it is possible to single step through each program line which can be a useful feature to debug the program since the action in each line can be closely observed.
12
When the program is finished, it can be saved on the harddisc or floppy disc. Please be aware that when saving the program it is the complete program including the overall setup of the motor such as servofilter, I/O setup etc. Everything is stored in a file with the extension .MAC. Later it can be opened and restored in the motor.
TT0985GB
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
113
10.5
114
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.6
Use: Conditional jump from one program line to another. Input dependent
Use: Inserts a delay in the program specified in milliseconds. Use: Write a value to almost any register in the basic MAC/MIS motor. Use: Wait until a certain register in the basic MAC/MISmotor reaches a certain value. Use: Initiates a zero search to a sensor Use: Send a FastMac commandto the motor. FastMac commands can be used to send complex instructions very quickly.
TT2222GB
Use: Wait for a certain state at one or multiple digital inputs. Use: Conditional jump from one program line to another. Register dependent Use: Save the actual motor position to an intermediate register. Use: Preset the position counter to a certain value.
Use: Performs a calculation using constants and register values, and stores the result in a motor register
Use: Conditional Jump according to a comparison between the values of two registers
Use: Sends a command in binary format, that enables various non-standard operations
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
115
Icon: Dialog:
Function:
Inserts a remark/comment in the source code. The program line will not do anything, but can make the source code easier to read. This can be very important if other programmers have to review or work on the code, or if the program is only worked on infrequently.
Set operation mode
10.7.2
Icon: Dialog:
Function:
Sets the operating mode of the motor. When the program encounters a program line with this command, the motors operating mode will be set to the specified mode. This allows you to use different operating modes in different parts of the program. For a detailed description of the individual operating modes, refer to section 1.3.1., Basic modes/functions in the QuickStep motor, page 10.
Move operations
10.7.3
Icon: Function: The Move command is very flexible, with five different operating modes. Each mode is described in its own section below.
116
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.4
Icon: Dialog:
Function:
Performs a movement relative to the current position. The distance moved is measured in encoder counts, and can either be entered directly or taken from three registers in the user memory area. For further information on using these memory registers, refer to the sections on the Save position and Set position commands. Note that if you specify a velocity, motor register no. 5 (V_SOLL) will be overwritten with this velocity value. Also, if you specify an acceleration, motor register no. 6 (A_SOLL) will be overwritten with the acceleration value specified. Register no. 49 (P1) is always overwritten by this command. If the Wait for in position option is checked, the program will wait until the motor has finished the movement, before proceeding to the next program line. If this option is not checked, the program will start the movement, then immediately start executing the next command. The motor will finish the movement on its own, unless given other instructions by the program.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
117
10.7
10.7.5
Icon: Dialog:
Function:
Performs a relative movement, and changes velocity at a specified distance before reaching the new position. The distances are measured in encoder counts and can either be entered directly, or taken from three memory registers in the RxP module. For further information on using these memory registers, refer to the sections on the Save position and Set position commands. Note that motor register no. 5 (V_SOLL) will always be overwritten with the value specified in the New velocity field. Also, if you specify an acceleration, motor register no. 6 (A_SOLL) will be overwritten with the acceleration value specified. Register no. 49 (P1) is always overwritten by this command. This command always waits until the movement is finished, before proceeding to the next line in the program.
118
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.6
Icon: Dialog:
Function: Performs a movement relative to the current position, and sets one or more outputs when the operation is completed. The distance moved is given in encoder counts and can either be entered directly, or can be taken from one of three memory registers in the user memory area. For further information on using these memory registers, refer to the sections on the Save position and Set position commands. Note that if you specify a velocity, motor register no. 5 (V_SOLL) will be overwritten with this velocity value. Also, if you specify an acceleration, motor register no. 6 (A_SOLL) will be overwritten with the acceleration value specified. Register no. 49 (P1) is always overwritten by this command. This command always waits until the movement is finished, before proceeding to the next line in the program.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
119
10.7
10.7.7
Icon: Dialog:
Function:
Moves to an absolute, non-relative position. The position is given in encoder counts and can either be entered directly, or can be taken from one of three memory registers in the user memory area. For further information on using these memory registers, refer to the sections on the Save position and Set position commands. Note that if you specify a velocity, motor register no. 5 (V_SOLL) will be overwritten with this velocity value. Also, if you specify an acceleration, motor register no. 6 (A_SOLL) will be overwritten with the acceleration value specified. If the Wait for in position option is checked, the program will wait until the motor has finished the movement before proceeding to the next program line. If this option is not checked, the program will start the movement, then immediately start executing the next command. The motor will finish the movement on its own, unless given other instructions by the program.
120
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.8
Icon: Dialog:
Function:
Performs a movement in the direction specified until an input condition is satisfied. The motor then moves the distance specified before stopping. The motor will not move farther than the Safety distance specified, regardless of whether the input condition is satisfied. The distances are measured in encoder counts and can either be entered directly, or taken from three memory registers in the user memory area. For further information on using these memory registers, refer to the sections on the Save position and Set position commands. Note that if you specify a velocity, motor register no. 5 (V_SOLL) will be overwritten with this velocity value. Also, if you specify an acceleration, motor register no. 6 (A_SOLL) will be overwritten with the acceleration value specified. Register no. 49 (P1) is always overwritten by this command. This command always waits until the movement is finished before proceeding to the next line in the program.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
121
10.7
10.7.9
Icon: Dialog:
Function:
Sets one or more outputs. When setting a single output, you can set it to high, low, or you can specify the length (in milliseconds) of a pulse to send out on that output. When setting multiple outputs, you can specify whether to set each output high, low, or leave it in its current state.
122
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.10
Icon: Dialog: None. After selecting this command, the mouse cursor changes. The next program line that you click on will become the destination for the jump. Jumps to another line in the program.
Conditional jump (single input)
Function:
10.7.11
Icon: Dialog:
Function:
Tests for an input condition before either jumping to another line in the program or moving on to the next line in the program. If the condition is met, the command jumps to the specified program line. If the condition is not met, the program proceeds to execute the next line in the program. When Input type is set to Single, the command can test a single input for one of four possible conditions: the input is low, the input is high, the input has transitioned to low (Falling Edge), or the input has transitioned to high (Rising Edge). If transitions are tested for, the transition must have taken place during the last 30 microseconds. After pressing the OK button, the dialog will disappear, and the mouse cursor will change. The next program line that you click on will then become the destination of the jump command.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
123
10.7
10.7.12
Icon: Dialog:
Function:
Tests for an input condition before either jumping to another line in the program or moving on to the next line in the program. If the condition is met, the command jumps to the specified program line. If the condition is not met, the program proceeds to execute the next line in the program. When Input type is set to Multiple, multiple inputs can be tested for being either high or low. The Operand setting determines whether one or all of the inputs must meet their test criterion. If set to And, all inputs must match their test settings. If set to Or, only one input need match its test setting. Inputs that are set to Dont care are not tested. After pressing the OK button, the dialog will disappear, and the mouse cursor will change. The next program line that you click on will then become the destination of the jump command.
124
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.13
Icon: Dialog:
Function:
Causes the program to pause for a number of milliseconds before continuing. The maximum pause that can be specified is 65535 milliseconds. The minimum pause that can be specified is 0 milliseconds. Note that this command overwrites Timer 1 in the RxP modules memory.
Wait for an input combination before continuing (single input)
10.7.14
Icon: Dialog:
Function:
Waits for a specified input condition to occur. The next line in the program will not be executed until the input condition has been met. If Input type is set to Single, the command will wait for one of four things to happen on the specified input: that the input tests as high, that the input tests as low, that the input transitions from high to low (Falling Edge), or that the input transitions from low to high (Rising Edge). The input is tested with 30 microsecond intervals.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
125
10.7
10.7.15
Icon: Dialog:
Function:
Waits for a specified input condition to occur. The next line in the program will not be executed until the input condition has been met. If Input type is set to Multiple, multiple inputs can be tested for being either high or low. The Operand setting determines whether one or all of the inputs must meet their test criterion. If set to And, all inputs must match their test settings. If set to Or, only one input need match its test setting. Inputs that are set to Dont care are not tested. The inputs are tested with 30 microsecond intervals.
126
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.16
Icon: Dialog:
Function:
Sets a register in the motor to a specified value. The register is selected from a list of known, user-accessible registers. The value can either be entered as native motor units or it can be entered as generic engineering units. The dialog above provides an example: register no. 3 (P_SOLL, or Requested position, depending on your preference) can either be set to an integer number of encoder counts, or it can be set to a non-integer number of revolutions.
Jump according to a register in the MAC motor
10.7.17
Icon: Dialog:
Function:
Tests a register in the motor against a specified value before either jumping to another line in the program or moving on to the next line in the program. If the condition is met, the command jumps to the specified program line. If the condition is not met, the program proceeds to execute the next line in the program. The value can either be entered as native motor units, or it can be entered as generic engineering units. The dialog above provides an example: register no. 10 (P_IST, or Actual position, depending on your preference) must be equal to 0 revolutions if the jump is to be executed. The position that the register is tested against can be specified as an integer number of encoder counts or can be specified as a noninteger number of revolutions. After pressing the OK button, the dialog will disappear and the mouse cursor will change. The next program line that you click on will then become the destination of the jump command.
127
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.18
Icon: Dialog:
Function:
Tests a register in the motor against a specified value and waits until the specified condition is met. The value can either be entered as native motor units or can be entered as generic engineering units. The dialog above provides an example: register no. 10 (P_IST, or Actual position, depending on your preference) must be less than 0 revolutions, before the program will continue. The position that the register is tested against can be specified as an integer number of encoder counts, or can be specified as a non-integer number of revolutions.
Save position
10.7.19
Icon: Dialog:
Function:
Saves the current position from register no. 10 (P_IST) to one of three locations in the user memory area. The saved position(s) can then be used whenever a position or distance is needed in a move command.
128
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.20
Icon: Dialog:
Function:
Sets the current position stored in register no. 10 (P_IST) to one of three position values stored in the user memory area. This is the reverse of the Save position command.
Zero search
10.7.21
Icon: Dialog:
Function:
Initiates a zero search. The program waits until the zero search has completed before proceeding to the next command. For a detailed description of how to set up a zero search, refer to Zero search modes, page 68
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
129
10.7
10.7.22
Icon: Dialog:
Function:
FastMAC commands are also sometimes referred to as FlexMAC commands. The advantage of these commands is a very low communication overhead. FastMAC/FlexMAC commands are described in detail in section 4.5.7 of the MAC user manual, JVL publication no. LB0047-20GB. However, a brief summary is in order. If Mode is set to Passive, Velocity, or Position, the motor will switch to that mode. Also, one of the passive motor registers will be activated, in the sense that its value will be written to the corresponding active motor register, which actually controls motor behaviour. In the example above, the value in register no. 65 (V1) will be written to register no. 5 (V_SOLL). Move operations will then take place at that velocity.
130
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.23
Icon: Dialog:
Function:
If Mode is set to Command, the motor does not necessarily change mode but it can be commanded to carry out a series of predetermined operations. Describing all of the FastMAC commands is beyond the scope of this section but for example, using a single command it is possible to activate four different sets of registers, each controlling position, velocity, acceleration, torque, load factor, and in-position window. For further details, refer to section 4.5.7 of the MAC user manual.
Binary command
10.7.24
Icon: Dialog:
Function:
MacTalk SMC75 programs are sent to the motor in a compact, binary format, which is then interpreted by the SMC75s firmware. The existing set of graphic commands covers most situations, but when special needs arise, anything that can be done with SMC75 programs can be done with a binary command. If special needs arise that are not covered by the other commands, contact JVL for assistance.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
131
10.7
10.7.25
Icon: Dialog:
Function:
Performs a calculation using register values, constants, and the four basic arithmetic operations: +, -, * and /. The result is stored in a register. Arithmetic operations take place in the order that they are specified. Operands/arguments can be either integer constants or registers. The caption of the dialog box shows the resulting expression in traditional infix format. It is continuously updated as you type in the expression. Note that if you write a value to a register using this command, that value is always measured in native motor units. Conversion from generic engineering units is only supported for the commands Set a register in the MAC motor, Jump according to a register in the MAC motor, and Wait for a register value before continuing.
132
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
10.7
10.7.26
Icon: Dialog:
Function:
The options tab contains various settings that affect the operation of the Calculator command. Calculation precision is currently preset to 32-bit precision and cannot be changed. This is not an error, and should not be reported. Register listing and naming provides an alternative method of entering data into the dialog by selecting Simple list with short firmware names. Instead of selecting, for example, 3 Requested position to access register no. 3, you can simply type P_SOLL. If you wish to enter a constant, you simply enter the digits the dialog will not mistake the constant for a register number. If you are in doubt about a register name, look at the expression in the caption of the dialog box. A recognized register name will appear in the expression. An unrecognized register name will appear as a zero. You can switch between the two methods of data entry at any time.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
133
10.7
10.7.27
Icon: Dialog:
Function:
Compares two registers with each other before either jumping to another line in the program or moving on to the next line in the program. If the condition is met, the command jumps to the specified program line. If the condition is not met, the program proceeds to execute the next line in the program. Any two registers can be compared with each other but the command does not do anything beyond comparing the registers numerical values measured in native motor units. To ensure that comparisons are meaningful, it is preferable to compare registers that hold the same type of information in the same binary format. In the example above, two position registers are compared. Both hold position information, both are 32-bit wide, and both measure position in encoder counts. Such a comparison will always yield meaningful, predictable results. For other types of registers, see the relevant register sections.
134
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11
CANopen Introduction
This chapter deals with JVLs Step motor controller SMC75, which is used with the MIS231, MIS232 and MIS234 motors on a CANopen network. The chapter covers the following main topics: General introduction: a section with general information about CANopen. See section 11.1.1 to section 11.1.5. Setting up the Baud-rate, node-id and termination of the CAN bus. Covers also the wiring of the CAN bus. See section 11.2.1 to section 11.2.6. Using CanOpenExplorer. See section 11.3.1 to section 11.3.3. Survey of Communication specific objects and manufacturer specific objects in the DS301standard. Communication objects consist of the general information about the settings in the module, while the Manufacturer specific objects consist of the settings of input/output and the motor parameters. This section also covers the settings of the transmit and receive PDOs in the module. See section 11.4.1 to section 11.4.6. Survey of objects which are used in the DSP-402 standard. See section 11.5.1 to section 11.5.7. Section with more detailed explanations of the CANopen theory, particularly DS-301. See section 11.6.1 to section 11.6.7.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
135
11.1
11.1.1
11.1.2
CiA membership CiA (CAN in Automation) is a non-profit society. The object of the society is to promote CAN (Controller-Area-Network) and to provide a path for future developments of the CAN protocol. CiA specifications cover physical layer definitions as well as application layer and device profile descriptions. In order to receive the CAN standard, is it necessary to obtain CiA membership. The membership fee depends on a companys number of employees. Membership runs from January 1st until December 31st and is renewed automatically unless cancelled in writing by the end of a calendar year. Companies applying for membership after July 1st pay 50% of annual membership. A PDF application form can be downloaded from http://www.can-cia.org/cia/application.html. Note: Once you have received a license from CIA, standards will be sent on a CD and are downloadable via member login. All of the CiA specifications can be ordered from the following URL: www.can-cia.org/downloads/ciaspecifications/
11.1.3
CANopen network The CAN bus is a serial bus with multi-master capabilities where different products from different manufacturers can communicate with each other. These include, for example, devices such as PLCs, motors, sensors and actuators. Some message types have higher priority and are sent first, for time-critical applications. New devices can easily be integrated on an existing bus, without the need to reconfigure the entire network. The devices are connected through a 2-wire bus cable with ground, and data is transmitted serially.
136
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.1
TT1092GB
11.1.4
CANopen, general information CANopen is a CAN-based, higher-level protocol. The purpose of CANopen is to give an understandable and unique behaviour on the CAN network. The CAN network is the hardware level of the system, and CANopen is the software level. CANopen is based on the communication profile described in CiA DS-301, and specifies all of the basic communication mechanisms. CiA DS-301contains message types on the lowest software level. The DSP-402 CANopen standard defines the device profile and the functional behaviour for servo drive controllers, frequency inverters and stepper motors. The DSP-402 constitutes a higher software level, and it uses the DS-301 communication, but makes the device independent of the manufacturer. Not all JVL functionality is available. The CANbus with real-time capabilities works in accordance with the ISO11898 standard. The major performance features and characteristic of the CAN protocol are described below: Message-oriented protocol: The CAN protocol does not exchange data by addressing the recipient of the message, but rather marks each transmitted message with a message identifier. All nodes in the network check the identifier when they receive a message to see whether it is relevant for them. Messages can therefore, be accepted by none, one, several or all participants. Prioritisation of messages: As the identifier in a message also determines its priority for accessing the bus, it is possible to specify a correspondingly rapid bus access for messages according to their importance. Especially important messages can thus gain access to the bus without a prolonged wait-time, regardless of the loading on the bus at any instant. This characteristic means that important messages are transmitted with high priority even in exceptional situations, thereby ensuring proper functioning of a system even during phases of restricted transmission capacity.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
137
11.1
11.1.5
Header A CAN message transmits the communications object and a variety of management and control information. The management and control information bits are used to ensure error-free data transmission, and are automatically removed from the received message and inserted before a message is sent. A simplified CANopen message could be as in the figure below:
Data frame
The two bit fields Header and Data form the simplified CANopen message. The 11bit Header is also designated as the identifier or as the COB-ID (Communication Object identifier).
138
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.1
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
139
Cross-section (mm2)
0.25-0.34 0.34-0.6 0.34-0.6 0.5-0.6 0.5-0.6 0.75-0.8
Terminator (Ohms)
120 150-300 150-300 150-300 150-300 150-300
Baud-rate (Kbit/s)
1000 500 250 125 100 50
The bus wires may be routed in parallel, twisted and/or shielded, depending on EMC requirements. The layout of the wiring should be as close as possible to a single line structure in order to minimize reflections. The cable stubs for connection of the bus node must be as short as possible, especially at high bit rates. The cable shielding in the housing must have a large contact area. For a drop cable, a wire cross-section of 0.25 to 0.34 mm would be an appropriate choice in many cases. For bus lengths greater than 1 km, a bridge or repeater device is recommended. Galvanic isolation between the bus nodes is optional. 11.2.2 Necessary accessories for SMC75 Controller: The EDS file for the SMC75 is available for download at JVLs web-site, http:// www.jvl.dk, under the downloads menu, Field bus Interface Specifications Files. EDS means Electronic Data Sheet. This file contains the information about SMC75 settings that are required to configure the setup and program in the master. The SMC75 is a slave module on the CAN-bus. The master can, for example, be a PLC or a PC. If you are using a PLC as master, then make sure it is provided with a CANopen communications module, and that the correct programming tools are available. For support of the PLC master, the PLC vendor is recommended. If you are using a PC as master, JVL provides some tools that can help when installing and using the SMC75 Controller.
140
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.2
11.2.3
EDS (Electronic data Sheet) In order to give the user of CANopen more support, the device description is available in a standardised way, and gives the opportunity to create standardised tools for configuration of CANopen devices, designing networks with CANopen devices, and managing project information on different platforms. The EDS file are ASCII-coded. Setting the node id and baud rate The node id is set using MacTalk. It is located in register 162. The baud rate is also set using MacTalk and is located in register 163.
11.2.4
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
141
11.2
11.2.5
Description
Reserved CAN_L bus line (Low) CAN Ground Reserved Optional CAN Shield Optional CAN Ground CAN_H bus line (High) Reserved (error line) Optional CAN ext. + supply Pin 2 Pin 4 Pin 1 Pin 5 Pin 3
SMC75
D-sub
Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9
The figure below shows the 9-pin D-sub and 5-pin style connectors.
142
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.2
11.2.6
* Note: P+ and P- are each available at 2 terminals. Ensure that both terminals are connected in order to split the supply current in 2 terminals and thereby avoid an overload of the connector.
Description
Shield for the CAN interface - internally connected to the motor housing Reserved for future purpose - do not connect CAN interface ground CAN interface. Positive signal line CAN interface. Negative signal line
Pin no.
1 2 3 4 5
Isolation group
2 2 2 2 2
Description
I/O terminal 1 I/O terminal 2 IO terminal 3 Ground for I/O RS485 (5V serial) RS485 (5V serial) I/O terminal Out
Pin no.
1 2 3 4 5 6 7 8
Isolation group
3 3 3 3 3 3 3 3
Cable Screen
Some standard cables with M12 connector offer a screen around the cable. This screen on some cables is fitted to the outer metal at the M12 connector. When fitted to the SMC75 controller, this means that the screen will have contact with the complete motor housing and thereby also the power ground (main ground).
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
143
11.3
11.3.1
Using CanOpenExplorer
The CanOpenExplorer program The CanOpenExplorer is a program that was developed for internal use only, especially in production, but the program offers features that are very convenient and which make it very easy to start up the MIS motor when this is supplied with an SMC75 CANopen Controller module. The program can write and send SDOs, PDOs, SYNC and heartbeat messages, and also can read EDS files.
11.3.2
An overall method for communication test Depending on the type of master and software solution available, the following components must be available: PLC: PLC with a CANopen module and software that can communicate with this module. The CANopen module must be connected to a CAN bus, as shown in section 11.2.6. To set up the master, download the EDS file from the JVL web site (see section 11.2.2). This file contains all register set-up data for the SMC75 Controller. For details of the node-ID and the Baud-rate, see section 11.2.4. The power supply must be connected to the motor as shown in section 11.2.6. PC with a CAN adaptor and software that can communicate with this module, or if the CanOpen Explorer software is used, the PCAN-USB Dongle from Peaksystem that is connected to a USB port on the PC. The Peak systems web site address is http://www.peak-system.com. This includes a list of distributors. To set up the master, download the EDS file from the JVL web-page, see section 11.2.2. This file contains all register set-up data for the SMC75. For details of the node-ID and the Baud-rate, see section 11.2.4. The power supply must be connected to the motor as shown in section 11.2.6.
PC:
If CanOpenExplorer is used, see the following method for testing the motor communication: -Install CanOpenExplorer -Connect the motor to the USB port via the Dongle. -Connect power supply, see section section 11.2.6 or section 2. -Run the CanOpenExplorer program on the PC. 1: Select the correct node ID in the slave using MacTalk. See section 11.2.4. 2: Select the EDS file. For all the MIS motors this file is SMC75.eds. 3: Load the EDS file by pressing load.
144
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.3
TT1100GB
Using CanOpenExplorer
2 1 3
4: Select here on the +the manufacturer specific register. 5: Select thereafter the object 0x2012. Object 0x2012 contains the motor parameters.
4 5
TT1101GB
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
145
11.3
Using CanOpenExplorer
6: Point to the sub register 0x02, which is the register that determines in which mode the motor will operate.
TT1102GB
TT1076GB
7: Type 02 in the window, and press OK. 8: Click on the sub register 0x05, which is the register to choose the velocity the motor will use. Press W on the keyboard, type 100 in the window, and press OK. The value 100 is in RPM. 9: Click on the sub register 0x03, which is the register to choose the distance the motor will run. Press W on the keyboard, type 20000 in the window, and type OK. The value 20000 is in Steps
146
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.3
Using CanOpenExplorer
Now the motor shaft will rotate slowly, until the motor has counted 20000 Encoder pulses. If you want to stop the motor, then click on sub register 0x02 and write 0 in the window, and the motor will switch to passive mode. If using other software, the test could be described as, (using object 2012h):
Subregister
02h 05h 03h 02h
Name
Mode_Reg V_SOLL P_SOLL Mode_Reg
Width
16 bit 16 bit 32 bit 16 bit
Unit
Operation
Set up the motor in position mode
Value
02h 100h 20000 00h
RPM Steps
Sets up the desired velocity The motor rotates the desired numbers of encoder pulses Sets the motor to passive mode Set up the motor in position mode
Returning the motor with higher velocity 02h 05h 03h 02h Mode_Reg V_SOLL P_SOLL Mode_Reg 16 bit 16 bit 32 bit 16 bit RPM Steps 02h 200h -20000 00h
Sets up the desired velocity The motor rotates the desired numbers of Steps Sets the motor in passive mode
11.3.3
How to use CanOpenexplorer After startup, the name and details of the HW-interface, such as PCAN_USB should appear upper left. When you turn on a motor/CAN node after having started CanOpenexplorer, the Data Window (large centre right), will contain a message with the number 0x7xx, where xx is the node ID. For example: 0x704 will indicate node 4. Set the Node ID field top centre to that value (4). Ensure that the correct EDS_file is loaded. The program loads a hard-coded default file - either smc75.eds or mac00-fc.eds. It is also possible to load another EDS file by writing the file name in the EDS file field, top centre, and pressing the load button. Note that the EDS view (large centre left panel) will add the new file at the bottom but will not clear any existing file(s) that are loaded. Normal operation will be to select an object in the EDS view pane, and press either R for read or W for write. Pressing R should read the value (successful if no error pops up). Pressing W for write will pop up a small window in which the present value is displayed in both decimal and hex. It is then possible to write a new value either in decimal or hex using a 0x prefix, such as 0x185 to enable the first TPDO on node 5 (by clearing the high bit). If the Add to list checkbox is checked, the object will be added to the user SDO list as a write SDO. Pressing A performs a read and adds it to the user SDO list pane (lower right) as a read SDO. The SDOs in the user SDO pane can be rearranged by dragging them with the mouse. Double-clicking on a user SDO list will execute the operation, either reading or writing. The bus state can be changed using the NMT buttons, lower left, e.g. to Operational to enable PDOs.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
147
11.3
Using CanOpenExplorer
The button Read User SDOs will read all of the R type objects in the user SDO list. This is useful for updating a large number of values in the EDS view. The button Write User SDOs will write all of the W type objects in the user SDO list. This is useful for automated testing. Entries can be deleted from the user SDO list by selecting them with the mouse and pressing the delete key. The sync Time field (top right) sets the time in milliseconds for the SYNC messages to be sent out. SYNCs can be started and stopped using the buttons Enable Sync and the Stop button to the right. The Guard Time field below the Sync Time field works like SYNC - just for the Guarding message. The close button exits the program after saving the list of user SDOs, which will be automatically reloaded at the next program start.
148
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.4
11.4.1
Error Register
1001
UNSIGNED8
0 1 2 3 4 5 6 7 Reservation register 1004 0 1 2 Manufacturer device name Manufacturer hardware version Manufacturer software version 1008 VISIBLE STRING VISIBLE STRING VISIBLE STRING X X X X JVL A/S
1009
100A
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
149
11.4
Name
Guard time
2 3 4
X X X
0x0200
Note regarding device type (index 1000): The device type register is composed of 2 16-bit registers. One register describes which device profile the module supports, and the other states which type of motors the module supports, and possible I/O module. The default value 0192h denotes that the DSP402 Device profile is supported, and the value 0004h denotes that the SMC75 Controller supports stepper motors. 11.4.2 Emergency object The EMCY (emergency) object is used to transfer an error message to the CANopen master, or also to another node which can process the error message. The reaction on the emergency object is not specified. An emergency object is transmitted only once per error event. The SMC75 supports the EMC object (Emergency). The following error codes can be generated: Errorcode 1001h: Generic error - Motor error Errorcode 1002h: Generic error - Position error Errorcode 1003h: Generic error - Follow error Errorcode 1004h: Generic error - Low Transmit PDO25: Use Transmit PDO25 in asynchronous mode to read the status of the error. In the SMC75, no error control is enabled when the modules are started up because if there is any fault in the system, it is impossible to get in contact with the module. After the module has started up and there is communication between the master and the slave, turn on the required error control mechanism in the communication objects, see section 11.4.1.
150
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.4
11.4.3
Unsigned8 x Unsigned32
0 n
Unsigned8 x Unsigned16
254
Writing to these objects in CANopenExplorer is done by pressing W on the keyboard when the register in folder Manufacturer is selected. Reading is done by pressing R. Object 2012h Motor parameters With this object, all the registers of the MIS motor can be accessed. All the registers are accessed as 32 bit. When reading and writing to 16-bit registers, the values are automatically converted in the module. Object 2014h Motor parameters (16 bit) Works as 2012h, but the parameters are accessed as 16-bit. If writing to a 32bit parameter, the 16-bit value will be treated as signed. 11.4.4 Enable and Disable PDOs In the CANOpen profile, it is only possible to have four transmit and four receive PDOs enabled at the same time. In the SMC75 controller, all PDOs are disabled when the module is booted up. The user must choose which PDOs the application will use and enable these. To enable or disable a PDO, it is necessary to write to the MSB (bit 31) in the PDO COBID entry in the PDO communication parameter Record. The COB-ID register is sub-index 1h, and the value range of this register is UNSIGNED32. The PDOs are enabled when bit 31 is 0, and is disabled when bit 31 is 1. 11.4.5 Receive PDOs The PDO 1-20 are reserved for use with DSP-402. The following receive PDOs are available: Receive PDO 21: This PDO can be used to update the position, velocity and acceleration. The data in the PDO is written directly to the position register and if the motor is in position mode, it will start moving to that position.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
151
11.4
Subindex
1 1 1 1 1 1 1 1 1
Type
Receive Transmit Receive Transmit Receive Transmit Receive Transmit Transmit
Description
COB-ID COB-ID COB-ID COB-ID COB-ID COB-ID COB-ID COB-ID COB-ID
Default
Nodeid+0x80000200 Nodeid+0x80000180 Nodeid+0x80000300 Nodeid+0x80000280 Nodeid+0x80000400 Nodeid+0x80000380 Nodeid+0x80000500 Nodeid+0x80000480 Nodeid+0x80000480
Access type
r/w r/w r/w r/w r/w r/w r/w r/w r/w
4 V_SOLL
6 A_SOLL
2014h, sub 5
2014h, sub 6
Receive PDO 22: With this PDO it is possible to update the running current and operating mode.
Byte Data Object 0 1 2 3 4 5 6 7
Receive PDO 23: This PDO can be used to issue a Motor command.
Byte Data Object 0 Motor Command 2014h, sub 24 1 2 3 4 5 6 7
152
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.4
11.4.6
Register 10 is selected as 32-bit, that is P_IST actual position Register 5 is selected as 16-bit, that is V_IST actual velocity
TT2266GB
Transmit PDO 21: With this PDO the actual position can be read.
Byte Data Object 0 P_IST 2012h, sub 10 1 2 3 4 V_IST 2014h, sub 12 5 6 7
Transmit PDO 22: With this PDO the actual velocity can be read.
Byte Data Object 0 V_IST 1 2 3 4 5 6 7
Res. Res.
User selectable 16-bit User selectable 32-bit register exc. ENCODER_POS 2014h, sub 12 register exc. (register16) STATUSBITS (register 25)
Transmit PDO 23: With this PDO the value of the analog inputs 1-4 can be read.
Byte Data Object 0 1 2 3 4 5 6 7
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
153
11.4
ANALOG5
ANALOG6
Transmit PDO 25: With this PDO the motor status, inputs and last error can be read. This PDO also supports asynchronous transmission. If this PDO is in asynchronous mode, it will be transmitted every time the run status or inputs are changed.
Byte Data Object 0 Inputs 1 2 3 4 Res. 5 Res. 6 Res. 7 Res.
Motor error
11.4.7
Beckhoff support The SMC75 supports running CAN with Beckhoff PLC. In this mode, 4 receive and transmit PDO's are enabled from startup and are configured as PDO 1-4. COB_ID = 0x800000xxx : NOT ENABLED COB_ID = 0x000000xxx : ENABLED
11.4.8
PDO setup in Beckhoff mode Normally each selected PDO needs to be enabled after powerup and initialization but in Beckhoff mode PDO 1-4 is automatically enabled at powerup. The 2 dynamical registers are put into PDO4. Default the 16-bit register is set to 35 (motor error) and the 32-bit register is set to (170 ext. encoder). To setup and use the Beckhoff mode, enable the Beckhoff support from MacTalk and press the Save in flash -button.
TT2267GB
154
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.4
11.4.9
Subindex
1 1 1 1 1 1 1 1
Type
Receive Transmit Receive Transmit Receive Transmit Receive Transmit
Description
COB-ID COB-ID COB-ID COB-ID COB-ID COB-ID COB-ID COB-ID
Default
Nodeid+0x00000200 Nodeid+0x00000180 Nodeid+0x00000300 Nodeid+0x00000280 Nodeid+0x00000400 Nodeid+0x00000380 Nodeid+0x00000500 Nodeid+0x00000480
Access type
r/w r/w r/w r/w r/w r/w r/w r/w
Receive PDO1
Byte Data Object 0 1 2 3 4 V_SOLL 2014h, sub 5 5 6 A_SOLL 2014h, sub 6 7
Receive PDO 2: With this PDO it is possible to update the running current and operating mode.
Byte Data Object 0 1 2 3 4 5 6 7
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
155
11.4
11.4.10
Transmit PDO 2: With this PDO the value of the analog inputs 1-4 can be read.
Byte Data Object 0 1 2 3 4 5 6 7
Transmit PDO 3: With this PDO the value of the analog inputs 4-8 can be read.
Byte Data Object 0 1 2 3 4 5 6 ANALOG8 2014h, sub 96 7
ANALOG5
ANALOG6
Transmit PDO 4: With this PDO the actual velocity can be read.
Byte Data Object 0 V_IST 1 2 3 4 5 6 7
Res. Res.
User selectable 16-bit User selectable 32-bit register exc. ENCODER_POS 2014h, sub 18 register exc. (register16) STATUSBITS (register 25)
156
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
157
11.5
http_motor_catalog_address 6405 0
http_drive_catalog_address 6505 0
Digital_outputs_Physical_ou tputs 60FE 1 Digital_outputs_Bit_mask Device Control Abort_connection_option_co de 6007 0 Error_code Controlword Statusword Quick_stop_option_code Modes_of_operation Profile Position parameters Position_actual_value Target_position Software_position_limit 6064 0 607A 0 607D 0 603F 0 6040 0 6041 0 605A 0 6060 0 60FE 2
INTEGER16 UNSIGNED16 UNSIGNED16 UNSIGNED16 INTEGER16 INTEGER8 INTEGER8 INTEGER32 INTEGER32 UNSIGNED8 INTEGER32 INTEGER32 UNSIGNED32 UNSIGNED32 UNSIGNED32 X 2 X X X
Modes_of_operation_display 6061 0
Software_position_limit_Min _position_limit 607D 1 Software_position_limit_Max _position_limit 607D 2 Max_motor_speed Profile_velocity Profile_acceleration 6080 0 6081 0 6083 0
158
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.5
Homing_speeds_Speed_duri ng_search_for_switch 6099 1 Homing_speeds_Speed_duri ng_search_for_zero 6099 2 Homing_acceleration Factors Position_notation_index Position_dimension_index Velocity_notation_index Velocity_dimension_index 6089 0 608A 0 608B 0 608C 0 609A 0
Acceleration_notation_index 608D 0 Acceleration_dimension_ind ex 608E 0 Position_encoder_resolution 608F 0 Position_encoder_resolution _Encoder_increments 608F 1 Position_encoder_resolution _Motor_revolutions 608F 2 Velocity_encoder_resolution 6090 0 Velocity_encoder_resolution _Encoder_increments_per_s econd 6090 1 Velocity_encoder_resolution _Motor_revolutions_per_sec ond 6090 2 Gear_ratio 6091 0 Gear_ratio_Motor_revolution s 6091 1 Gear_ratio_Shaft_revolutions 6091 2 Feed_constant 6092 0
UNSIGNED32
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.5
Position_factor_Feed_const ant 6093 2 Velocity_encoder_factor 6094 0 Velocity_encoder_factor_Nu merator 6094 1 Velocity_encoder_factor_Div isor 6094 2 Acceleration_factor 6097 0 Acceleration_factor_Numera tor 6097 1 Acceleration_factor_Divisor 6097 2 Polarity 607E 0
11.5.2
Factors Position factor The position factor is the relation between the user unit and the internal position unit (steps). The position factor is automatically calculated when the feed constant (Obj. 6092h) and gear ratio (Obj. 6091h) are set. Example: A MIS232 Motor with a 3.5:1 gear box is connected to a belt drive. The diameter of the drive wheel is 12.4 cm. The unit of position is required to be in millimetres. The perimeter of the drive wheel is 389.56mm (124mm*pi) The parameters should be set as follows:
Object 6091h subindex 1 6091h subindex 2 6092h subindex 1 6092h subindex 2 Name Gear ratio - Motor revolutions Gear ratio - Shaft revolutions Feed constant - Feed Feed constant - Shaft revolutions Value 35 10 38956 100
160
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.5
Example 2: We have an MIS232 that uses RPM as the internal velocity and the same belt drive as in the above Position factor example. We want the user unit of velocity to be in mm/s. The parameters should be set as follows:
Object Name Calculated value Value Velocity encoder factor - Numera- (60*3.5)/389,56 = 6094h subindex 1 tor 0.53907 53907 6094h subindex 2 Velocity encoder factor Divisor 1 100000
Acceleration factor This factor is used to convert the user unit into the internal unit (9.54 RPM/s). The factor is adjusted with the object 6097h. Example 1: We have an MIS232 with 1600 counts/revolution. We want the user unit of acceleration to be in RPM/s. The parameters should be set as follows:
Object 6097h subindex 1 6097h subindex 2 Name Acceleration encoder factor - Numerator Acceleration encoder factor Divisor Value 100 954
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
161
11.5
11.5.3
Changing operation mode Change of operation mode is only possible when the operation mode is not enabled. There is one exception and that is when changing from homing mode to profile position mode. This is possible when the homing sequence is completed and can be done even though the operation mode is enabled. Profile position mode This mode can be used for positioning in which a move profile can be set up. The acceleration and maximum velocity can be programmed. In this mode both absolute and relative movement is supported. This is selected using bit 6 (abs/rel) in the status word. It is also possible to select different movement modes. This is done with bit 5 (change set immediately) in the status word. When this bit is 0 and a move is in progress, the new set-point is accepted, but the new set-point and profile are not activated until the previous movement is finished. When this bit is 1, the new setpoint is activated instantly and the motor will move to the new position with the new profile parameters.
11.5.4
11.5.5
Velocity mode In this mode the motor runs at a selected velocity. A new velocity can be selected and the motor will then accelerate/decelerate to this velocity. The maximum slippage error is not supported in this mode. Homing mode Using this mode, different homing sequences can be initiated. The standard homing modes from 1-34 are supported. Before starting the homing, the inputs must be configured properly using MacTalk or parameters 125,129,130,132.
11.5.6
162
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.5
11.5.7
Mapping object name Comment Controlword Controlword Modes of operation Controlword Target position Controlword Target velocity (pv) Controlword Digital outputs controls the state machine controls the state machine and modes of operation controls the state machine and the target position (pp) controls the state machine and the target velocity (pv) controls the state machine and the digital outputs
Transmit PDOs
Mapping PDO object no. index Mapping object name 1 2 3 4 7 6041h 6041h 6061h 6041h 6064h 6041h 606Ch 6041h 60FDh Statusword Statusword Modes of operation display Statusword Position actual value Statusword Velocity actual value Statusword Digital inputs
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
163
11.6
11.6.1
Object
Not used Static data types Complex data types Manufacturer specific Data Types Reserved for further use Communication Profile area DS301 Manufacturer specific profile area Standardised Device Profile area (DSP-402) Reserved for further use
Supported by MAC00-FC2/FC4
Index 0001-001F: Static data types contain type definitions for standard data types like boolean, integer, floating point, etc. These entries are included for reference only, they cannot be read or written. Index 0020-003F: Complex data types are predefined structures that are composed out of standard data types and are common to all devices. Index 0040-005F: Manufacturer-specific data types are also structures composed of standard data types but are specific to a particular device. Index 1000-1FFF: The communication Profile area contains the parameters for the communication profile on the CAN network. These entries are common to all devices. Index 2000-5FFF: The manufacturer-specific profile area, for truly manufacturer-specific functionality.
164
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.6
Parameter Transfer
Special functions
Process Data Objects Service Data Objects Synchronisation Emergency
The access from the CAN network is done through data objects PDO (Process Data Object) and SDO (Service Data Object). 11.6.2 Boot up telegram After the initialization phase, a CANopen slave logs on with a boot up message. The node address of the slave is contained in this. This allows a CANopen master to know which slaves are connected to the network. The protocol uses the same identifier as the error control protocols. See the figure below:
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
165
11.6
11.6.3
Request
0 Proces data
L = 0....8
Indication
TT1086GB
166
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.6
TT1087GB
PDO identifier: In the CAN-Open profile, it is only possible to have four transmit and four receive PDOs enabled at the same time. In the SMC75 controller, all PDOs are disabled when the module is booted up. The user must choose which PDOs the application will use and enable these. The PDO configuration can be seen either in the EDS-file or in the CanOpen Explorer program, where the communication and the mapping parameters are shown. There are two standard methods to map the PDOs in CANopen: static mapping and dynamic mapping. In static PDO mapping all PDOs are mapped in accordance with some fixed, non-modifiable setting in the relevant PDO. In dynamic PDO mapping, the setting of a PDO can be modified. It is also allowable to have a flexible combination of different process data during operation. The SMC75 controller uses only static mapping. 11.6.4 SDO (Service Data Objects) SDO: can access all entries in the object directory but they are normally used in the initialization during the boot up procedure. Some SDOs characteristics are: Confirmed transfer of objects Data transfer/exchange is always non-synchronous Values greater than 4 bytes are transferred (Normal transfer) Values not more than 4 bytes are transferred (Expedited transfer)
Basically an SDO is transferred as a sequence of segments. Prior to transferring the segment, there is an initialization phase where client and server prepare themselves for transferring the segment. For SDOs, it is also possible to transfer a dataset of up to four bytes during the initialisation phase. This mechanism is called an expedited transfer. Download SDO protocol: The download SDO protocol is used to write the values of the object directory into the drive.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
167
11.6
7...5 SCS=3
4...0 X
reserved
8 Response
Upload SDO protocol: The upload SDO protocol is used to read the values in the object directory of the drive.
Server
Indication
0 Confirm
TT1088GB
7...5 SCS=2
4 X
3...2 n
1 e
0 s
8 Response
SCS:
n:
Only valid if e=1 and s=1 otherwise 0. If valid it indicates the number of bytes in d that do not contain data. Bytes [8-n,7] do not contain data Only valid if e=1 and s=1 otherwise 0. If valid it indicates the number of bytes in d that do not contain data. Bytes [8-n,7] do not contain data
e:
Transfer type: 0= normal transfer 1= expedited transfer Transfer type: 0= normal transfer 1= expedited transfer
s:
Size indicator: 0=data set size is not indicated 1=data set size is indicated Size indicator: 0=data set size is not indicated 1=data set size is indicated
m:
Multiplexer. It reprensents the index/subindex of the data to be transfer by the SDO Multiplexer. It reprensents the index/subindex of the data to be transfer by the SDO
Download
Upload
168
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.6
X:
Reserved:
Download
Upload
Abort SDO transfer protocol: SDO tasks which the SMC75 controller cannot process are responded to using an abort SDO protocol. If the module does not respond in the expected time, the CANopen master also sends an abort SDO. The following figure shows an abort SDO transfer protocol:
Client/Server 0 Request
TT1090GB
There are various abort codes in CANopen. These are listed in the table below:
Abort code
0503 0000h 0504 0000h 0504 0001h 0504 0002h 0504 0003h 0504 0004h 0504 0005h 0601 0000h 0601 0001h 0601 0002h 0602 0000h 0604 0041h
Description
Toggle bit not alternated SDO Protocol timed out Client/server command specified not valid or unknown Invalid block size (block mode only) Invalid sequence number (block mode only) CRC error (block mode only) Out of memory Unsupported access to an object Attempt to read a write-only object Attempt to write a read-only object Object does not exist in the object dictionary Object cannot be mapped to the PDO
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
169
11.6
Description
The number and length of the objects to be mapped would exceed PDO length General parameter incompatibility reason Access failed due to a hardware error Data type does not match, length of service parameter does not match Data type does not match, length of service parameter too high Data type does not match, length of service parameter too low Sub-index does not exist Value range of parameter exceeded (only for write access) Value of parameter written too high Value of parameter written too low Maximum value is less than minimum value General error Data cannot be transferred or stored to the application Data cannot be transferred or stored to the application because of local control Data cannot be transferred or stored to the application because of the present device state Object dictionary dynamic generation fails or no object dictionary is present (e.g. object dictionary is generated from file and generation fails because of a file error).
11.6.5
SYNC (Synchronisation Object) A SYNC producer sends the synchronization object cyclically a broadcast telegram. The SYNC telegram defines the basic clock cycle of the network. The time interval of the SYNC telegram is set using the object Communication Cycle period (1006h). In order to obtain a precise (accurate) cycle between the SYNC signals, the SYNC telegram is sent with a high-priority identifier. This can be modified using the object (1005h). The SYNC transfer applies the producer/consumer push model and is non-confirmed.
SYNC Producer SYNC Consumers
Request
L=0
Indication
TT1091GB
The SYNC does not carry any data (L=0). The identifier of the SYNC object is located at object 1005h.
170
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.6
11.6.6
Request
TT1082GB TT1081GB
Where CS is the NMT command specified. The Node-ID of the NMT slave is assigned by the NMT master in the Node Connect protocol, or 0. If 0, the protocol addresses all NMT slaves.
CS =
1 2 128 129 130
Operation
Start Remote Node Stop Remote Node Enter Pre Operational Reset Node Reset Communication
Start Remote Node: This is an instruction for transition from the Pre-Operational to Operational communications state. The drive can only send and receive process data when it is in the Operational state. Stop Remote Node: This is an instruction for transition from either Pre-Operational to stopped or from Operational to Stopped. In the stopped state, the nodes can only process NMT instructions. Enter Pre Operational: This is an instruction for transition from either Operational or Stopped state to Pre-Operational. In the Pre-Operational state, the node cannot process any PDOs. However, it can be parameterized or operated via SDO. This means set point can also be entered.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
171
11.6
Pre-Operational
Operational
X X X X
Stopped
11.6.7
Error Control Services Two possibilities exist for performing Error Control: - Node Guarding/Life Guarding - Heartbeat Node Guarding/Life Guarding With Node Guarding, the CANopen master sends each slave an RTR telegram (Remote Transmit request) with the COB-ID 1792 (700h) + node-ID. Using the same COB-ID, the slave responds with its communications state, i.e. either Pre-Operational, Operational or stopped. The CANopen slave also monitors the incoming RTR telegram from the master. The cycle of the incoming RTR telegrams is set using the Guard Time Object. The number of RTR telegrams which can fail (at a maximum) before the slave initiates a Life Guarding event is defined using the Life time factor object. The Node Life Time is calculated from the product of the Guard Time and Life Time Factor. This is the maximum time that the slave waits for an RTR telegram. The figure below shows a Node Guarding/Life Guarding protocol.
172
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
11.6
Indication Response
NMT state
Stopped Operational Pre-operational
t: is the toggle bit. It alternates between 2 consecutive responses from the NMT Slave. The value of the toggle-bit of the first response after the guarding protocol becomes active is 0. The Toggle Bit in the guarding protocol is only reset to 0 when the NMT message Reset Communication is passed (no other change of state resets the toggle bit). If a response is received with the same value of the toggle-bit as in the preceding response, then the new response is handled as if it was not received. Heartbeat: With the Heartbeat protocol, a Heartbeat Producer cyclically sends its communications state to the CAN bus. One or more Heartbeat Consumers receive the indication. The relationship between producer and consumer is configurable via the object dictionary. The Heartbeat Consumer guards the reception of the Heartbeat within the Heartbeat Consumer time. If the Heartbeat is not received within the Heartbeat Consumer Time, a Heartbeat Event will be generated.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
173
11.6
Heartbeat consumer Indication Heartbeat consumer time Indication Heartbeat consumer time Heartbeat Event
TT1084GB
NMT state
Boot up Stopped Operational Pre-operational
Only one communication monitoring service may be activated. This is either Node Guarding/Life Guarding or Heartbeat. If the Heartbeat Producer Time is configured on a device, the Heartbeat Protocol begins immediately. If a device starts with a value of the Heartbeat Producer Time different from 0, the Heartbeat Protocol starts with the state transition from Initialising to Pre-operational. In this case the Bootup Message is regarded as the first heartbeat message. If the Heartbeat producer time is not 0, the heartbeat protocol is used. In the SMC75, none of the error control mechanisms is enabled when the modules are started up, because if there is any fault in the system it is impossible to contact the module. After the module has started up and there is communication between the master and the slave, activate the required error control mechanism in the object Dictionary. See section 11.4.1.
174
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
12
Appendix
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
175
12.1
Velocity accuracy
When setting a velocity in V_SOLL, the motor will not run at that exact velocity. The exact velocity can be calculated with the following formula:
Note: The Round function rounds the number to the nearest integer. Also note that the lowest possible velocity is 1.43 RPM and the highest is 1023 RPM.
176
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
12.2
Command timing
Each command has a certain execution time. The specified execution time in the following table is the maximum execution time if not using CANopen, serial communication and the motor is disabled. The actual execution may be faster.
Icon
Name Remarks Set operation mode Move relative (no velocity, no acceleration)1 Move relative+set velocity (no acceleration)1 Move relative+set velocity+set acceleration1 Move absolute (no velocity, no acceleration)1 Move absolute+set velocity (no acceleration)1 Move absolute+set velocity+set acceleration1 Set single output (high/low) Set multiple outputs Unconditional jump Conditional jump (inputs) Set a register Conditional jump (register) Save position Set position Send fastMAC command Binary command
Execution time [s] 0 60 90 150 210 60 120 180 30 30*number of outputs 30 60 60 120 60 90 30 30
1) The time for all move commands is shown without waiting for in position
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
177
12.3
178
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
12.4
Motor Connections
Connection of JVL and MAE 4 wire motors. Type MST17x and HY200-xxxx-xxx-x4
A+ Black (White 17xx)
Connection of JVL and MAE motors (parallel). Type MST23x/ MST34x and HY200-xxxx-xxx-x8
Black A+ Black / White Orange / White
Driver
Driver
AB+
Orange Red
A B
A B
AB+
A B
B-
B-
Yellow
(Blue 17xx)
Connection of JVL and MAE motors (serial). Type MST23x/ MST34x and HY200-xxxx-xxx-x8
Black A+ Orange/White Black/White
Driver
B+
Red
Driver
A-
Orange
A B
A B
AB+
4 5
Red Blue
A B
A B
BYellow
Red/White Yellow/White
B-
7 6 8
SM87/SM107/168.x.xx
A+
Driver
B+
Black
Driver
A-
Green
A B
A B
AB+
Green 2 Red 3
A B
B-
Red
B-
White 4
TT0005
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
179
12.5
Connection of Vexta motor Type PH2xx.xxx
(M otor in unipolar model - 6 cables ) A+ Black A+
Driver
Driver
AB+
Y ellow Red
A B
A B
AB+
Y ellow Blue
A B
A B
B-
W hite
B-
A+
Driver
AB+
Orange Red
A B
A B
B-
TT0006
180
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
12.6
Serial communication
This section describes control of the SMC75 motor via the serial interface (RS232/ RS485). The communication is not made in ASCII values and it is thus not possible to use programs like Hyperterminal to control the motor. The interface is RS232 compatible and uses 8 data bits and no parity. The SMC75 motor is completely controlled by reading and writing to registers. The registers are numbered 1-255. The width of the registers is 16 bits or 32 bits. To protect communication from errors, the data is transmitted twice. First the data byte is transmitted and then an inverted version (255-x) is transmitted. The easiest way to become familiar with the registers and MacTalk communication is to use the MacRegIO program. This program lists all of the registers, and the serial commands sent and received can be monitored.
12.6.1
Sync
0x50 0x51 0x52 0x54 0x55 0x56 0x57 0x59 0x61 0x62 0x63
Supported commands
Response Sync
0x52 0x52 0x11 (Ack) 0x11 (Ack) 0x11 (Ack) 0x11 (Ack) None None 0x61 0x11 (Ack) 0x63
Description
Read register Read register block Write register Enter safe mode Exit safe mode Write to flash Reset controller Group write register Program status and command Write program flash Read program flash
12.6.2
Read register This command can read a register. All registers are read as 32-bit. If the register is only 16-bit, the high part must be discarded.
SMC75 Response
<Write><MAddress><RegNum><Len><Data><End>
Master sends
<Read><Address><RegNum><End>
Block description
Block name
<Read> <Address> <RegNum> <End> <Write> <MAddress> <RegNum> <Len> <Data> <End>
Protected
No Yes Yes No No Yes Yes Yes Yes No
Example
50h,50h,50h 07h,F8h (Address 7) 05h,FAh (RegNum 5) AAh, AAh 52h,52h,52h 00h,FFh (Address 0) 05h,FAh (RegNum 5) 04h,FBh (Len = 4) E8h,17h, 03h,FCh, 00h, FFh, 00h,FFh (Data = 1000) AAh, AAh
Description
Read command The address of the SMC75 The register number to read Command termination Write command This will always be 0, because this is the address of the master This will always be the same as requested The length will always be 4 The data read from the register Command termination
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
181
12.6
12.6.3
Serial communication
Read register block Using this command it is possible to read 64 consecutive registers at once.
SMC75 Response
<Write><MAddress><RegNum><Len><Data><End>
Master sends
<ReadB><Address><RegNum><End>
Block description
Block name
<ReadB> <Address> <RegNum> <End> <Write> <MAddress> <RegNum> <Len> <Data>
Protected
No Yes Yes No No Yes Yes Yes Yes
Example
51h,51h,51h 07h,F8h (Address 7) 05h,FAh (RegNum 5) AAh, AAh 52h,52h,52h 00h,FFh (Address 0) 05h,FAh (RegNum 5) 80h,7Fh (Len = 128) E8h,17h, , 03h,FCh
Description
Read block command The address of the SMC75 The first register to read Command termination Write command This will always be 0, because this is the Address of the master This will always be the same as requested The length will always be 128, so 64 registers is read in each block. The data read from the registers
12.6.4
Controller sends
<Write><Address><RegNum><Len><Data><End>
Block description
Block Name
<Write> <Address> <RegNum> <Len> <Data> <End> <Accept>
Protected
No Yes Yes Yes Yes No No
Example
52h,52h,52h 07h,F8h (Address 7) 05h,FAh (RegNum 5) 02h,FDh (Len = 2) E8h,17h, 03h,FCh (Data = 1000) AAh, AAh 11h, 11h,11h
Description
Write command The address of the SMC75 The register number to write to The number of data bytes The data to write to the register Command termination Accept from SMC75
12.6.5
Enter safe mode When this command is sent, the SMC75 switches to safe mode. In safe mode, no program or commands can enable the motor. The mode can only be exited using either an Exit safe mode or Reset command.
SMC75 response
<Accept>
Controller sends
<EntSafe><Address><End>
Block description
Block Name
<EntSafe> <Address> <End> <Accept>
Protected
No Yes No No
Example
54h,54h,54h 07h,F8h (Address 7) AAh, AAh 11h, 11h,11h
Description
Enter safe mode command The address of the SMC75 Command termination Accept from SMC75
182
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
12.6
12.6.6
Serial communication
Exit safe mode When this command is sent, the SMC75 switches back to normal mode.
SMC75 response
<Accept>
Controller sends
<ExitSafe><Address><End>
Block description
Block Name
<ExitSafe> <Address> <End> <Accept>
Protected
No Yes No No
Example
55h,55h,55h 07h,F8h (Address 7) AAh, AAh 11h, 11h,11h
Description
Exit safe mode command The address of the SMC75 Command termination Accept from SMC75
12.6.7
Write to flash This command writes the register values to flash memory. The values will then be retained after a power down. The command will only work if the motor is in Safe mode After the command is executed, the motor will reset. The response will only be transmitted if the command failed, e.g. if the motor is not in safe mode.
SMC75 response
<Accept>
Controller sends
<WriteFlash><Address><End>
Block description
Block Name
<WriteFlash> <Address> <End> <Accept>
Protected
No Yes No No
Example
56h,56h,56h 07h,F8h (Address 7) AAh, AAh 11h, 11h,11h
Description
Write to flash command The address of the SMC75 Command termination Accept from SMC75
12.6.8
Reset controller This command resets the SMC75. No response will be transmitted from the SMC75.
SMC75 response
None
Controller sends
<Reset><Address><End>
Block description
Block Name
<Reset> <Address> <End>
Protected
No Yes No
Example
57h,57h,57h 07h,F8h (Address 7) AAh, AAh
Description
Reset command The address of the SMC75 Command termination
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
183
12.6
12.6.9
Serial communication
Group write register Using this command it is possible to write a register in several SMC75s with one command. The command includes a sequence number which must be changed for each write. This is used so that the same command can be written several times, to ensure that all controllers received it. The last received sequence id can be read in register 148.
SMC75 Response
None
Controller sends
<GWrite><Group><Sequence><RegNum><Len><Data><End>
Block description
Block Name
<GWrite> <Group> <Sequence> <RegNum> <Len> <Data> <End>
Protected
No Yes Yes Yes Yes Yes No
Example
59h,59h,59h 07h,F8h (Address 7) 04h,FBh (Sequence 4) 05h,FAh (RegNum 5) 02h,FDh (Len = 2) E8h,17h, 03h,FCh (Data = 1000) AAh, AAh
Description
Group write command The group id of the SMC75s to write to. The sequence number of the write. The register number to write to The number of data bytes The data to write to the register Command termination
12.6.10
Program status and command Using this command, different actions can be executed. The command also returns some information about the program state. The table below shows the possible commands:
Data 2
-
Command
0 1 2 3 4
Data 1
-
Description
5 6 7
No operation Start program execution Stop program execution Pause program execution Run the program until the program pointer is outside the area Start Address End Address [Start Address,End Address] (16bit) (16bit) Then the program is paused Modifies the outputs. The bits set in the Set outputs data will be set and cleared Set outputs Clear outputs for Clear outputs. (8bit) (8bit) Example: The data 0x06,0x01 sets output 2+3 and clears output 1 Reserved Size (16 bit) Prepare the flash for a new program. Data 1 specifies the size of the program in bytes.
The command number is placed in the first command data byte. Data 1 + Data 2 are placed in the following command data bytes.
Controller sends
<PStat><Address><Len1><Data1><End>
SMC75 Response
<PStat><MAddress><Len2><Data2><End>
184
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
12.6
Block description
Block Name
<PStat> <Address> <Len1> <Data1> <MAddress> <Len2>
Serial communication
Protected
No Yes Yes Yes Yes Yes
Example
61h,61h,61h 07h,F8h (Address 7) 01h,FEh (Len = 1) 01h,FEh (Start) 00h,FFh (Address 0)
Description
Program status command The address of the SMC75s to write to. Length of the command data Command data This will always be 0, because this is the address of the master The length of the return data
<Data2>
Yes
<End>
No
08h,F7h (Len = 8) 09h,F6h, (Program state) 00h,FFh, 00h,FFh, (Program pointer) 00h,FFh, (Stack pointer) Data returned from SMC75 00h,FFh, 00h,FFh, (Program checksum) 80h,7Fh, (Inputs) 00h,FFh (Outputs) AAh, AAh Command termination
Size
8 bit 16 bit 8 bit 16 bit 8 bit 8 bit
Description
Program state. See table below for states. Program pointer. The current location of the program pointer. Stack pointer Program checksum. This checksum is calculated when the program is started. Input status. Output status
Program states:
Program state
0 1 2 3 4 5 6 7 8 9 10 11
Name
Passive Running Single Step Paused Stack Ovf. Program Ovf. Invalid Ins. Stopped Com. Error Starting Prg. Flash Error Flash Checksum Error
Description
The program execution is stopped. This state is only entered shortly at power-up. The program execution is running A single step is in progress. The program will run until the selected program position is reached. The program execution is paused, but can be resumed again. The stack pointer has overflowed The program pointer has overflowed. An invalid instruction is encountered in the program. The program execution is stopped. Internal communication error has occurred. This cannot happen on SMC75. Program execution is being prepared. After this is completed the state will change to running. The program data is corrupted. The program data checksum is incorrect.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
185
12.7
Driver Technology Step Resolution
3 Revision September26, 2007 01 to 31 Standby current ratio (03 = 1/3 standby current) # D 24V NPN inputs E 24V PNP inputs F 5V inputs xx xx specifies mA*100/phase. See SMD73 data-sheet 0 No driver # 1 1/1 step (with 200step/rev motor 200 pulses/rev.) 2 1/2 step (with 200step/rev motor 400 pulses/rev.) 4 1/4 step (with 200step/rev motor 800 pulses/rev.) 5 1/5 step (with 200step/rev motor 1000 pulses/rev.) 8 1/8 step (with 200step/rev motor 1600 pulses/rev.) 73 SM73 driver 15-28VDC. Pulse and direction driver. (Only orders more than 10 pcs.)* 74 Driver 12-48VDC based on SMC75 technology (Future option) 75 SMC75 controller with MAC protocol. 12-48VDC and optional encoder/hall sensor feedback # 76 Controller based on SMD41 driver and SMC75 controller functionality. # 41 SMD41 driver technology 20-80VDC. Pulse and direction driver. Only MIS34x. (Future option) 42 SMD42 driver technology 30-160VDC. Pulse and direction driver. Only MIS34x. (Future option) N0 No feedback H1 Magnetic encoder feedback. 32 pulses/rev. Only if controller supports this feature (Future option) H2 Magnetic encoder feedback. 256x4 pulses/rec. Only if controller supports this feature E1 Encoder feedback. 1024 lines = 4096 pulses/rev. Only if controller supports this feature. (Future option) M1 M12 1pcs. 5pin male . SMD73 pulse/direction driver. M2 M12 2 pcs. 5 pin male (power). 8 pin female (RS485, 4IOA) M3 M12 3 pcs. 5 pin male (power), 8 pin female (RS485, IOA 1-4), 5 pin female (RS485). SMC75 M4 M12 3 pcs. 5 pin male (power), 8 pin female (RS485, IOA 1-4), 8 pin female (5V serial, IOA5-8). SMC75 M5 M12 4 pcs. 5 pin male (power), 8 pin female (RS485, IOA 1-4 ), 5 pin female (RS485), 8 pin female (5V serial, IOA 5-8).SMC75 M6 M12 4 pcs. CANopen 5 pin male (power), 8 pin female (RS485, IOA 1-4), 8 pin female (5V serial, IOA 5-8), 5 pin male (CAN) SMC75 M7 M12 4 pcs.DeviceNet 5 pin male (power), 8 pin female (RS485, IOA 1-4), 8 pin female (5V serial, IOA 5-8), 5 pin male (Device) SMC75 W0 PG16 and no cable W1 PG16 and 2m cable. Flying leads with shield. EX Long hosing ready for MAC00-xx expansion board (Future option) 1 6,35mm shaft and IP42 2 6,35mm shaft and IP55 (motor shaft and body). IP65 (Rear end and connector) 3 10,0 mm shaft and IP42 4 10,0mm shaft and IP55 (motor shaft and body). IP65 (Rear end and connector) 5 14mm shaft and IP42 6 14mm shaft and IP55 (motor shaft and body). IP65 (Rear end and connector) 7 8mm shaft 52mm long for HFOS worm gear A Motor driver for 3,0A/phase B Motor driver for 5,2A/phase (Future option) 230 NEMA23 stepper motor 231 NEMA23 stepper motor 232 NEMA23 stepper motor 234 NEMA23 stepper motor 340 NEMA34 stepper motor (Future option) 341NEMA34 step motor (Future option) 342NEMA34 step motor (Future option) MIS MISxxx Motor Integrated Stepper Motor. Examples MIS 231 A 1 W1 N0 73 8 25 D Motor 6,35 shaft, flying leads, SMD73 driver MIS 233 A 3 M1 N0 73 2 30 D Motor 10mm shaft, M12 , SMD73 MIS 232 A 1 M3 N0 75 Motor 6,35mm shaft. SMC75. 3 pcs M12 connectors MIS 234 A 3 M6 N0 75 Motor 10mm shaft. SMC75. 4 pcs M12 connectors, CANopen MIS 232 A 1 M7 H2 75 Motor 6,35mm shaft. SMC75. 4 pcs M12 connectors. DeviceNet. Encoder H2 option MIS 340 B 5 M1 N0 41 Motor 14,0 mm shaft. 1 pcs M12 connector. 80V driver MIS 342 B 5 M7 N0 76 Motor 14,0 mm shaft. 4 pcs M12 connectors. 80V controller. DeviceNet. Encoder H2 option # : End of number. No more letters or numbers should be added. *: For orders less than 10 pcs., use Controller SMC75 instead, allowing current and gear ratio to be freely programmed.
MIS 232 A
M2
N0 73 8 10 E
186
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
Motor Type
Connection
Feedback
Size
12.8
SMC Step motor controller 75 Version 3ARMS 12-48VDC with 8IOA and optional CANopen/DeviceNet and encoder 85 Version 12-160VDC with 8IOA and optional CANopen/Devicenet and encoder A PCB 3ARMS (default) B PCB 6ARMS C PCB 9ARMS 1 Hardware version1. (default) 2 Hardware version 2. M1 M12 2pcs. 5pin male (power). 8 pin female (RS485, 4IOA). SMC75 M2 M12 2 pcs. 5 pin male (power). 8 pin female (RS485, 4IOA). SMC75 M3 M12 3 pcs. 5 pin male (power), 8 pin female (RS485, IOA 1-4), 5 pin female (RS485). SMC75 M4 M12 3 pcs. 5 pin male (power), 8 pin female (RS485, IOA 1-4), 8 pin female (5V serial, IOA5-8). SMC75 M5 M12 4 pcs. 5 pin male (power), 8 pin female (RS485, IOA 1-4 ), 5 pin female (RS485), 8 pin female (5V serial, IOA M6 M12 4 pcs. CANopen 5 pin male (power), 8 pin female (RS485, IOA 1-4), 8 pin female (5V serial, IOA 5-8), 5 pin M7 M12 4 pcs. DeviceNet 5 pin male (power), 8 pin female (RS485, IOA 1-4), 8 pin female (5V serial, IOA 5-8), 5 pin male (Device) SMC75 W1 PG16 and 2m cable. Flying leads with shield. AA No fieldbus (default). Only PCB AC Fieldbus CANopen. Only PCB AD Fieldbus DeviceNet. Only PCB H1 Magnetic encoder chip 1. H2 Magnetic encoder chip2 mounted 256x4=1024 counts (AS5040) SMC 75 SMC 75 SMC 75 SMC 75 SMC 75 SMC 75 SMC 75 A A A A A A A 1 1 1 1 1 1 1 M4 H1 Steppermotor controller only PCB. No housing and encoder chip Steppermotor controller only PCB, CANopen. No housing and encoder chip Stepper motor controller only PCB with magnetic encoder chip type H2 mounted. No housing Stepper motor controller only PCB with Fieldbus CANopen and magnetic encoder chip type H2 Stepper motor controller in a box with connector M7 and CANopen and DeviceNet Stepper motor controller in a box with connector M7 and CANopen and H1 magnetic sensor
Examples
AC AA AC M7 M6
H2 H2
H1
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
187
12.8
MST Stepper motor with housing but without electronics. IP55 230 NEMA23 Stepper motor 231 NEMA23 Stepper motor 232 NEMA23 Stepper motor 234 NEMA23 Stepper motor 340 NEMA23 Stepper motor. (Future option) 341 NEMA23 Stepper motor .(Future option) 342 NEMA23 Stepper motor .(Future option) A For 3Amp. driver/controller B For 6 Amp. driver/controller C For 9 or 12 Amp. driver/controller 1 6.35mm shaft and IP42 2 6.35mm shaft and IP55 (motor shaft and body) IP65 /Rear end and connector) 3 10.0mm shaft and IP42 4 10.0mm shaft and IP55 (motor shaft and body) IP65 /Rear end and connector) 5 14mm shaft and IP42 6 14mm shaft and IP55 (motor shaft and body) IP65 Rear end and connector) 3 Motor type M1 m12 connector W0 PG16 and no cable W1 PG16 and 2m cable MST 232 A 1 3 M1 M1 Stepper motor NEMA23 with housing M1 Stepper motor NEMA23 with housing W1 Stepper motor NEMA34 with housing
Examples
MST 232 A 1 3 MST 234 A 3 3 MST 340 B 5 3
188
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
13
General Purpose I/O Output Source Current Protection Input Filter Type (Standard) Type (Optional) Baud Rate Communication Type (Optional) Isolation Features Open Loop Configuration Internal Encoder (optional) Counters Velocity
Motion
Accel./Decel.
Electronic Gearing Program Storage User Registers User program variables Math Functions Software Branch Functions General Purpose I/O Functions Party Mode Addresses Encoder Functions Thermal Operating Temperature
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
189
13.1
Power supply P+ - PPP supply current (No load) CV CV supply current (Unconnected I/O) V+ for CAN V+ supply current for CAN User outputs O1-O8 Output source current pr. channel
5.5 1
Output sink current Output voltage User inputs I1-I8 Input impedance Voltage applied to any input Analog input nominal Logic 0 Logic 1 RS232 (5V) Tx output low level Tx output high level Tx output source current Tx output sink current Rx input low level Rx input high level RS422 Input (VB1+-VB1-) Input leakage current Output (VA1+-VA1-) Output source current RS485 Input (VA--VB-) Input leakage current Output (VA--VB-) Output source current CAN (ISO 11898-24V) Voltage at any input Input (VCAN_H - VCAN_L) Input (VCAN_H - VCAN_L) Output (VCAN_H - VCAN_L) Output (VCAN_H - VCAN_L)
75 100 350 0
mA mA mA mA V kOhm V V V V V V mA mA V V V mA V mA V mA V mA V V V V mV
190
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
13.2
Torque Curves
Quickstep motor torque versus speed and supply voltage
TT2223GB
Power supply = PSU24-240 (24V/240W regulated PSU) Power supply = PSU48-240 (48V/240W regulated PSU) Room temperature = 20C
2,5
1,5
MIS234 @48V MIS234 @24V MIS232 @48V MIS232 @24V MIS231 @48V MIS231 @24V
0,5
0 0 100 200 300 400 500 600 700 800 900 1000 Speed (RPM)
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
191
13.3
13.3.1
Physical Dimensions
Physical dimensions MIS231, MIS232 and MIS234
Motor Type Length 2mm MIS231 MIS232 MIS234 96.0 118.5 154.0
20,6 0.5
38.1 0.025
Shaft dia. D
60.0 66.0
Fr
1.6
5.0
54.5
47 0.2 56.4
192
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
56.4
Fa
47 0.2
13.4
13.4.1
Trouble-shooting guide
Problems related to communication with the motor Problem : RS232 - MacTalk is not communicating with the motor The status at the bottom of the screen shows *** No Connection *** but the power LED on the motor is lit and the serial cable is connected. Action : - Check that the correct COM port is selected in the MacTalk Setup menu. - Check using Control Panel/System/Hardware/Device Manager/Ports (COM&LPT). - Check that the connection to the motor is made according to specifications. If only one motor is used on the RS232 bus, TX-PD must be shorted to TX, otherwise communication can be very unstable. - Ensure that a firmware update has not been interrupted before the communication problem was observed. If such an update is aborted/interrupted, it must be restarted and completed before the internal processor is back to normal and can handle communication.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
193
194
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
14
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
195
The Controller SMC75 must be set to gear mode and the input and output for gear factor must be adjusted according to the actual application.
196
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
Driver SMC75
O1-O2 O3-O4 O5-O6 O7-O8
Motor
TT2230GB
The 8 outputs can be used to generate pulse/direction for up to 4 drivers. This can be used for accurate syncronization of two or more motors, based on the same source signal. Use MacTalk I/O Setup to set up the outputs to pulse/direction signals.
SMC75 O1 (pulse) O2 (direction) O3 (pulse) O4 (direction) O5 (pulse) O6 (direction) O7 (pulse) O8 (direction) IN1 IN2 IN1 IN2 IN1 IN2 IN1 IN2 SMD73 with PNP inputs Motor 1 Motor 2 Motor 3 Motor 4
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
197
14.3
198
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
O1
GND
TT2243GB
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
199
14.5
200
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
15
Accessories
The following accessories are available for the MIS motor series.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
201
15.1
Cables
202
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
15.2
15.2.1
Power Supplies
PSU00-PD1 Combined power dump, resistor, and capacitor unit. For a complete power supply system, only a transformer with a secondary winding supplying 32VAC is required. For systems with up to 5-8 QuickStep motors, this unit can serve as a central power dump unit. The capacitor offers an efficient and economical way of storing the energy returned from the motors during deceleration of high inertias. See also www.jvl.dk
15.2.2
PSU48-240 A compact switch-mode power supply with 240W output power at 48VDC. The power supply is UL and CSA approved. It is protected against overvoltage, overtemperature and short-circuit or overload of the output. The power supply can either be mounted on a DIN rail or wall mounted. See also the data-sheet LD0047 which can be downloaded from www.jvl.dk
15.2.3
Other power supplies JVL offers a wide range of power supplies in the power range 45W to 1.5kW with output voltages 24 and 48VDC. They all uses switch-mode technology in order to minimize physical dimensions and for easy adaptation to mains voltages in the range 90 to 240VAC. The product range covers the following types: PSU05-045, PSU24-075, PSU24-240, PSU48-240, PSU48-800, PSU48-1000, PSU48-1500. See also the data-sheet LD0058 (overview) or LD0053 (detailed) which can be downloaded from www.jvl.dk.
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
203
15.3
204
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
16
CE Declaration of Conformity
EU - Declaration of Conformity
Manufacturer Company Name: Address: Telephone: E-mail: Web: JVL Industri Elektronik A/S Blokken 42 DK-3460 Birkerd Denmark +45 45 82 44 40 [email protected] www.jvl.dk
Hereby declare that Product No.: Name: Type: - is in conformity with: MIS231, 232 and 234 Integrated Hybrid stepper motor Series from A1 to A6 incl. subversions
- COUNCIL DIRECTIVE of 3 May 1989 on the approximation of the laws of the Member States relating to electromagnetic compatibility (89/336/EEC) was manufactured in conformity with the following national standards that implements a harmonised standard: EN 61800-3 Adjustable speed electrical power drives systems - part 3: EMC product standard including specific test methods..
Januar 2008
LX0020-01GB
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
205
206
JVL Industri Elektronik A/S - User Manual - Integrated Step Motors MIS 231, 232, 234
Index
A A_SOLL 83, 117121, 152, 155 Abort SDO 169 Acc_Emerg 87 Acceleration factor 161 Address, CANopen 139 Address, MacTalk 53 Afzup_ConfMax 92 Afzup_ConfMin 92 Afzup_Filter 93 Afzup_MaxSlope 92 Afzup_ReadIndex 92 Afzup_WriteBits 91 An 90 Analog input filters 26 AnalogFiltered 90 AnalogIn 91 Analogue inputs 25 Auto correction 34 Available_IO 104 B Baud rate 45, 86, 102, 141, 178, 189 Binary command 131 Bipolar motors 41 Boot up telegram 165 Bootloader_Ver 104 Brakes and shaft reinforcement 204 Busvol 91 C Cables 202 Cabling 40, 140 Calculator (basic) 132 Calculator (options) 133 CAN A 139 CAN B 139 CAN bus connectors 142 CANbus 47 CANopen 12, 15, 47, 77, 104, 135 CanOpen 80 CANopen network 136 Capacitor 18 CE requirements 40, 205 Checksum 103 CiA DS-301 standard 136 CiA membership 136 Clear errors 53 COB-ID 139, 152, 155 Command 86 Command timing 177 Conditional jump (multiple inputs) 124 Conditional jump (single input) 123 Confidence alarms 27 Confidence check 26 Connecting the SMC75 Controller to the CAN bus 140 Connection of motor 4142 Connection of motor phases 42 Connections
Driver 7 M12 7 MIS23x 14 Motor 41 SMC75 13 Connectors 143 M12 143 Control voltage 19
154, 156174, 178 CAN bus connectors 142 CanOpen Explorer 141, 144148 Communication test 144 Connecting the SMC75 Controller to the CAN bus 140 DS-301 136 DS-301 device profiles 164 DSP-402 136 Node id and baud rate 141 PDOs 136 slave 136
Current, motor phase current 61 CVI control voltage 19 D Declaration of Conformity 205 Digital inputs 24 Dimensions 192 Direction inputs 23 Download SDO 167 Driver connections 7 DS-301 136, 149 DS301 specified Communications objects 149 DSP 402 80 DSP-402 136 DSP-402 Support 157 E EDS file 140 EMCY 150 Emergency object 150 Enable and Disable PDOs 151 Encoder outputs 32 Encoder_Pos 85
207
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS231, 232, 234
Index
Encoder_Type 91 End-of-travel inputs 23 Enter safe mode 182 Err_Bits 30, 88 Error acceleration 73 Error Control Services 172 Error handling 73 Error output 31 Error_Mask 99 Errors, clearing 53 Exit safe mode 183 Ext_Encoder 105 Ext_Encoder_Vel 105 F Factors 160 Fbus_Baud 105 Fbus_Node Id 104 Filtering 26 Filters 43, 53 Filters, analog input 26 FilterStatus 93 Flash 53 Flwerr 86 Flwerrmax 86 Follow error 73 Fuse dimensioning 19 G Galvanic isolation 22, 25, 30 Gear mode 67 GEAR1 10, 63, 82, 85 GEAR2 10, 63, 82, 85 GND 143 Ground 22 Grounding 143 Grounding, power supply 19 Group write register 184 Group_Id 102 Group_Seq 102 H Hardware_Rev 103 Heartbeat 172173 Home input 24 Home sensor 70 Home_Bits 96 Homemode 89 Homing mode 162 I In physical position output 31 In position output 31 Index_Offset 96 Indexer SMI30 199 Inpos_Mask 99 Input_Filter_Cnt 99 Input_Filter_Mask 99 Inputs 86
Interface
Analogue 25 Digital 24 End-of-travel 23 Home 24 SMC75 21 Step pulse and direction 23 User inputs 22
J Jump 123 Jump according to a comparison 134 Jump according to a register in the MAC motor 127 Jumps 123124, 127, 134 L Life Guarding 172 M M12 143 M12 connector 7 MAB23x-01 204 MAB23x-02 204 MAC00-B1/B4 198 MacTalk 5152, 5659 Main Loop Time 178 Max_P_Ist 87 Max_Voltage 103 Min bus voltage 73 Min_Busvol 91 Min_P_Ist 87 Ministeps 12 MIS23x connections 14 MLT 178 MODE_REG 152, 155 Mode_Reg 24, 81, 147, 152, 155 Modes of operation 10, 63, 116, 162
Gear mode 67 Passive mode 64 Positioning mode 66 Velocity mode 65 Zero search mode 6872 Motor Connection 4142 Motor Connections 179
JVL Industri Elektronik A/S - User Manual - Integrated Servo Motors MAC050 - 800
208
Index
Motor phase current 61 Motor Phases 41 Motortype 103 Move (Absolute) 120 Move (Relative + set outputs) 119 Move (Relative + velocity change at a distance) 118 Move (Relative) 117 Move (Sensor) 121 Move current 61 Move operations 116 Multi-Master capability 138 My_Addr 102 N Negative limit 23 NL, negative limit 23 NL_Mask 97 NMT (Network Management services) 171 Node address 139 Node Guarding/Life Guarding 172 Node id 141 Noise 40 Noise emission 40 No-loss bus arbitration 138 Notsaved 104 NPN output 22 O Object dictionary 151 Object dictionary defined for DSP-402 support 158 Opening a file 54 Operating modes 10, 6372, 116, 162 Optical isolation 22, 25, 30 Option_Bits 104 Ordering Information 186 Outputs 86 Parallel connection of motor phases 4142 Parallel connection of motors 42 Passive mode 64 PDOs 136, 151, 153, 163, 166167 Phase current 61 Phases 41 PL, positive limit 23 PLC systems 31 PLC/PC 200 Pn 90 PNP 23 PNP output 22 Position factor 160 Position limit min and max 73 Position mode 10 Positioning mode 66 Positioning-Speed Control 89 Positive limit 23 Power Supplies 203 Power Supply
Capacitor
18
Power supply
Grounding 19 SMC75 18
Power supply,
P P- terminal 18 P+ terminal 18 P_Home 88 P_Ist 84, 86, 101, 153, 156 P_New 90, 101 P_Soll 10, 34, 63, 133, 152, 155
Encoder 32 Error output 31 In position 31 In pyhsical position 31 Pulse/Direction 32 SMC75 special outputs 31 SMC75 user outputs 29
Profile position mode 162 Prog_Vers 81 Program comments 116 Program jumps 123124, 127, 134 Program status and command 184 Programming 107134 PSU05-045 203 PSU24-075 203 PSU24-240 203 PSU48-1000 203 PSU48-1500 203 PSU48-240 203 PSU48-800 203 Pull-up resistor 22 Pulse/Direction driver 6 Pulse/direction outputs 32 PulseDirMask 94 PulseDirMod 94 Q Quick start 45 QuickStep motors 10 R Read register 181 Read register block 182 Receive PDOs 151, 163 Register overview 77
209
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS231, 232, 234
Index
Registers
7589, 91, 95, 100 A_Soll 83, 117121, 152, 155 Acc_Emerg 87 Afzup_ConfMax 92 Afzup_ConfMin 92 Afzup_MaxSlope 9293 Afzup_ReadIndex 92 Afzup_WriteBits 91 An 90 AnalogFiltered 90 AnalogIn 91 Available_IO 104 Bootloader_Ver 104 Busvol 91 Checksum 103 Command 86 Encoder_Pos 85 Encoder_Type 91 Err_Bits 30, 88 Error_Mask 99 Ext_Encoder 105 Ext_Encoder_Vel 105 Fbus_Baud 105 Fbus_Node Id 104 FilterStatus 93 Flwerr 86 Flwerrmax 86 GEAR1 10, 63, 82, 85 GEAR2 10, 63, 82, 85 Group_Id 102 Group_Seq 102 Hardware_Rev 103 Home_Bits 96 Homemode 89 Index_Offset 96 Inpos_Mask 99 Input_Filter_Cnt 99 Input_Filter_Mask 99 Inputs 86 Iosetup 86, 96 Max_P_Ist 87 Max_Voltage 103 Min_Busvol 91 Min_P_Ist 87 Mode_Reg 24, 81, 147, 152, 155 Motortype 103 My_Addr 102
NL_Mask 97 Notsaved 104 Option_Bits 104 Outputs 86 P_Home 88 P_Ist 84, 86, 101, 153, 156 P_New 90, 101 P_Soll 10, 34, 63, 133, 152, 155 Pn 90 Prog_vers 81 PulseDirMask 94 PulseDirMod 94 Register descriptions 81 89, 91, 95, 100 Register overview 7780 Run_Current 83, 152, 155 Serial_Number 103 Setup_Bits 96, 105 Standby_Current 84 Standby_Time 83 Startmode 88 Statusbits 34, 87 Temp 87 Tn 90 Turntable_Mode 97 V_Home 89 V_Ist 84, 153, 156 V_Soll 10, 63, 83, 117 121, 130, 147, 152, 155, 176 V_Start 8182, 85 Vn 90 Remarks 116 Reset controller 183 Reset motor 53 Reset position 53 Resistors, termination 43 Resonances 12 RS232/RS485 181 RS485 interface 47, 49 Run_Current 83, 152, 155
S Save in flash 53 Save position 128 Saving a file 54 Scope function 59 Screened cable 40 SDO (Service Data Objects) 167 Send FastMAC command 130131 Serial communication 181
JVL Industri Elektronik A/S - User Manual - Integrated Servo Motors MAC050 - 800
210
Index
Serial connection of motor phases 4142 Serial connection of motors 42 Serial interface 47 Serial_Number 103 Set a register in the MIS motor 127 Set operation mode 116 Set outputs 122 Set position 129 Setup_Bits 96, 105 Short block length 138 Slope alarms 27 Slope limitation 26 SMC35 196 SMC35B 196 SMC75 89, 12, 196198 Unipolar Motors 41 Upload SDO protocol 168 User inputs, SMC75 22 User outputs 29 V V 130 V_Home 89 V_Ist 84, 153, 156 V_Soll 10, 63, 83, 117
CANopen slave 136 Inputs 21 User inputs 22 SMC75 analogue inputs 25 SMC75 connector 13 SMC75 Power Supply 18 SMC75 special outputs 31 SMC75 user outputs 29 SMD41 198 SMD73 197198 Pulse/Direction driver 7 SMI30 196, 199 Special outputs, SMC75 31 Specifications 189190, 192 Standby current 61 Standby time 61 Standby_Current 84 Standby_Time 83 Startmode 88 Statusbits 34, 87
V_Start 8182, 85 Velocity accuracy 176 Velocity encoder factor 161 Velocity mode 10, 65, 162 Vn 90 Voltage Overload 25 W Wait for (x) ms before continuing 125 Wait for a register value before continuing 128 Wait for an input combination before continuing (multiple inputs) 126 Wait for an input combination before continuing (single input) 125 Write Register 182 Write to flash 183 Z Zero search 129 Zero search mode 6872
Step pulse and direction inputs 23 Step pulse inputs 23 SYNC (Synchronisation Object) 170 T Technical Data 189190, 192 Temp 87 Temperature protection 31 Termination 140, 142 Termination resistors 43 Tn 90 Torque 42, 61 Transmit PDOs 153, 163 Trouble-shooting 193 Turntable_Mode 97 U Unconditional jump 123
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS231, 232, 234 211