[?]: s7-300 plc programming

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
seee
Posts: 10
Joined: Tue Mar 22, 2011 7:24 am

[?]: s7-300 plc programming

Post by seee »

hello dear friends.
one question has been in my mind for some years and i have not found an answer for it till now.
suppose you want to write plc program(s7-300)
for a new machine from beginning.
this machine have many cylinders,motors,valves and etc.
my question is that how you write plc program for each
part to avoid confusing?
Do you consider an fc for each part(for example:electric valves)?
In most of programs i have seen that the programmer
write whole cycle of machine in one fc and this fc communicate with other FCs. this fc called "sequencing".
how do you write plc program?
do you write sequencing program?
please please share your experiences.
best regards.
gary_angel
Posts: 7
Joined: Thu Aug 07, 2014 10:09 am

Re: [?]: s7-300 plc programming

Post by gary_angel »

For this particular task, the best practice - define the identical parts in your machine(actuators, drives, sensors) and write
FB(Functional block) for each type.
Then "connect" this FB in according sequence using FC.
Dfcz
Posts: 878
Joined: Tue Dec 26, 2006 5:21 am
Location: Russia

Re: [?]: s7-300 plc programming

Post by Dfcz »

Every programmer writes as it is more convenient.
So write and don't worry, the main thing that would work.