I want to convert program of S5-115U to S7-CPU314.Program is below.I checked and decided FB41 but 12 PIDs ( JU OB251 ) are exist.Can I call them from within OB35 ?How can I locate these parameters I don't know?Is there any experience abouth this subject?Thanks in advance...
S5 side:
------------------------------------------------------
FC2:
C DB 10 // Work DB
L DW 1 // Conveyor speed factor
C DB 100 // PID DB
T DW 1 // K – Proportional Factor
L 1023
T DW 5 // TI – TA/TN
T DW 9 // W- Set point
JU OB251
L DW 48 // Output value
SLW 4
T PW 160
----------------------------
OB21&22:
C DB 100
L KM 00000000 00101001
T DW 11 // control word
L KF+2048
T DW 14 // Upper limit
---------------------------
DB 100:
DW1 : KF=+01023
DW5 : KF=+01000
DW9 : KF=+01023
DW11: KM=00000000 00101001 // Control word
I I I
I I I_____ Auto mode
I I________ Velocity algorithm
I__________ No feedforward control
DW14: KF=+02048
DW38: KF=+01023
DW46: KF=+00818
DW47: KF=+00891
DW48: KF=+01019
----------------------------------
S5 side:
------------------------------------------------------
FC2:
C DB 10 // Work DB
L DW 1 // Conveyor speed factor
C DB 100 // PID DB
T DW 1 // K – Proportional Factor
L 1023
T DW 5 // TI – TA/TN
T DW 9 // W- Set point
JU OB251
L DW 48 // Output value
SLW 4
T PW 160
----------------------------
OB21&22:
C DB 100
L KM 00000000 00101001
T DW 11 // control word
L KF+2048
T DW 14 // Upper limit
---------------------------
DB 100:
DW1 : KF=+01023
DW5 : KF=+01000
DW9 : KF=+01023
DW11: KM=00000000 00101001 // Control word
I I I
I I I_____ Auto mode
I I________ Velocity algorithm
I__________ No feedforward control
DW14: KF=+02048
DW38: KF=+01023
DW46: KF=+00818
DW47: KF=+00891
DW48: KF=+01019
----------------------------------