Perpetual Suffering
Member
I am trying, for the first time, to write values to the control word of a Micromaster 440 using an S7-300 PLC. I barely know what I'm doing, and what I'm doing isn't working.
I am using the MOVE command to move MW20 to PQW256, and am flipping M 21.3 via a button on the HMI to start and stop the drive. It ain't working.
It looks to me like bit 3 of the control word "enables" and "disables" operation, so if I byte swap MW20, that makes bit 3 of the control word M21.3.
I can at least see that I am successfully flipping M21.3 in a watch table.
Have any of you guys ever done this before? Is it obvious what I'm doing wrong? Perhaps I'm doing EVERYTHING wrong?
I am using the MOVE command to move MW20 to PQW256, and am flipping M 21.3 via a button on the HMI to start and stop the drive. It ain't working.
It looks to me like bit 3 of the control word "enables" and "disables" operation, so if I byte swap MW20, that makes bit 3 of the control word M21.3.
I can at least see that I am successfully flipping M21.3 in a watch table.
Have any of you guys ever done this before? Is it obvious what I'm doing wrong? Perhaps I'm doing EVERYTHING wrong?