Siemens S7 FM352 Cam Module

L

Thread Starter

LUIZ RODRIGUEZ

I am using the FM352 CAM MODULE on a rotary encoder. The module is functioning correctly exept when there is power down or power failure. I require to start the machine to the zero position (using a sensor on a shaft which is wired to the module Input as a reference point). When the machine has reached this zero reference point I need to zero the counts on the cam module to synchronise the machine with the cam module. At present, after a power failure, the counts in the CAM MODULE resets to zero, but the machine is not in the zero reference position. I then have to jog the machine to the zero reference sensor and then power down the CPU in order to reset the cam counts.

I have the manual but I cannot find anything in there which explains how to reset the cam counts when required.

Regards,

Luiz Rodriguez (South Africa)
email: 64008 @ worldonline. co. za
 
J

Jose A. Lloret

Hello Luiz,

I have tested these problems and I have the
solution. You have to:
- In OB1, or into a module that you call cyclicly, move the actual value of the encoder to a data word (dint).
- In OB100, you have to move the actual value kept before to the reference point coordinate.
- Then you set to "1" the bit "Set reference point", on the CAM db.

Could be something like this:

L "DB_Auxiliares".Act_Encoder T "CAM".REFPT
S "CAM".REFPT_EN

Best regards,

Jose A. Lloret
 
Top