Start process S2
Write the value of D1(PLC) to K168(MA),
i.e. channel 0 control period
Delay for 50ms
Close process S2 and open process S5 when
data transfer are completed or 50ms is over
End of process S2
Start process S3
Write
the
value
of
D2~D5(PLC)
to
K136~K139(MA), i.e. the PID parameters
Delay for 50ms
Close process S3 and open process S5 when
data transfer are completed or 50ms is over
End of process S3
Start process S4
Write the value of M100(PLC) to K136(MA), open
channel 0 PID enable bit
Delay for 50ms