²£«~¸Ô±¡¸ê®Æ
PLCªºSFCµ{§Ç³]p¤èªk¡G
(1)¥ÎSFC¶i¦æ¶¶§Ç°Ê§@ªº½sµ{¬OSFC¸û°ò¥»ªº¥Î³~¡A ¤]¬O¬Û¹ï²³æªº¡A¥u»Ý¼g¥X¾÷±ñ°Ê§@ªº¤u§Ç¹Ï¡A¶i¦æª¬ºA¤À°t¡AµM«á®Ú¾ÚÂಾ±ø¥óªº¶¶§Ç¡B¨Ã¦æ©Î¿ï¾ÜµeSFC¹Ï¡A¦A±NSFC§ïµe¦¨±è§Î¹Ï´N¥i¥H¤F¡C
(2)SFC¤£¥u¬O¥i¥H¥Î©ó¹ï¶¶§Çªº¾÷±ñ°Ê§@¶i¦æ½sµ{¡A¤]¥i¥H¥Î©ó¤@¯ëªºÅÞ¿è½sµ{¡A¤×¨ä¬O¦b¤À¤ä§PÂ_¤ñ¸û´_Âøªº±¡ªp¤U¡A±Ä¥ÎSFC½sµ{¥i¨Ï°ÝÃD¤j¤j´î¤Æ¡C¨Ò¦p¦b¹q±è±±¨î¤¤¡A¦p¹q±è¥¿¦b¤W¦æ¡An§PÂ_¤U¤@¼h¬O§_n°±ªº¬yµ{¡A¦p¹Ï1¥Ü¡A¨ä¤¤ªºÅÞ¿è§PÂ_¬O¤ñ¸û´_Âøªº¡AY±Ä¥Î°ò¥»ÅÞ¿è «ü¥O¶i¦æ½sµ{¡A«hµ{§Ç«Ü´_Âø¡A¥]§t«Ü¦h¸õÂà¡Aµ{§Çªº¾\Ū¡BÀˬd³£«Ü¶O«l¡A¦ýY±Ä¥ÎSFC½sµ{«h»´ªQ¦h¤F¡A®Ú¾Ú¬yµ{¹Ï¥iª½±µ ¼g¥X¹Ï2©Ò¥Üªº¨ã¦³¿ï¾Ü©Ê¤À¤äªºSFC¬yµ{¡C
¦b¹Ï2¤¤¡A¦bª¬ºAS33¤¤§PÂ_¤U¤@¯¸´[¤º¦³µL¤U±èªº¡A ¦bª¬ºAS22§PÂ_¤U¤@¯¸´[¥~¦³µL©I¤W¡AS24§PÂ_¤U¤@¯¸´[¥~¦³µL©I¤U¡AS26§PÂ_¥H¤U¦U¯¸¦³µL©I±è¡A®Ú¾Ú¨ãÅ鱡ªpÂà¤J¬ÛÀ³³B²z¡A¥i¥H¶i¤@¨B«Ü®e©ö¦a¼g¥X¨B¶i±è§Î¹Ï¡A«Ü¤è«K¶i¦æ½Õ¸Õ»PÀˬd¡C
(3)¦b±±¨îÅÞ¿è¤ñ¸û´_Âøªº±¡ªp¤U¡A¦³®É¥Î¤@ÓSFC¬yµ{«ÜÃø¶i¦æ½sµ{¡A³o®É¥i¥H¦b¤@Óµ{§Ç¤¤¨Ï¥Î¦hÓ¿W¥ßªºSFC¬yµ{¡AÁÙ¥i¶i¦æ¤lµ{§Ç½Õ¥Îµ¥¡C¨Ò¦p¹Ï3µ¹¹q±è±±¨îªº±è§Î¹Ïµ{§Çµ²ºc¡A¹Ï¤¤¤lµ{§ÇP0§¹¦¨«H¸¹ªº±Ä¶°»PÅã¥Ü ¡G¥HS0¬°°_©lª¬ºAªºSFC¬yµ{¶i¦æ¤W¤U¦æ§PÂ_¡A§PÂ_ªºµ²ªG¦s©ñ¦bM500©MM502¤¤¡A¤W¦æM500±µ³q¡A¤U¦æM502±µ³q;S1¶}©lªºSFC¬yµ{¶i¦æ¤W ¦æ³B²z;S2¶}©lªºSFC¬yµ{¶i¦æ¤U¦æ³B²z¡C
(4)¦b¨ã¦³¦hÓ¿W¥ßªºSFC¬yµ{ªºµ{§Ç¤¤¡A¤@ÓSFCµ²§ô«á¥i¯àªð¦^¥»SFCªºªì©lª¬ºA¡A¤]¥i¯à°h¥X¸ÓSFC¶i¤J§Oªº¬yµ{¡C¹ï©ónªð¦^¥»SFCªì©lª¬ºAªº±¡ªp«h¤ñ¸û²³æ¡A·í¸û«á¤@Óª¬ ºAµ²§ô«á¸m¦ì(¿é¥X)¨äªì©lª¬ºA§Y¥i;¹ï©ón°h¥X¸ÓSFCªº±¡ªp¡A¥u¶·¦b¸û«á¤@Óª¬ºAµ²§ô«á¡A¸Óª¬ºA¡C¥H¹q±è±±¨î«Y²Îªº¤W¦æ³B²z¬°¨Ò¡A¦b¤W¦æ¹Lµ{¤¤¡AY¤U¤@¯¸»Ýn°±¡A¥B°±«á¤W¦æ¹Lµ{µ²§ô¡A«h°h¥X¸ÓSFC¬yµ{;Y¤U¤@¯¸»Ýn°±¡A¦ý°±«á¤W¦æ¹Lµ{¨Ã¥¼µ²§ô¡A«hªð¦^S1;Y¤U¤@¯¸¤£»Ýn°±¡A«h¹q±èÄ~Äò¤W¡CSFC¬yµ{µ²§ô**¥ÎRET«ü¥Oªð¦^¥D¥À½u¡C
¹q®ðECS«Y²Î¡A¨ä¥Dn§@¥Î¬Oµo¹q¾÷ªº±Ò¡B°±±±¨î¤ÎÅÞ¿è;¼t¥Î¹q«Y²Î¦U¶}Ãöªº±±¨î¤ÎÅÞ¿è;¹q®ð«Y²Îªº¦U°Ñ¼Æ»P³]³Æª¬ºAªººÊµø;Ä~¹q«OÅ@°Ê§@±¡ªp¡B¬G»Ù³øĵ¤Î®É¶¡¶¶§Ç°O¿ý¡C
^¤å²£«~¸Ô²Ó«H®§
SFC programming method for PLC:
(1) The programming of sequential actions using SFC is a basic and relatively simple use of SFC. Simply write the process diagram of mechanical actions, assign states, and draw SFC diagrams based on the order of transfer conditions, parallel or selective, and then change SFC to a ladder diagram.
(2) SFC can not only be used to program sequential mechanical actions, but also can be used for general Logic programming. Especially in the case of complex branch judgment, SFC programming can greatly reduce the problem. For example, in elevator control, if the elevator is moving up, the process of determining whether the next floor needs to stop is as shown in Figure 1. The logic judgment is relatively complex. If basic logic instructions are used for programming, the program is complex, including many jumps, and reading and checking the program is difficult. However, if SFC programming is used, it is much easier. According to the flowchart, the SFC process with selective branches shown in Figure 2 can be directly written.
In Figure 2, in state S33, it is determined whether there is a descent ladder inside the next station car, in state S22, whether there is a descent ladder outside the next station car, in S24, and in S26, the following stations are determined whether there is a descent ladder outside the next station car. Based on the specific situation, the corresponding processing can be carried out, and the step ladder diagram can be easily written for debugging and inspection.
(3) In situations where the control logic is relatively complex, sometimes it is difficult to program with one SFC process. In this case, multiple independent SFC processes can be used in one program, and subroutine calls can also be made. For example, Figure 3 shows the ladder diagram program structure for elevator control. The subroutine P0 in the figure completes signal acquisition and display: the SFC process with S0 as the starting state performs uplink and downlink judgment, and the judgment results are stored in M500 and M502. The uplink M500 is connected, and the downlink M502 is connected; Perform upstream processing on the SFC process starting from S1; The SFC process starting from S2 undergoes downstream processing.
(4) In a program with multiple independent SFC processes, one SFC may return to its initial state after completion, or exit the SFC and enter another process. For situations where the initial state of this SFC needs to be returned, it is relatively simple to set (output) its initial state after the end of the later state; For situations where the SFC needs to be exited, it is only necessary to exit the later state after the end of that state. Taking the uplink processing of the elevator control system as an example, if the next station needs to stop during the uplink process and the uplink process ends after stopping, the SFC process will be exited; If the next station needs to stop, but the uplink process does not end after stopping, then return to S1; If there is no need to stop at the next station, the elevator will continue to ascend. End of SFC process * * Use RET instruction to return to the main bus.
The electrical ECS system, whose main function is to control the start and stop of the generator and its logic; Control and logic of each switch in the auxiliary power system; Monitoring of various parameters and equipment status of the electrical system; Record the action status, fault alarm, and time sequence of relay protection.
§K³dÁn©ú¡G
AMIKON§Ú̾P°â·s²£«~©M°±²£²£«~¡A¿W¥ß´ë¹DÁʶR¦¹Ãþ¯S¦â²£«~¡Cªü¦Ì±±¤£¬O¥»ºô¯¸¯S¦â²£«~ªº±ÂÅv¤À¾P°Ó¡B¸g¾P°Ó©Î¥Nªí¡C¥»ºô¯¸¤W¨Ï¥Îªº©Ò¦³²£«~¦WºÙ/²£«~¹Ï¤ù¡B°Ó¼Ð¡B«~µP©MÀ²¼Ð§¡¬°¨ä¦U¦Û©Ò¦³ªÌªº°]²£¡C±a¦³³o¨Ç¦WºÙ,¹Ï¤ù¡B°Ó¼Ð¡B«~µP©MÀ²¼Ðªº²£«~´yz¡B´y¼g©Î¾P°â¶È¥Î©óÃѧO¥Øªº¡A¨Ã¤£ªí¥Ü»P¥ô¦óÅv§Q«ù¦³¤H¦³¥ô¦óÃöÁp©Î±ÂÅv¡C
HONEYWELL | CC-PAOH01 | GE | IC695NIU001 |
HONEYWELL | CC-PAIN01 51410069-175 | GE | IC695HSC308 |
HONEYWELL | CC-PAIM01 51405045-175 | GE | IC695ETM001 |
HONEYWELL | CC-PAIH02 51405038-375 | GE | IC695ETM001 |
HONEYWELL | CC-PAIH01 51405038-175 | GE | IC695CRU320 |
HONEYWELL | CC-IP0101 51410056-175 | GE | IC695CPU320 |
Honeywell | CC-IP0101 51410056-175 | GE | IC695CPU315 |
HONEYWELL | 51405098-100 | GE | IC695CPU315 |
HONEYWELL | 51404172-175 | GE | IC695CPU310 |