Overview of the PROFINET dialogue
The press is connected to a programmable logic controller (PLC) via a PROFINET connection. From this channel, it is possible to send data to the press and receive data from the press.
On this channel, there are 254 input bytes and 254 output bytes available.
For the following examples, we will take the starting address 0, for inputs and outputs.
•PROFINET input addresses: 0...253
•PROFINET output addresses: 0...253
These addresses are relative to the starting address that the integrator will have given to the press. In the case of a system with several presses, the addresses must be different for each press.
PROFINET inputs
The 254 input bytes are distributed as follows, on the PROFINET dialog:
•Bytes 0...199; used as DWORD variables (4bytes = 1 variable => 50 DWORD variables). These 50 variables can be used to transfer "REAL", "DINT" or "LREAL" type data from the PLC to the press, via the association of user variables. (Variables of type LREAL must be sent in REAL format from the PLC)
•Bytes 200...203; used as BOOL variables (4 bytes = 32 bits). These 32 Boolean variables can be used to transfer flag from the PLC to the press via the association of variables.
•Bytes 204...223; 5 variables of type DWORD (1 variable = 4 bytes) reserved for the connection of a sensor or other instrument connected by PROFINET.
•Bytes 224... 253; These bytes are reserved for press commands (For more details on these different commands, see the topic "Control the press by a PLC"). In these commands are included among other things:
oStart part program
oMode change (manual, automatic)
oJOG + and -
oChange of programs
oChange of envelopes
oAcknowledgement of errors
o...
Addresses from 0 |
Designation |
---|---|
Bytes 0...199 |
50 variables of type DWORD used to transfer REAL, DINT or LREAL type data from the PLC to the press, via the association of user variables. |
Bytes 200...203 |
32 BOOL variables used to transfer data from the PLC to the press via the association of user variables. |
Bytes 204...223 |
5 variables of type DWORD reserved for the connection of sensors or other instruments connected by PROFINET. |
Bytes 224...253 |
Reserved addresses to control the press |
Table 1: PROFINET inputs structure
PROFINET outputs
The 254 bytes of outputs are distributed as follows, on the PROFINET channel:
•Bytes 0...199; used as DWORD variables (4bytes = 1 variable => 50 DWORD variables). These 50 variables can be used to transfer "REAL", "DINT" or "LREAL" type data from the press to the PLC via the association of user variables. (LREAL variables are received in REAL format in the PLC)
•Bytes 200...203; used as BOOL variables (4 bytes = 32 bits). These 32 Boolean variables can be used to transfer flag from the press to the PLC via the association of variables.
•Bytes 204...223; 5 variables of type DWORD (1 variable = 4 bytes), reserved for the connection of a sensor or other instrument connected by PROFINET.
•Bytes 224...245 and 251...253; These bytes are reserved for the return of the press commands (For more details on these different returns, see the topic "Control the press by a PLC"). In these datas are included among other things:
oActual value of the axis, force
oActual mode
oActive program number
oActive envelope number
oError present
o...
•Bytes 246...250; 5 bytes reserved for all errors that the press can return. Each bit of these 5 bytes corresponds to a specific error => 40 possible errors.
Addresses from 0 |
Designation |
---|---|
Bytes 0...199 |
50 variables of type DWORD used to transfer REAL, DINT or LREAL type data from the press to the PLC, via the association of user variables. |
Bytes 200...203 |
32 BOOL variables used to transfer data from the press to the PLC via the association of user variables. |
Bytes 204...223 |
5 variables of type DWORD reserved for the connection of instruments connected by PROFINET. |
Bytes 224...245 |
Reserved addresses for the return of press controls |
Bytes 246...250 |
5 bytes reserved for all errors that the press can return |
Bytes 251...253 |
Reserved addresses for the return of press controls |
Table 2: PROFINET outputs structure