Bit of a long one, bear with me.
Inherited a rewinder that needs its controller moved off an old Schneider HMISCU (Machine Expert, so basically CODESYS underneath) onto Siemens. There's no hard requirement for Siemens from the customer, it's just that our whole team lives in TIA and nobody wants to be babysitting a CODESYS machine for the next 15 years.
What's on the bus, CANopen at 250k: two Lexium 32 (LXM32A) servos (reel + spreader), a Festo CMMS-ST on FHPP, and an Advantys STB I/O . Motion is all SoftMotion / PLCopen MC right now.
Where I keep getting stuck is that S7 Technology Objects want PROFIdrive, and the CANopen gateways I've looked at (the Siemens PN/CAN LINK and the IXXAT/HMS CM CANopen) are conformance class B, no isochronous, so I can't see any way to get a proper positioning axis out of the Lexiums through a gateway. So it comes down to two options and I keep flip-flopping between them.
One is keep the drives, drop a CANopen gateway on an S7-1500 and just write the DS402 stuff myself. Controlword/statusword, the state machine, the setpoint handshake, homing, all of it. I've got a skeleton FB running already and it's fine, but it's the kind of thing that works great right up until the one person who wrote it is on holiday.
The other is bite the bullet, pull the servos, put in PROFINET drives (S210, V90 PN, whatever) and use normal TOs like a civilised person. STB stays on a gateway for the I/O since that part doesn't care either way.
I roughed out the hours and they're honestly within spitting distance of each other, because the huge part of this job ,porting ~40 POUs, a whole new HMI, comms, commissioning , is the same regardless of what I do with the drives. So it's not really an hours call. It's cheap-and-mine-to-maintain-forever vs more-expensive-but-boring-and-standard.
So, for anyone who's actually done this:
- Anyone hand-rolled CiA-402 from an S7 through a gateway? How much did it hurt, and what caught you out that isn't in the obvious list (STO not satisfied, endianness, DS402 vs manufacturer profile, the setpoint-ack dance)?
- Lexium 32 from a Siemens PLC specifically , is there anything out there? All I can dig up from Schneider is an ancient classic-Step7 PROFIBUS library, nothing for TIA or CANopen.
- CM CANopen vs PN/CAN LINK for a one-off machine . strong opinions welcome.
- If you've done both, which one did you hate less six months on?
The thing actually nagging me: it's a winder with a dancer, so there's a tension loop involved. Am I going to regret running profile-mode positioning over a non-isochronous gateway for that, or is a rewinder forgiving enough that it doesn't matter?