Join us today!
SMC JXCE1
I have a machine I am setting up with two SMC JXCE1 motor drivers. the ESI file has been imported but the motor driver doesn't match the standard motor layout at all and cannot be connected to twincat motion axis.
has anyone had any experience with these drives before. I am starting to look into writing my own driver to switch bits on and off but would be nice if some one had an example or library to speed things up?
Hello BradCor,
I have used the SMC JXC91 (Ethernet/IP version) of the JXC line of servo drives before through Logix Studio 5000.
The memory map between the two looks practically the same.
The idea behind operation is the following:
To Power On and Setup Before Moving:
1. Turn on Power Supply
2. Turn on SVON bit (which is the 9th bit of "Output Port to which signals are allocated to" in your Rx PDO1 Mapping)
3. Check that the SVRE bit turns on (which is the 9th bit of the "Signal allocated to the input port" in your Tx PDO1 Mapping)
4. Turn on the SETUP bit (which is the 12th bit of "Output Port to which signals are allocated to" in your Rx PDO1 Mapping)
5. The BUSY bit turns on (the 8th bit of the "Signal allocated to the input port" in your Tx PDO1 Mapping)
6. SETON and INP will turn on (10th and 11th bits of the "Signal allocated to the input port" in your Tx PDO1 Mapping)
To do "Operation by numerical instruciton" (meaning sending parameters for accel, deccel, velocity, and commanding to go to that position with those parameters).
1.Set your parameters (accel, deccel, pushing speed, pushing force, ect)
2.Toggle the numerical data flag bit (this signals to the drive to read the parameters that you have allocated to the outputs from the PLC to the drive)
3. Toggle the start flag bit to start the move.
Two little hints as well:
>you want to make sure to set your pushing force to zero. If you don't, then the servo motor will push with a force, so when you get to a position, it will get to that position then apply the force, which moves you away from where you want to be.
>the "Numerical Data Flag" output determines which parameters are read. each bit in these bytes needs to be turned on for the parameters to be read.
I attached the manual as well that shows how to operate the different signals.
I think from these instructions, you can interact with this in your MAIN program in your PLC and create some state logic and structure an axis from it.
-Evan H
hi, thanks for the reply Evan that was really useful and i now have the drive working. the only issue i have now is the drive only seems to run in relative mode not absolute. is that due to the numerical data flag as well?
@bradcor Hello Brad,
That has to do with indexes 7011h and 7020h.
In 7020h, you have two bits for your movement mode. Bits 0 and 1 control what you want the movement mode to be. You want to set the two bits to "01" (value of 1) for absolute mode and "10" (value of 2) for relative move mode.
In 7011h, turn on bit 4 so that the controller knows to read the values in 7020h to determine what can of movement is going to be made (you "flag" the numerical value it to be read)
Hi brad,
Did you managed to get the jxce1 working with twincat3 motion menu?
I'm new to automation, and gonna start working on 1 of those. And Im still wondering how can i manage to make jxce1 work with motion menu itself, when i am linking I/O in Axis menu, no option pops up.
@kraz hi,
unfortunately i did not, you need to write your own driver to get this working with twincat. I am currently trying to connect with smc to get a driver from them and will share if that gets anywhere.
i have written my own driver with help from Evan. i was running my motor from a windows pc running c# so i haven't actually written a driver on the twincat side. i just talk to the variables on twincat from the c#.
another issue i found it the drive doesn't seem to store rotational information. it has precise positioning for one rotation at which point the counter resets to zero so you need to track the rotations yourself.
if you ask it to do an absolute move of 78000 it will rotate twice. then if you ask for an absolute move to 0 it will not move.
let me know if you need any help setting that up or if you manage to get any further info from smc.
@bradcor hi,
Im currently trying to configure the tablet oh motions from the SMC drivers by ACP (the aplication of the drivers).
From that table, you can configure the speed, ACC, deacc and target positioning.
From that i think you can only ask the PLC to read that information to make him move.
- 17 Forums
- 265 Topics
- 932 Posts
- 1 Online
- 688 Members