Siemens SIMATIC CM35 Manual page 127

Table of Contents

Advertisement

Positioning Operating mode
8.4
Controlling the Digital Outputs
Table 8-6
Assignment of the DO byte
Address
Name
DO_Block
+0.0
Forwards_Axis_1
+0.1
Backwards_Axis_1
+0.2
Forwards_Axis_2
+0.3
Backwards_Axis_2
+0.4
Forwards_Axis_3
+0.5
Backwards_Axis_3
+0.6
Forwards_Axis_4
+0.7
Backwards_Axis_4
+ 1.0
Res_1
= 2.0
8-16
The user program can control the digital outputs of the CM35 (e.g., to set up
or synchronize an axis).
The user program must ensure that the direct access does not cause uninten-
tional movements or accidentally terminate running movements.
The firmware prevents forward movement and backward movement from
being switched on at the same time. Forward movement is a movement in the
direction of positive values.
Write the DO byte to the address ²module start address + 0.²
Table 8-6 shows the allocation of the bits in the DO byte to the axes.
Note
Control of the digital outputs must be programmed with a word access.
Type
STRUCT
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BYTE
END_STRUCT
Example (S7): Switch on forward- - movement for axis 2
- - The CM35 has the module start address 256.
L
2#0000_0100_0000_0000 // Load DO byte for forward
T
PQW 256
Forward motion is a movement towards the positive values.
Initial Value
Commentary
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
B#16#0
running of axis 2
// Module start address = 256
(4) J31069-D0416-U001-A5-7618
0: Axis off
1: Axis on
1 A i
In reserve
CM35 Counter Module

Advertisement

Table of Contents
loading

Table of Contents