Download - infoPLC

Transcript
Address
Overview
Various hardware addresses, as well as memory bits and memory words, are used in
the PLC example program. To facilitate orientation, an overview of the addresses used
appears below in list format.
Type
Address
Comment
Digital inputs
%Ir.m.x
Digital inputs are specified on a hardware basis:
r indicates the rack number, m the slot and x the
input number.
Example: Emergency-off feedback %I0.3.0.
Digital outputs
%Qr.m.x
Digital outputs are specified on a hardware basis:
r indicates the rack number, m the slot and x the
input number.
Example: Indicator lamp for manual mode
%Q0.5.1.
Analog inputs
%IWr.m.c
Analog inputs are specified on a hardware basis:
r indicates the rack number, m the slot and c the
channel number.
Example: ATV feedback %IW0.7.0
Analog outputs
%QWr.m.c
Analog outputs are specified on a hardware basis:
r indicates the rack number, m the slot and c the
channel number.
Example: ATV setpoint %QW0.8.0
Sercos axes
%CHr.m.c
Axis data via the Sercos bus are addressed on a
hardware basis: r indicates the rack number,
m the slot and c the Sercos address.
Example: Axis at Sercos address 8 %CH0.10.8
Sercos master
%CHr.m.c
Sercos-master data are addressed on a hardware
basis: r indicates the rack number, m the slot and
c the Sercos address.
Example: Master %CH0.10.0 (type:
T_CSY_RING)
Data for Viewer
%MW200
to
%MW299
Data for Viewer are written to flag words.
Individual bits are written via block
BIT_TO_WORD.
Example: Motor velocity %MW220
Data from Viewer
%MW300
to
%MW399
Data from Viewer are read by flag words.
Individual bits are extracted via block
WORD_TO_BIT.
Example: Motor velocity %MW220
Premium Lexium Altivar Sercos_EN.doc
Schneider Electric
45