duckie112
Member
Hi, I'm pretty new in the world of PID controls with a PLC but I searched a bit on google and know a bit of it but the problem I got is that whatever I do the LMN of FB41 wont get a output at all also I tried the LMN_PER but that didn't work also. The hardware what I have is this:
CPU-315-2-DP
2 I/O simulation modules (currently not used in this project)
a Hitachi EH-RIO profibus module with the AI and AO
and a simple potmeter to simulate the AI wich works fine.
I scale the input with the FC105 Scale block.
The parameters I have for FB41 in OB35 100mS:
Cycle : 100mS
SP_INT : MD* (setting these value with a variable table)
PV_IN : My scaled AI input
DEADB_W : 0.0
LMN_HLM : 100.0
LMN_LLM : 0.0
LMN : MD* (unscaled to my AO)
This was the first settings I had but whenever I changed the input there wasnt any change at the output LMN.
I also tried it with the peripherie input and output directly from the AI and AO.
I also tried an example program wich I found on this forum but also the same problem, no LMN/LMN_PER output.
Also in Simulation mode it doesnt work on both projects.
CPU-315-2-DP
2 I/O simulation modules (currently not used in this project)
a Hitachi EH-RIO profibus module with the AI and AO
and a simple potmeter to simulate the AI wich works fine.
I scale the input with the FC105 Scale block.
The parameters I have for FB41 in OB35 100mS:
Cycle : 100mS
SP_INT : MD* (setting these value with a variable table)
PV_IN : My scaled AI input
DEADB_W : 0.0
LMN_HLM : 100.0
LMN_LLM : 0.0
LMN : MD* (unscaled to my AO)
This was the first settings I had but whenever I changed the input there wasnt any change at the output LMN.
I also tried it with the peripherie input and output directly from the AI and AO.
I also tried an example program wich I found on this forum but also the same problem, no LMN/LMN_PER output.
Also in Simulation mode it doesnt work on both projects.
Last edited: