EasyManua.ls Logo

Profichip VPC3+C - Rd_Input (SAP 56); Rd_Output (SAP 57)

Profichip VPC3+C
98 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PROFIBUS DP Interface 6
Bit Position
Address
7 6 5 4 3 2 1 0
Designation
3CH
Reserved
Reserved
Sync
Unsync
Freeze
Unfreeze
Clear_Data
Reserved
R_GC_
Command
See below
for coding
R_GC_Command, Address 3CH:
bit 7-6
Reserved
bit 5
Sync:
The output data transferred with a Data_Exchange telegram is changed from ‘D’
to ‘N’. The following transferred output data is kept in ‘D’ until the next Sync
command is given.
bit 4
Unsync:
The Unsync command cancels the Sync command.
bit 3
Freeze:
The input data is fetched from ‘N’ to ‘D’ and „frozen“. New input data is not
fetched again until the DP-Master sends the next Freeze command.
bit 2
Unfreeze:
The Unfreeze command cancels the Freeze command.
bit 1
Clear_Data:
With this command, the output data is deleted in ‘D’ and is changed to ‘N’.
bit 0
Reserved
Figure 6-16: Format of the Global_Control Telegram
6.2.7 RD_Input (SAP 56)
The VPC3+C fetches the input data like it does for the Data_Exchange
telegram. Prior to sending, ‘N’ is shifted to ‘D', if new input data are
available in ‘N'. For ‘Diag.Freeze_Mode = 1', there is no buffer change.
6.2.8 RD_Output (SAP 57)
The VPC3+C fetches the output data from the Dout_Buffer in ‘U’. The user
must preset the output data with ‘0’ during start-up so that no invalid data
can be sent here. If there is a buffer change from ‘N’ to ‘U’ (through the
Next_Dout_Buffer_Cmd) between the first call-up and the repetition, the
new output data is sent during the repetition.
VPC3+C User Manual
Revision 1.03 51
Copyright © profichip GmbH 2004-2006

Table of Contents