5 Application example
5.7 Example program – DX-NET-PROFINET2-2 with TIA Portal
DX-NET-PROFINET2-2
01/22 MN040062EN
www.eaton.com
127
5.7.4.4 Input/output of the block
Inputs
Outputs
Source: DriveLib – Siemens: Post ID: 109475044
Version dated 10/2021
Hardware ID for LAddr: The hardware ID of the drive must be assigned to the
LAddr input.
REQ activates the read block, then the value appears in Value.
The
Write
action first reads the parameter value and format of the set para-
meter from the variable frequency drive and writes it to the parameter struc-
ture. After successful reading, the parameter value of the corresponding job
field set by the user is then transferred to the variable frequency drive.
During this process, the Busy bit is set to 1.
The
Read
action reads the parameter value and format of the set parameter
from the SINAMICS drive and writes it to the parameter structure. The value
of the corresponding job field to be read is then stored in the structure.
Parameter
Type
Default
setting
Description
Start
BOOL
0
Start of the job
0 = No job or cancel job
1 = Start and execute the job
ReadWrite
BOOL
0
Type of job
0 = Read
1 = Write
ParaNo
INT
1
Number of parameters (1 to 16)
AxisNo
BYTE
16#01
Axis number/axis ID in the case of a multiple system
hardwareId
HW IO
0
Hardware ID of the module access point/actual value tele-
gram slot of the axis or drive
Parameter
Type
Default
setting
Description
Ready
BOOL
0
Feedback signal for connection in LacyCom environment
1 = Job completed or job aborted (one cycle)
Busy
BOOL
0
Job in progress if “Busy” = 1
Done
BOOL
0
Job completed: Edge change from 0 to 1
Error
BOOL
0
Collective fault active: "Error" = 1
Status
DWORD
0
1st word: binary-coded specification of the parameter access
that has been disturbed
2nd word: Type of fault
DiagId
WORD
0
Extended communication failure -> Error during SFB call
→
A detailed description of the programming steps is not provided
at this point.
You can find further information in the help for the TIA Portal.