- •Important Comments
- •Legal Principles
- •Copyright
- •Personnel Qualification
- •Intended Use
- •Symbols
- •Font Conventions
- •Number Notation
- •Safety Notes
- •The WAGO-I/O-SYSTEM 750
- •System Description
- •Technical Data
- •Manufacturing Number
- •Component Update
- •Storage, Assembly and Transport
- •Mechanical Setup
- •Installation Position
- •Total Expansion
- •Assembly onto Carrier Rail
- •Carrier rail properties
- •WAGO DIN Rail
- •Spacing
- •Plugging and Removal of the Components
- •Assembly Sequence
- •Internal Bus / Data Contacts
- •Power Contacts
- •Wire connection
- •Power Supply
- •Isolation
- •System Supply
- •Connection
- •Alignment
- •Field Supply
- •Connection
- •Fusing
- •Supplementary power supply regulations
- •Supply example
- •Power Supply Unit
- •Grounding
- •Grounding the DIN Rail
- •Framework Assembly
- •Insulated Assembly
- •Grounding Function
- •Grounding Protection
- •Shielding (Screening)
- •General
- •Bus Conductors
- •Signal Conductors
- •WAGO Shield (Screen) Connecting System
- •Assembly Guidelines / Standards
- •Scope
- •Abbreviation
- •Fieldbus Controller
- •Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000
- •Description
- •Hardware
- •View
- •Variants
- •Device supply
- •Fieldbus connection
- •Display elements
- •Configuration and programming interface
- •Operating mode switch
- •Hardware address (Module ID)
- •Setting the baud rate
- •Operating system
- •Start-up
- •PLC cycle
- •Process Image
- •General Structure
- •Fieldbus specific Process Data Architecture
- •Digital Input Modules
- •Digital Output Modules
- •Analog Input Modules
- •Analog Output Modules
- •Specialty Modules
- •System Modules
- •Data Exchange
- •Communication objects
- •Communication interfaces
- •Memory areas
- •Addressing
- •Fieldbus specific Addressing
- •Absolute Addresses
- •Calculate Addresses
- •Address Range for Flags
- •Example for Absolute Addresses
- •Programming the PFC with WAGO-I/O-PRO CAA
- •WAGO-I/O-PRO CAA Library Elements for CANopen
- •IEC 61131-3 Program transfer
- •Transmission via the serial interface
- •Transmission via the fieldbus
- •Starting up CANopen fieldbus nodes
- •Connecting the PC and fieldbus node
- •Checking and setting the Baud rate
- •Setting the module ID
- •Changing to the OPERATIONAL status
- •Turning on the analog input data
- •Application specific mapping
- •LED Display
- •Fieldbus status
- •Node Status – Blink code from the 'I/O' LED
- •Supply Voltage Status
- •Technical Data
- •I/O Modules
- •General
- •Digital Input Modules
- •Digital Output Modules
- •Analog Intput Modules
- •Analog Output Modules
- •Special Modules
- •System Modules
- •CANopen
- •Description
- •Network Architecture
- •Transmission Media
- •Type of Cable
- •Maximum Bus Length
- •Required Conductor Cross Section
- •Cabling
- •Network Topology
- •Interface Modules
- •Configuration Software
- •Network Communication
- •Communication Objects
- •Process Data Object - PDO
- •PDO Protocol
- •Service Data Object - SDO
- •SDO Protocol
- •Initiate SDO Download
- •Download SDO Segment
- •Initiate SDO Upload
- •Upload SDO Segment
- •SDO Examples
- •Synchronization Object - SYNC
- •SYNC Protocol
- •Emergency Object (EMCY)
- •EMCY Protocol
- •CANopen state diagram
- •INITIALIZATION
- •PRE-OPERATIONAL
- •OPERATIONAL
- •STOPPED
- •Network Management Objects
- •Module Control Protocols
- •Start Remote Node
- •Stop Remote Node
- •Enter Pre-Operational
- •Reset Node
- •Error Control Protocols
- •Node Guarding Protocol
- •Heartbeat Protocol
- •Bootup Protocol
- •Object Directory
- •Initialization
- •Communication Profile Area
- •Object 0x1000, Device Type
- •Object 0x1001, Error Register
- •Object 0x1003, Pre-defined Error Field
- •Object 0x1005, COB-ID SYNC message
- •Object 0x1006, Communication Cycle Period
- •Object 0x1008, Manufacturer Device Name
- •Object 0x1009, Manufacturer Hardware Version
- •Object 0x100A, Manufacturer Software Version
- •Object 0x100C, Guard Time
- •Object 0x100D, Life Time Factor
- •Object 0x1010, Store Parameters
- •Object 0x1011, Restore default Parameters
- •Object 0x1015, Inhibit Time Emergency Object
- •Object 0x1016, Consumer Heartbeat Time
- •Object 0x1017, Producer Heartbeat Time
- •Object 0x1018, Identity Object
- •Object 0x1200– 0x1201, Server SDO
- •Object 0x1280– 0x128F, Client SDO
- •Object 0x1400– 0x141F, Receive PDO Communication Parameter
- •Object 0x1600– 0x161F, Receive PDO Mapping Parameter
- •Object 0x1800– 0x181F, Transmit PDO Communication Parameter
- •Object 0x1A00 – 0x1A1F, Transmit PDO Mapping Parameter
- •Manufacturer Specific Profile Area
- •Object 0x2000, Digital Inputs
- •Object 0x2100, Digital Outputs
- •Object 0x2200, 1 Byte Special Modules, Inputs
- •Object 0x2300, 1 Byte Special Modules, Outputs
- •Object 0x2400, 2 Byte Special Modules, Inputs
- •Object 0x2500, 2 Byte Special Modules, Outputs
- •Object 0x2600, 3 Byte Special Modules, Inputs
- •Object 0x2700, 3 Byte Special Modules, Outputs
- •Object 0x2800, 4 Byte Special Modules, Inputs
- •Object 0x2900, 4 Byte Special Modules, Outputs
- •Object 0x3000, 5 Byte Special Modules, Inputs
- •Object 0x3100, 5 Byte Special Modules, Outputs
- •Object 0x3200, 6 Byte Special Modules, Inputs
- •Object 0x3300, 6 Byte Special Modules, Outputs
- •Object 0x3400, 7 Byte Special Modules, Inputs
- •Object 0x3500, 7 Byte Special Modules, Outputs
- •Object 0x3600, 8 Byte Special Modules, Inputs
- •Object 0x3700, 8 Byte Special Modules, Outputs
- •Object 0x4200-0x4202, Gateway Module Input
- •Object 0x4500, Spacer Module Configuration
- •Object 0x5000, Read Input Process Image
- •Object 0x5001, Write Output Process Image
- •Object 0x5200, Controller Configuration Object
- •Object 0x5201, Diagnostics Configuration Object
- •Standard Device Profile Area – DS 401
- •Object 0x6000, Digital Inputs
- •Object 0x6005, Global Interrupt Enable Digital 8-Bit
- •Object 0x6006, Interrupt Mask Any Change 8-Bit
- •Object 0x6007, Interrupt Mask Low-to-High 8-Bit
- •Object 0x6008, Interrupt Mask High-to-Low 8-Bit
- •Object 0x6200, Digital Outputs
- •Object 0x6206, Error Mode Output 8-Bit
- •Object 0x6207, Error Value Output 8-Bit
- •Object 0x6401, Analog Inputs 16 Bit
- •Object 0x6411, Analog Outputs 16 Bit
- •Object 0x6421, Analog Input Interrupt Trigger Selection
- •Object 0x6423, Analog Input Global Interrupt Enable
- •Object 0x6424, Analog Input Interrupt Upper Limit Integer
- •Object 0x6425, Analog Input Interrupt Lower Limit Integer
- •Object 0x6426, Analog Input Interrupt Delta Unsigned
- •Object 0x6443, Analog Output Error Mode
- •Object 0x6444, Analog Output Error Value Integer
- •Object 0x67FE, Error Behavior
- •Reserved Area
- •Object 0xA000, Integer8 IEC 61131-1 Input variables
- •Object 0xA040, Unsigned8 IEC 61131-1 Input variables
- •Object 0xA080, Boolean IEC 61131-1 Input variables
- •Object 0xA0C0, Integer16 IEC 61131-1 Input variables
- •PDO Transmission
- •Mapping
- •Transmit PDO1
- •Receive PDO1
- •Transmit PDO2
- •Receive PDO2
- •SYNC Monitoring
- •Node Guarding
- •Heartbeat Monitoring
- •Error Message (Emergency)
- •Diagnostic Message of I/O Modules
- •Use in Hazardous Environments
- •Foreword
- •Protective measures
- •Classification meeting CENELEC and IEC
- •Divisions
- •Explosion protection group
- •Unit categories
- •Temperature classes
- •Types of ignition protection
- •Classifications meeting the NEC 500
- •Divisions
- •Explosion protection groups
- •Temperature classes
- •Identification
- •For Europe
- •For America
- •Installation regulations
- •Glossary
- •Literature list
- •Index
78• Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 Data Exchange
3.1.5.4 Addressing
3.1.5.4.1 Fieldbus specific Addressing
Upon switching on the supply voltage, the data of the process image is mapped into an object directory (initialization). A CANopen Fieldbus Master uses the 16 bit indexes and 8 bit sub-indexes of the object directory in order to address and to access the data via PDOs or SDOs.
Therefore, the position of the data in the process image is of no direct significance for the CANopen user.
|
|
Programmable fieldbus controller |
|
|
||
|
|
memory area |
|
|
|
|
|
|
for input data |
|
|
|
|
|
Object directory() |
word 0 |
1 |
|
|
|
|
|
|
|
|
||
|
|
input |
|
|
I/O modules |
|
|
Index |
modules |
|
|
|
|
|
Sub- |
|
|
|
|
|
|
Index |
word 255 |
|
|
|
|
|
|
|
|
|
|
|
PDO |
|
word 256 |
3 |
IEC 61131 |
|
|
|
|
PFC |
|
|
|
|
|
|
|
program |
|
|
|
|
|
input |
|
|
|
|
fieldbus |
|
|
|
|
|
|
|
variables |
|
CPU |
|
|
|
master |
|
word 511 |
|
|
|
|
|
|
|
|
|
||
|
. |
memory area |
|
|
|
|
SDO |
for output data |
|
|
|
||
. |
|
|
|
|||
|
. |
word 0 |
|
|
|
|
|
|
2 |
|
|
|
|
|
|
output |
|
|
|
|
|
|
modules |
|
|
|
|
|
|
word 255 |
|
|
|
|
|
|
word 256 |
4 |
|
I |
O |
|
|
PFC |
|
|
|
|
|
|
output |
|
|
|
|
|
|
variables |
|
|
|
|
|
|
word 511 |
|
|
|
|
Fig. 3-12: Fieldbus specific data exchange for a CANopen fieldbus controller |
g012432e |
3.1.5.4.1.1Indexing the bus module data
If a customer specific configuration was stored prior to initializing, and if the currently connected module configuration coincides with the one stored last, the initialization is made with this configuration.
More Information
Chapter 3.1.7.6 "Application specific mapping" has an example of how to initialize a customer specific configuration.
In every other case, the object directory is assigned with a default configuration according to the device profile DS 401 when initializing.
Here, the entry into the object directory is made separately according to data width (1 bit, 1 byte, 2 byte, 3 byte, etc.) and input and output.
Any physical arrangement of the bus modules in a node is possible.
Data width = 1 Word / channel |
Data width = 1 Bit / channel |
|
|
Analog input modules |
Digital input modules |
Analog output modules |
Digital output modules |
Input modules for thermal elements |
Digital output modules with diagnosis (2 Bit / channel) |
Input modules for resistance sensors |
Power supply modules with fuse holder / diagnosis |
Pulse width output modules |
Solid State power relay |
Interface module |
Relay output modules |
Up/down counter |
|
I/O modules for angle and path measurement |
|
|
|
Table 3-1: I/O module data width
WAGO-I/O-SYSTEM 750
CANopen
Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 |
• 79 |
Data Exchange |
|
|
|
Note
For the number of input and output bits or bytes of the individually activated on I/O modules please refer to the corresponding I/O module description.
The digital module data is taken into consideration first.
CANopen does not transmit the data bit by bit. The digital module data is grouped into bytes and assigned to the corresponding index, digital input data to index 0x2000 (0x6000), digital output data to index 0x2100 (0x6200).
The assignment of bus module data having a width of 1 byte or more, are analog modules and assigned to the individual indexes.
The table shows a review of the indexes of the bus module data.
Data width |
input modules |
|
output modules |
|
|
|
|
||
|
Index |
|||
|
|
|
||
|
|
|
|
|
1 |
Bit digital |
0x2000 (0x6000) |
|
0x2100 (0x6200) |
|
|
|
|
|
1 |
Byte specialty modules |
0x2200 |
|
0x2300 |
|
|
|
|
|
2 |
Byte specialty modules |
0x2400 (0x6401) |
|
0x2500 (0x6411) |
|
|
|
|
|
3 |
Byte specialty modules |
0x2600 |
|
0x2700 |
|
|
|
|
|
4 |
Byte specialty modules |
0x2800 |
|
0x2900 |
|
|
|
|
|
5 |
Byte specialty modules |
0x3000 |
|
0x3100 |
|
|
|
|
|
6 |
Byte specialty modules |
0x3200 |
|
0x3300 |
|
|
|
|
|
7 |
Byte specialty modules |
0x3400 |
|
0x3500 |
|
|
|
|
|
8 |
Byte specialty modules |
0x3600 |
|
0x3700 |
|
|
|
|
|
Table 3-2: Indexing of bus module data in the object directory
Every index has a maximum of 256 sub-indexes (Sub-Index 0-255).
The number of data inputs is indicated in sub-index 0, whereby the data is filled in blocks in the following sub-indexes.
The block size depends on the data width of the specific bus module.
WAGO-I/O-SYSTEM 750
CANopen
80• Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 Data Exchange
Sub-Index |
Contents |
|
|
0 |
Number of Data blocks |
1 |
First Data block with the data width of the I/O module |
2 |
Second Data block with the data width of the I/O module |
... |
... |
Table 3-3: Sub-indexing of the bus module data in the object directory
Note
Please refer to chapter 5.3.4.1 "Initialization" for a detailed description of how to set the default configuration.
Attention
A process image restructuring may result if a node is changed or extended. In this case the process data addresses also change in comparison with earlier ones. In the event of adding modules, take the process data of all previous modules into account.
Example:
The bus module configuration includes:
1)5 digital 2 channel input modules (i.e. 750-400),
2)one digital 4 channel output module (i.e. 750-504) and
3)two 2 channel analog output modules with 2 bytes per channel (i.e. 750-552).
to 1) Indexing the data of the 5 digital 2 channel input modules:
Index: |
Sub- |
Contents: |
|
|
|
|
|
Description: |
|
|
Index: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x2000 |
0 |
2 |
|
|
|
|
|
|
number of dig. 8 Bit input blocks |
1 |
D4.2 D4.1 D3.2 D3.1 D2.2 D2.1 D1.2 |
D1.1 *) |
1. dig. input block |
||||||
|
2 |
0 |
0 |
0 |
0 |
0 |
0 D5.2 |
D5.1 *) |
2. dig. input block |
*) D1.1 = Data bit module 1 channel 1, D1.2 = Data bit module 1channel 2, etc.
to 2) Indexing the data of the digital 4 channel output module:
Index: |
Sub- |
Contents: |
|
|
Description: |
|
|
Index: |
|
|
|
|
|
|
|
|
|
|
|
|
0x2100 |
0 |
1 |
|
|
|
number of dig. 8 Bit input blocks |
1 |
0 |
0 |
0 |
0 D1.4 D1.3 D1.2 D1.1 *) |
dig. output block |
|
*) D1.1 = Data bit module 1 channel 1, D1.2 = Data bit module 1 channel 2, etc.
to 3) Indexing the data of the 2 analog 2 channel output modules:
Index: |
Sub- |
Contents: |
Description: |
|
Index: |
|
|
|
|
|
|
|
0 |
4 |
number of 2 Byte specialty channels |
0x2900 |
1 |
D1.1 *) |
1. output channel |
2 |
D1.2 *) |
2. output channel |
|
|
3 |
D2.1 *) |
3. output channel |
|
4 |
D2.2 *) |
4. output channel |
*) D1.1 = Data word module 1 channel 1, D1.2 = Data word module 1 channel 2, etc.
3.1.5.4.1.2Indexing the PFC Variables
The entry of the PFC variables into the object directory is made separate according to data type (Integer8, Unsigned8, Boolean, Integer16, etc...) and input and output.
WAGO-I/O-SYSTEM 750
CANopen
Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 |
• 81 |
Data Exchange |
|
|
|
Due to the fact that CANopen does not transmit the data bit by bit, the variables data of the Boolean data type are grouped into bytes and assigned to the corresponding index, input variables data of the Boolean type to index 0xA080, output variables data of the Boolean type to index 0xA500.
The assignment of variables data having a data width of 1 byte or more, are analog modules and assigned to the individual indexes.
Note
The IEC 61131-3 input variables are defined from the point of view of the CAN bus, meaning that they are regarded as output variables by the PFCs. According to this, the IEC 61131-3 output variables are regarded as input variables by the PFC.
Data type |
IEC 61131-3 output variables |
IEC 61131-3 input variables |
|
|
|
||
Index |
|||
|
|||
|
|
|
|
Integer8 |
0xA000 |
0xA480 |
|
|
|
|
|
Unsigned8 |
0xA040 |
0xA4C0 |
|
|
|
|
|
Boolean |
0xA080 |
0xA500 |
|
|
|
|
|
Integer16 |
0xA0C0 |
0xA540 |
|
|
|
|
|
Unsigned16 |
0xA100 |
0xA580 |
|
|
|
|
|
Integer24 |
0xA140 |
0xA5C0 |
|
|
|
|
|
Unsigned24 |
0xA180 |
0xA600 |
|
|
|
|
|
Integer32 |
0xA1C0 |
0xA640 |
|
|
|
|
|
Unsigned32 |
0xA200 |
0xA680 |
|
|
|
|
|
Float32 |
0xA240 |
0xA6C0 |
|
|
|
|
|
Unsigned40 |
0xA280 |
0xA700 |
|
|
|
|
|
Integer40 |
0xA2C0 |
0xA740 |
|
|
|
|
|
Unsigned48 |
0xA300 |
0xA780 |
|
|
|
|
|
Integer48 |
0xA340 |
0xA7C0 |
|
|
|
|
|
Unsigned56 |
0xA380 |
0xA800 |
|
|
|
|
|
Integer56 |
0xA3C0 |
0xA840 |
|
|
|
|
|
Integer64 |
0xA400 |
0xA880 |
|
|
|
|
|
Unsigned64 |
0xA440 |
0xA8C0 |
|
|
|
|
|
Table 3-4: Indexing the IEC 61131-3 variables data in the object directory
Every index has a maximum of 256 sub-indexes (sub-index 0-255).
The number of data inputs is indicated in sub-index 0, whereas the data is filled in blocks in the following sub-indexes.
The block size depends on the data width of the specific data type.
Sub-Index |
Contents |
|
|
0 |
Number of Data blocks |
1 |
First Data block with the data width of the Data type |
2 |
Second Data block with the data width of the Data type |
... |
... |
Tab 3-1: Sub-indexing of the IEC 61131-3 variables data in the object directory
More Information
Please refer to chapter 5.3.4.1 "Initialization" for a detailed description of how to set the default configuration.
Example:
The following IEC 61131-3 variables were defined:
WAGO-I/O-SYSTEM 750
CANopen
82• Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 Data Exchange
1)11 input variables of the Boolean data type and
2)5 output variables of the Integer24 data type.
to 1) Indexing the data of the 11 Boolean input variables:
Index: |
|
Sub- |
Contents: |
|
|
|
|
|
|
Description: |
|
|
|
Index: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0xA080 |
|
0 |
2 |
|
|
|
|
|
|
|
number of 8 Bit Boolean input blocks |
|
1 |
D8 |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 *) |
1. Boolean input block |
|
|
|
2 |
0 |
0 |
0 |
0 |
0 |
D11 |
D10 |
D9 *) |
2. Boolean input block |
*) D1 = |
Data |
bit input |
variable 1, D2 = |
Data bit input variable 2, etc. |
|
||||||
to 2) Indexing the data of the 5 output variables, type Integer24 :
Index: |
|
Sub- |
Contents: |
|
Description: |
|
|
Index: |
|
|
|
|
|
|
|
|
|
|
|
0 |
5 |
|
number of 3 Byte output blocks |
|
|
1 |
D1 *) |
|
1. output block |
0xA5C0 |
|
2 |
D2 *) |
|
2. output block |
|
3 |
D3 *) |
|
3. output block |
|
|
|
4 |
D4 *) |
|
4. output block |
|
|
5 |
D5 *) |
|
5. output block |
*) D1 = |
3 Bytes Data of the output variable 1, D2 = |
3 Bytes Data of the output variable 2, etc. |
|||
3.1.5.4.1.3Access to the PFC variables data from the fieldbus
The program permits the byte-wise access to the data contained in the controller memory by means of the specific indexes for data types having a data width of 1 byte (Integer8, Unsigned8 and Boolean).
A specific byte for each is selected in the sub-index.
When using indexes for larger data blocks, the simultaneous access to several bytes is possible.
The index for Integer16 (0xA0C0) or for Unsigned16 (0xA100) permits for instance, to access the written PFC output variables data word-wise, the index 0xA140 for Integer24 3 byte-wise etc.
Example:
Access from the fieldbus to the PFC output data byte 512, byte 513 and byte 514 is made with the Integer or with the Unsigned data type:
Data access |
PFC output data |
read data with Index |
Sub- |
|
|
|
|
(Integer / Unsigned) |
Index |
|
|
|
|
|
Byte-wise |
(with Integer8 / Unsigned8) |
Byte 512: |
(0xA000 / 0xA040) |
1 |
|
|
Byte 513: |
(0xA000 / 0xA040) |
2 |
|
|
Byte 514: |
(0xA000 / 0xA040) |
3 |
Word-wise (with Integer16 / Unsigned16) |
Word 256 (Byte 512/513): |
(0xA0C0 / 0xA100) |
1 |
|
|
|
Word 257 (Byte 514/515): |
(0xA0C0 / 0xA100) |
2 |
3 Bytes |
(with Integer24 / Unsigned24) |
Bytes 512 - 514: |
(0xA140 / 0xA180) |
1 |
The following tables show a review of addressing data having different data widths.
For this purpose, the memory space reserved for the variable’s data in the fieldbus controller (byte 512 to byte 1023) is assigned the individual indexing depending on the data width.
WAGO-I/O-SYSTEM 750
CANopen
Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 |
• 83 |
Data Exchange |
|
|
|
The indexing mentioned in the tables is continued up to the individual maximum index and sub-index.
Note
From the point of view of the programmable fieldbus controller, the PFC output variables are defined, whereas from the point of view of the CAN fieldbus, these are deemed as input variables. Correspondingly, the PFC input variables are deemed as output variables for the IEC 61131-3 access by the fieldbus.
In other words: IEC 61131-3 input variable = PFC output variable
PFC input variable = IEC 61131-3 output variable.
fieldbus |
PLC |
input |
variables |
PLC |
output |
variables |
Programmable fieldbus controller
PFC |
input |
variables |
PFC |
output |
variables |
Fig. 3-13: Correlation of IEC 61131-3 variables and PFC variables g012444e
WAGO-I/O-SYSTEM 750
CANopen
84• Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 Data Exchange
Addressing for access on PFC output variables
Memory area of |
|
|
|
Addressing the data with data width of |
|
|
|||
the PFC output |
1 Byte |
1 Word |
3 Bytes |
1 D. word |
5 Bytes |
6 Bytes |
7 Bytes |
8 Bytes |
|
variables in the |
Index |
Sub |
Index Sub |
Index Sub |
Index Sub |
Index Sub |
Index Sub |
Index Sub |
Index Sub |
controller |
|
- |
- |
- |
- |
- |
- |
- |
- |
(Offset) |
|
in- |
in- |
in- |
in- |
in- |
in- |
in- |
in- |
|
|
dex |
dex |
dex |
dex |
dex |
dex |
dex |
dex |
512 |
A000 |
LSB |
|
LSB |
|
LSB |
|
|
|
LSB |
|
|
|
LSB |
|
LSB |
A040 |
|
|
|
LSB |
|
|
LSB |
|
|
|
||||||
1 |
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
A080 |
MSB |
A0C0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A000 |
|
A100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
513 |
A040 |
2 |
|
|
A140 |
1 |
|
|
|
|
|
|
|
|
|
|
|
A080 |
|
|
MSB |
|
|
|
|
|
|
|
|
|
|
||
|
|
|
A180 |
|
A1C0 |
1 |
|
|
|
|
|
|
|
|
||
|
* |
|
|
|
|
|
A200 |
|
|
|
|
|
|
|
|
|
|
A000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
514 |
3 |
|
|
|
|
A240 |
|
A280 |
|
|
|
|
|
|
|
|
A040 |
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|||
|
A080 |
|
|
|
|
MSB |
|
|
A2C0 |
|
|
|
|
|
|
|
|
|
A0C0 |
|
|
|
|
|
A300 |
1 |
|
|
|
|
|||
|
* |
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
2 |
|
|
|
|
|
|
A340 |
|
|
|
|
|
||
|
|
|
A100 |
|
|
|
|
|
|
|
A380 |
1 |
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
515 |
etc. |
|
|
|
|
|
MSB |
|
|
|
|
A3C0 |
|
A400 |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
A440 |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
. |
|
|
|
A140 |
2 |
|
|
|
MSB |
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
A180 |
|
|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
|
|
|
|
|
|
|
|
etc. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
527 |
|
|
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
528 |
|
|
|
|
|
|
|
|
|
|
|
|
etc |
etc. |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
1022 |
|
|
|
|
|
|
|
|
max |
|
|
max |
|
max |
|
max |
|
max |
|
max |
max |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
max. |
|
|
Sub- |
|
max. |
Sub- |
max. |
Sub- |
max. |
Sub- |
max. |
Sub- |
max. |
Submax. |
Sub- |
1023 |
|
|
|
max |
|
Index |
|
|
In- |
|
Index |
In- |
Index |
In- |
Index |
In- |
Index |
In- |
Index |
InIndex |
In- |
|
|
max. |
|
Sub- |
|
|
|
|
dex |
|
|
dex |
|
dex |
|
dex |
|
dex |
|
dex |
dex |
|
|
Index |
|
In- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dex |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* A maximum of 8 Boolean values can be stored in one byte (1 sub-index), i.e. there is no bit resolution per sub-index.
WAGO-I/O-SYSTEM 750
CANopen
Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 |
• 85 |
Data Exchange |
|
|
|
Addressing for access on PFC input variables
Memory area of |
|
|
Addressing the data with data width of |
|
|
|||
the PFC input |
1 Byte |
1 Word |
3 Bytes |
1 D. word |
5 Bytes |
6 Bytes |
7 Bytes |
8 Bytes |
variables in the |
Index Sub |
Index Sub |
Index Sub |
Index Sub |
Index Sub |
Index Sub |
Index Sub |
Index Sub- |
controller |
- |
- |
- |
- |
- |
- |
- |
index |
(Offset) |
in- |
in- |
in- |
in- |
in- |
in- |
in- |
|
|
dex |
dex |
dex |
dex |
dex |
dex |
dex |
|
|
A480 |
LSB |
|
LSB |
|
LSB |
|
LSB |
|
LSB |
|
LSB |
|
LSB |
|
LSB |
512 |
A4C0 |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
A500 |
MS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
B |
A540 |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
A480 |
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
513 |
2 |
A580 |
|
A5C0 |
A640 |
|
|
|
|
|
|
|
|
|
||
A4C0 |
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
A500 |
|
|
MSB |
A600 |
|
A680 |
1 |
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
A6C0 |
|
A700 |
|
|
|
|
|
|
|
|
A480 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MSB |
|
|
A740 |
1 |
A780 |
|
|
|
|
|
|
514 |
A4C0 |
3 |
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
A7C0 |
1 |
|
|
|
|
||||
|
A500 |
|
A540 |
|
|
|
|
|
|
|
A800 |
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
* |
|
2 |
|
|
|
|
|
|
|
|
|
|
|
||
|
|
A580 |
|
|
|
MSB |
|
|
|
|
A840 |
1 |
A880 |
|
||
|
etc. |
|
|
|
|
|
|
|
|
|
|
|||||
515 |
|
|
|
|
|
|
|
|
|
|
|
|
|
A8C0 |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
. |
|
|
|
A5C0 |
2 |
|
|
|
MSB |
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
A600 |
|
|
|
|
|
|
|
|
|
||||
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
526 |
|
|
|
|
|
|
|
|
|
|
etc. |
|
|
|
|
|
527 |
|
|
|
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. |
|
|
etc. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
528 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
etc. |
|
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
... |
1022 |
|
|
|
|
|
|
|
|
|
max |
|
|
max |
|
max |
|
max |
|
max |
|
max |
|
max- |
|
|
|
|
|
|
|
max. |
|
|
Sub- |
|
max. |
Sub- |
max. |
Sub- |
max. |
Sub- |
max. |
Sub- |
max. |
Sub- |
max. |
|
|
|
|
|
|
|
|
|
|
|
Sub- |
|||||||||||||
|
|
|
|
|
|
|
Index |
|
|
In- |
|
Index |
In- |
Index |
In- |
Index |
In- |
Index |
In- |
Index |
In- |
Index |
|
1023 |
|
|
|
|
max |
|
|
|
|
Index |
|||||||||||||
|
|
|
|
|
|
|
|
dex |
|
|
dex |
|
dex |
|
dex |
|
dex |
|
dex |
|
|||
|
|
max. |
|
|
Sub- |
|
|
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
Index |
|
|
In- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dex |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* A maximum of 8 Boolean values can be stored in one byte (1 sub-index), i.e. there is no bit resolution per sub-index.
WAGO-I/O-SYSTEM 750
CANopen
86• Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 Data Exchange
Examples of how to define PFC fieldbus variables
The following examples show some definitions for PFC variables with different data types, compared to the specific object directory entries.
Data type |
PFC input variables |
|
PFC output variables |
|
|
|
Index |
|
Index |
||
|
|
||||
of PFC |
Definition according to IEC |
|
|||
variables |
/Sub- |
Definition according to IEC 61131-3 |
/Sub- |
||
61131-3 |
|||||
|
Index |
|
Index |
||
|
|
|
|||
|
|
|
|
|
|
Unsigned8 |
InByte0 AT%IB512 : BYTE; |
0xA4C0/1 |
OutByte0 AT%QB512 : BYTE; |
0xA040/1 |
|
|
InByte0 AT%IB513 : BYTE; |
0xA4C0/2 |
OutByte0 AT%QB513 : BYTE; |
0xA040/2 |
|
Integer16 |
InInt0 AT %IW256 : INT; |
0xA540/1 |
InInt0 AT %QW256 : INT; |
0xA0C0/1 |
|
|
InInt1 AT %IW257 : INT; |
0xA540/2 |
InInt1 AT %QW257 : INT; |
0xA0C0/2 |
|
Unsigned16 |
InWord0 AT %IW256 : WORD; |
0xA580/1 |
OutWord0 AT %QW256 : WORD; |
0xA100/1 |
|
|
InWord0 AT %IW257 : WORD; |
0xA580/2 |
OutWord0 AT %QW257 : WORD; |
0xA100/2 |
|
Unsigned32 |
InDWord0 AT %ID128 : DWORD; |
0xA680/1 |
OutDWord0 AT %QD128 : DWORD; |
0xA200/1 |
|
|
InDWord0 AT %ID129 : DWORD; |
0xA680/2 |
OutDWord0 AT %QD129 : DWORD; |
0xA200/2 |
Table 3-5: Examples for variable definitions with the specific object directory entries
3.1.5.4.1.4Maximum indexes
The maximum indexes and sub-indexes result from the memory size of the fieldbus controller of 512 bytes and the individual data width of the data types.
The table shows a review of the maximum indexes and sub-indexes of the IEC 61131-3 variable.
Data type |
IEC 61131-3 input variables |
IEC 61131-3 output variables |
|||
|
|
|
|
||
max. Index |
max. Sub-Index |
Max. Index |
max. Sub-Index |
||
|
|||||
|
|
|
|
|
|
Integer8 |
0xA002 |
2 |
0xA482 |
2 |
|
|
|
|
|
|
|
Unsigned8 |
0xA042 |
2 |
0xA4C2 |
2 |
|
|
|
|
|
|
|
Boolean |
0xA082 |
2 |
0xA502 |
2 |
|
|
|
|
|
|
|
Integer16 |
0xA0C1 |
1 |
0xA541 |
1 |
|
|
|
|
|
|
|
Unsigned16 |
0xA101 |
1 |
0xA581 |
1 |
|
|
|
|
|
|
|
Integer24 |
0xA140 |
AA |
0xA5C0 |
AA |
|
|
|
|
|
|
|
Unsigned24 |
0xA180 |
AA |
0xA600 |
AA |
|
|
|
|
|
|
|
Integer32 |
0xA1C0 |
80 |
0xA640 |
80 |
|
|
|
|
|
|
|
Unsigned32 |
0xA200 |
80 |
0xA680 |
80 |
|
|
|
|
|
|
|
Float32 |
0xA240 |
80 |
0xA6C0 |
80 |
|
|
|
|
|
|
|
Unsigned40 |
0xA280 |
66 |
0xA700 |
66 |
|
|
|
|
|
|
|
Integer40 |
0xA2C0 |
66 |
0xA740 |
66 |
|
|
|
|
|
|
|
Unsigned48 |
0xA300 |
55 |
0xA780 |
55 |
|
|
|
|
|
|
|
Integer48 |
0xA340 |
55 |
0xA7C0 |
55 |
|
|
|
|
|
|
|
Unsigned56 |
0xA380 |
49 |
0xA800 |
49 |
|
|
|
|
|
|
|
Integer56 |
0xA3C0 |
49 |
0xA840 |
49 |
|
|
|
|
|
|
|
Integer64 |
0xA400 |
40 |
0xA880 |
40 |
|
|
|
|
|
|
|
Unsigned64 |
0xA440 |
40 |
0xA8C0 |
40 |
|
|
|
|
|
|
|
Table 3-6: Maximum indexes and sub-indexes for the definition of IEC 61131-3 variables
WAGO-I/O-SYSTEM 750
CANopen
