Controlling The Digital Outputs - Siemens SIMATIC CM35 Manual

Table of Contents

Advertisement

4.3.2

Controlling the Digital Outputs

CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
The digital outputs of the CM35 can be controlled by the user program, based
on the parameterization selected.
The status of the digital outputs can be specified by writing the DO pattern
(DO byte) to I/O output byte ²module start address + 0.²
Table 4-7
Allocation of the DO byte for controlling the digital outputs
Bit
Description
Address
0
Digital output 1
1
Digital output 2
2
Digital output 3
3
Digital output 4
4
Digital output 5
5
Digital output 6
6
Digital output 7
7
Digital output 8
Example (S7):
Set outputs 1 and 5 of the ²pulse counter² operating mode.
- 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 1 and 5
T
PQW 256
Note
Remember that only word- - accesses to even addresses are permitted.
Data Communication with the CM35
Allocation
0: Digital output off
1: Digital output on
1 Di it l
// Module start address = 256
t t
4-13

Advertisement

Table of Contents
loading

Table of Contents