Siemens SIMATIC NET CP 243-2 Manual page 91

As-interface master
Table of Contents

Advertisement

5.2.11
Set_Offline_Mode
Purpose
This call switches between the online and offline mode.
The online mode is the normal situation for the CP 243-2. Here, the following
jobs are processed cyclically:
During the data exchange phase, the fields of the output data are transferred to
the slave outputs for all slaves in the LAS. The addressed slaves transfer the
values of the slave inputs to the master when the transfer was free of errors.
This is followed by the inclusion phase in which there is a search for the existing
AS-i slaves and newly added AS-i slaves are entered in the LDS or LAS.
In the management phase, jobs from the user such as writing parameters are
executed.
In the offline mode, the CP 243-2 only processes jobs from the user. (Jobs that
involve the immediate addressing of an AS-i slave are rejected with an error.)
There is no cyclic data exchange with the AS-i slaves.
The OFFLINE=TRUE bit is not permanently stored; in other words, following a
warm/hot restart, the CP 243-2 is once again in the online mode.
Structure of the Job Data in the Send Buffer
Bank
Byte
2
0
2
1
Structure of the Job Data in the Receive Buffer
Bank
Byte
2
0
2
1
SIMATIC NET CP 243-2 AS-i Master
C79000-G8976-C142/02
Meaning
Bit 7
Command number: 0A
reserved
Echo of the command number: 0A
Command status
Command Interface
Bit 1
H
Mode
(0=online
1=offline)
Meaning
H
Bit 0
5-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents