PAC120 5715-719UK.indd 05.06.20
PAC120 5715-719UK.indd 05.06.20
49
48
Parker Automation Controller
Series PAC120
Parker Automation Controller
Series PAC120
6.7 ProfiNet settings
The PAC120 has a flexible mapping and supports acyclic data communication. Suitable function blocks for the
Siemens Tia portal are available, which will simplify communication with a S7 PLC. These files can be found on
the PAC120 webpage.
The address range for the input and output data for synchronous communication is 255 bytes each. It is divided
into the data types INT, DINT and REAL as follows:
• 32x INT
• 16x DINT and
• 32x REAL
PAC120
For the communication via ProfiNet, the function block ProfiNet_Init must be called in the application program. The
function block is part of the system library PKR_PAC120_System of the PAC120.
Cyclic communication
The values to be sent to the machine PLC need to be assigned to the send arrays
• ProfiNet_SyncDataTransmit.Int16[x] with x: 0 - 31,
• ProfiNet_SyncDataTransmit.Int32[x] with x: 0 - 15 or
• ProfiNet_SyncDataTransmit.Real32[x] with x: 0 - 31
according to their data type.
The values to be received from the machine PLC can be read from the receive arrays
• ProfiNet_SyncDataReceive.Int16[x] with x: 0 - 31,
• ProfiNet_SyncDataReceive.Int32[x] with x: 0 - 15 or
• ProfiNet_SyncDataReceive.Real32[x] with x: 0- 31
depending on their data type.
Acyclic communication
Acyclic data can be exchanged via pre-defined objects. To the following objects the machine PLC has read and
write access:
• 200x INT,
• 200x UINT,
• 200x DINT,
• 200x UDINT,
• 200x DINT,
• 200x REAL,
• 20x STRING[63]
The data can be written or read from the following arrays:
• ProfiNet_AsyncData.Int16[x] with x: 0 - 199,
• ProfiNet_AsyncData.UInt16[x] with x: 0 - 199,
• ProfiNet_AsyncData.Int32[x] with x: 0 - 199,
• ProfiNet_AsyncData.UInt32[x] with x: 0 - 199,
• ProfiNet_AsyncData.Real32[x] with x: 0 - 199 and
• ProfiNet_AsyncData.String[x] with x: 0 - 19
Example
The following example shows an exemplary data exchange for the values of a connected PACHC controller module:
CFC:
ST
CODESYS V3.5
CODESYS V3.5