ln30xx siemens plc integration basic profibus profile for
TRANSCRIPT
LN30xx Siemens PLC Integration
Basic profibus profile for LN30xx
Instruction and Parameter Set
Profile word layout as seen on plc
PIW word 256-301 with PQW 256-263 PLC example map for slave address 10 LN30xx Fault Gauge
profile
Checking and setting the Fault Threshholds (Lump)
Reading the Lump Threshold value which is parameter 6
PQW256 16#1006 returns
PIW256 16#3006
PIW258 16#3951 = MSW
PIW260 16#B717 = LSW
Converted = 0.000199999m = 200 microns
To set the threshold to say 165 microns.
165micron = 0. 000165m. Converted to HEX = 392D03DA
Use command
PQW256 16#3006
PQW258 16#392D = MSW
PQW260 16#03DA = LSW
PLC confirms back with
PIW256 16#3006
PIW258 16#392D
PIW260 16#03DA
Checking the fault height, length and position
Lump height
PIW274 16#3B03 = MSW
PIW276 16#126F = LSW
0.0020m = 2.0mm
Lump length
PIW278 16#3D63 = MSW
PIW280 16#BABA = LSW
0.05559m = 55.6mm
Lump position
PIW282 16#43C4 = MSW
PIW284 16#F999 = LSW
393.9499m
Note that this was with a line running in simulated speed of 30m/min.
Verify Gauge is reading for communication
PIW262 16#2300
2 3 0 0
0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0
So bits 13, 9 and 8 active = FD, RN and PO bits all active
Serial Code definitions to be read in conjunction with Profibus profile
End of Document