AC800M profibus communication with CP342-5
Hi,
I have DCS 800Xa system AC800m and want to comunicate with Siemens S300 CP 342-5 throgh Profibus Master (ABB) /Slave .
ABB side
AC800 M + CI 854
Siemns side
CPU 317 -2 Pn/DP + CP 342-5
Is there any manual to descripe such communication
BR
Voted best answer
Example S7 code CP342-5 (Simatic) --> CI854 (800xA)
OB1 (main)
Call FC130
FC130 (Communicatie met ABB systeem)
FC2 ( DP Receive < 800xA) - DB112.DBX0.0 BYTE 64
FC1 ( DP Send > 800xA) - DB110.DBX0.0 BYTE 64
Answers
Make from gsd file > HWL (insert Hardware type)
CP 342-5 (Hardware types)
- 64 bytes DI / Consistency 1 byte (Input 0 - 31, data type DintIO + UnitStatus)
- 64 bytes DO / Consistency 1 byte (Output 0 - 31, data type DintIO + UnitStatus)
Hardware AC 800M
Insert Unit (HW-PB address) CPU342-5, under CI854 (PB-Master)
Insert Unit (HW-1) 64 bytes DI / Consistency 1 byte, under CPU342-5
Insert Unit (HW-2) 64 bytes DO / Consistency 1 byte, under CPU342-5
Single Control Module
Example1 (boolean)
dinttobool16(Int:Registers.diRegisterIn_0x, Bool struct => IDATA1, Status => status);
Example2 (real)
rValue := dint_to_real(Registers.diRegisterIn_0x + Registers.diRegisterIn_0xx);
Registers. (own data type)
diRegisterIn_01 = dint
diRegisterIn_02 = dint
etc....
IDATAx = boolean16
Example HW variable (connection)
IWx.xx.x.0 Input 0 DintIO Application.data-type lib.Registers.diRegisterIn_01
Zipped:
HW-Lib - SimaticNet 1.0-0, CP345-2, 64Bytes DI/DO Consistency 1 byte
Screenshot - how use HW-Lib in ControlBuilder-M
For configuration in Step 7 see PDF's on Google
Text search on Google:
How do you configure a CP342-5 as DP slave to a CP 342-5 as DP master?
Add new comment