Hello all,
I'm working on a project involving stepper motors that is currently utilizing Allen Bradley hardware/software, but I'm transitioning the project to run on a Siemens s7-1200 and KTP400 Basic HMI. I am working in Tia Portal v17.
The stepper motors are from AMCI, no. SMD23E2-130E-M12
I've found some resources on the AMCI website including a library for the motor which contains a lot of different functions and some data blocks.
Link to motor resources/library (Siemens TIA Portal Sample Programs): https://www.amci.com/plc-automation...es-integrated-stepper-motor-controller-drive/
As someone who hasn't dealt with programming stepper motors before, how would I go about creating a program which is capable of homing the motors to a set position, and then being able to jog them clockwise/counterclockwise in between the home position and a limit position. I don't really care about any other motor functions at the moment, but I'm unsure of which functions I need to get this to work.
I've created a simple HMI screen with a home button, a clockwise jog, a counterclockwise jog, and an indicator for the stepper motor position. Ideally I'd only want the jog commands to work as the button is being held down.
Some of the functions in the library include enable/disable driver, jogCw, jogCcw, writedata, stopjog, and more, but I'm not sure which ones I need to include to create a working program. Research has suggested I can also control stepper motors directly with a Siemens PWM command but I'm also unsure how this would work in the program. Any help or literature is greatly appreciated
I'm working on a project involving stepper motors that is currently utilizing Allen Bradley hardware/software, but I'm transitioning the project to run on a Siemens s7-1200 and KTP400 Basic HMI. I am working in Tia Portal v17.
The stepper motors are from AMCI, no. SMD23E2-130E-M12
I've found some resources on the AMCI website including a library for the motor which contains a lot of different functions and some data blocks.
Link to motor resources/library (Siemens TIA Portal Sample Programs): https://www.amci.com/plc-automation...es-integrated-stepper-motor-controller-drive/
As someone who hasn't dealt with programming stepper motors before, how would I go about creating a program which is capable of homing the motors to a set position, and then being able to jog them clockwise/counterclockwise in between the home position and a limit position. I don't really care about any other motor functions at the moment, but I'm unsure of which functions I need to get this to work.
I've created a simple HMI screen with a home button, a clockwise jog, a counterclockwise jog, and an indicator for the stepper motor position. Ideally I'd only want the jog commands to work as the button is being held down.
Some of the functions in the library include enable/disable driver, jogCw, jogCcw, writedata, stopjog, and more, but I'm not sure which ones I need to include to create a working program. Research has suggested I can also control stepper motors directly with a Siemens PWM command but I'm also unsure how this would work in the program. Any help or literature is greatly appreciated