7-10
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
7.4
Controlling the Digital Outputs
The status of the digital outputs is specified with the DO byte.
0: Switch off output
1: Switch on output
Write the DO byte to the address
²
module start a 0.
²
Table 7-12 shows the allocation of the bits of the DO byte to the channels.
Note
Control of the digital outputs must be programmed with a word access.
Table 7-12
Assignment of the DO byte
Address
Name
Type
Initial Value
Commentary
DO_Block
STRUCT
+0.0
Digital_Output_Chan_1
BOOL
FALSE
0: Digital output off
1 Di i l
+0.1
Digital_Output_Chan_2
BOOL
FALSE
1: Digital output on
+0.2
Digital_Output_Chan_3
BOOL
FALSE
+0.3
Digital_Output_Chan_4
BOOL
FALSE
+0.4
Digital_Output_Chan_5
BOOL
FALSE
+0.5
Digital_Output_Chan_6
BOOL
FALSE
+0.6
Digital_Output_Chan_7
BOOL
FALSE
+0.7
Digital_Output_Chan_8
BOOL
FALSE
+1.0
Res_1
BYTE
B#16#0
In reserve
=2.0
END_STRUCT
Example (S7): Set outputs 1 and 2
- The CM35 has the module start address 256.
L 2#0000_0011_0000_0000 // Load DO byte to set
outputs 1 and 2
T PQW 256
// Mod. start addr. = 256
Timer Operating Mode
Содержание SIMATIC CM35
Страница 1: ...SIMATIC Counter Module CM35 Manual Release 06 2000 ...
Страница 9: ...vi CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Table of Contents ...
Страница 10: ...1 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Product Overview 1 ...
Страница 20: ...2 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description 2 ...
Страница 23: ...2 4 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Function Description ...
Страница 47: ...3 24 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Commissioning ...
Страница 48: ...4 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Data Communication with the CM35 4 ...
Страница 70: ...5 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Pulse Counter Operating Mode 5 ...
Страница 88: ...6 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Period Duration Measurement Operating Mode 6 ...
Страница 98: ...7 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Timer Operating Mode 7 ...
Страница 112: ...8 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode 8 ...
Страница 131: ...8 20 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Positioning Operating mode ...
Страница 133: ...A 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Literature ...
Страница 134: ...B 1 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity B ...
Страница 135: ...B 2 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 EC Declaration of Conformity ...
Страница 141: ...Glossary 6 CM35 Counter Module 4 J31069 D0416 U001 A5 7618 Glossary ...