Siemens SIMATIC CM35 Manual page 85

Table of Contents

Advertisement

Pulse Counter Operating Mode
Table 5-13
Assignment of the DO byte
Address
Name
DO_Block
+0.0
Digital_Output_Chan_1
+0.1
Digital_Output_Chan_2
+0.2
Digital_Output_Chan_3
+0.3
Digital_Output_Chan_4
+0.4
Digital_Output_Chan_5
+0.5
Digital_Output_Chan_6
+0.6
Digital_Output_Chan_7
+0.7
Digital_Output_Chan_8
+1.0
Res_1
=2.0
5-16
Table 5-13 shows the assignment of the bits of the DO byte to the counting
channels.
Type
STRUCT
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BYTE
END_STRUCT
Example (S7): Set outputs 1 and 5
- Parameterize DO mode with CPU control
- The CM35 has the module start address 256.
L
2#0001_0001_0000_0000 // Load DO byte to set outputs
T
PQW 256
Initial Value
Commentary
DO mode ² ² ² ² CPU control² ² ² ² :
FALSE
0 Di it l
0: Digital output off
FALSE
1: Digital output on
FALSE
DO mode ² ² ² ² automatic² ² ² ² :
DO mode ² ² ² ² automatic² ² ² ² :
FALSE
0: Digital output off
1: Digital output enabled
FALSE
You can use a parameterization bit
FALSE
to specify whether enabling is to be
to specify whether enabling is to be
controlled with the DO byte or
FALSE
whether continuous enable is to be
whether continuous enable is to be
FALSE
B#16#0
1 and 5
// Module start address = 256
(4) J31069-D0416-U001-A5-7618
t t ff
g
p
g
p
Note:
Note:
used.
In reserve
CM35 Counter Module

Advertisement

Table of Contents
loading

Table of Contents