MS300/MH300 PROFINET Communication Card CMM-PN02
CMM-PN02 Operation Manual
Below is the TIA PORTAL program-
editing screen and an example of writing a program by using
20xx message format.
1. IW282 means 2103H (output frequency).
2. QW276 means 2000H (control word).
3. The writing of the program explains as follows.
OB1 Program (Main Loop) is explained as follows:
a. Judging if IW282 (2103H) equals to 6000. If YES, QW276 (2000H) equals to 1, which
means the drive stops running; if NO, go to RES label;
b. Judging if IW282 (2103H) equals to 0. If YES, QW276 (2000H) equals to 2, which means
the drive stars running; if NO, go to END label;
Therefore, the drive performs continuous actions of running until stop, and then starts running
again.
Example 3: (Output deviation X = Output deviation y = 200)