Siemens SIMATIC NET SPC 4-2 LF Manual page 73

Profibus controller
Table of Contents

Advertisement

Address
Control
7
6
register
312
H
313
Cmd-
H
Leav
e-
Mast
er
Bit 0
START-SPC 4-2
Exit the offline status
1 =
The SPC 4-2 leaves the online status and changes to passive idle or the SM mode depending on
whether the SM mode bit was also set and the idle and syni timers are started.
Bit 1
EOI
End of Interrupt
1 =
End of Interrupt, the SPC 4-2 switches the interrupt outputs inactive and sets EOI back to logical
'0'.
Bit 2
SM Mode
SM Mode
1 =
If this bit and START-SPC 4-2 are set, the SPC 4-2 changes to the SM mode state The SPC4-2
accepts only SM frames in the SM-Mode-State.
Bit 3
Go-Offline
Go to the offline state
1 =
Once the current job is completed, the SPC 4-2 changes to the offline state
Bit 4
DEL-TIM
Delay timer
1 =
The delay timer is stopped (SET) or reset (RESET)
Bit 5
Baudrate Search
Automatic baud rate search
1 =
Automatic baud rate search is activated:
If SD4 or a complete SD1/SD2/SD3 frame is received error free, the "Correct-SD" interrupt is
generated. An SC received free of errors is ignored.
If the received frame is bad, the "Wrong-SD" interrupt is generated.
Bit 6
Cmd-Leave-Master
This is evaluated only if DP mode = 1 is set in mode register 0.
1 =
Output data in indication buffer D are deleted, or more precisely, written with 00H.
Indication buffers D and N are swapped.
The following SAPs are locked with Request-SA = 7FH:
"Leave-Master" interrupt is generated and Cmd-Leave-Master = 0 is reset
Table 7-13 : PREAMBLE Register
PROFIBUS Controller SPC 4®-2 LF
C79000-G8976-C157-3
Bit Position
5
4
Baudra
DEL-TIM
te
Search
Baudra
DEL-TIM
te
Search
- DEFAULT-SAP
(for Data-Exchange)
- SAP-38
(for Read-Input-Data)
- SAP-39
(for Read-Output-Data)
- SAP-3A
(for Global Control Frame)
3
2
1
SM-
Mode
Go-
SM-
EOI
Mode
Offlin
e
ASIC Interface
Meaning
0
Mode-Reg1-
Reset 7..0
STA
Mode-Reg1-
RTS
Set
7..0
PC
4-2
73

Advertisement

Table of Contents
loading

Table of Contents