13.07.2015 Views

Alspa C80-35 24 Vdc Input, Neg/Pos Logic, 1 ms ... - GE Fanuc PLC

Alspa C80-35 24 Vdc Input, Neg/Pos Logic, 1 ms ... - GE Fanuc PLC

Alspa C80-35 24 Vdc Input, Neg/Pos Logic, 1 ms ... - GE Fanuc PLC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System Operation2. PROGRAM ORGANIZATION AND USER REFERENCES/DATAThe total logic size for the <strong>Alspa</strong> <strong>C80</strong>–<strong>35</strong> programmable controller can be up to 6 KB in size for a Model 311 orModel 313 CPU, up to 16 KB in size for a Model 331 and up to 80 KB for Model 341 or Model <strong>35</strong>1 and <strong>35</strong>2 CPUs.A program for the <strong>Alspa</strong> <strong>C80</strong>–25 programmable controller can be up to 2 KB in size for a Model 211 CPU. Aprogram for the <strong>Alspa</strong> 8000 Micro programmable controller can be up to 6 KB in size, up to 12 Kb for a 28 point<strong>C80</strong>–05 Micro <strong>PLC</strong>.The user program contains logic that is used when it is started up. The maximum number of rungs allowed per logicblock (main or subroutine) is 3000. The logic is executed repeatedly by the <strong>PLC</strong>.readinputsPROGRAMwriteoutputsRefer to either the ALS 52117 <strong>Alspa</strong> <strong>C80</strong>–<strong>35</strong> <strong>PLC</strong> Installation Manual, for a listing of program sizes and referencelimits for each model CPU.All progra<strong>ms</strong> begin with a variable declaration table. This table lists the nicknames and reference descriptions thathave been assigned in the user program.The block declaration editor lists subroutine blocks declared in the main program.2.1. Subroutine Blocks (<strong>Alspa</strong> <strong>C80</strong>–<strong>35</strong> <strong>PLC</strong> only)A program can “call” subroutine blocks as it executes. A subroutine must be declared through the block declarationeditor before a CALL instruction can be used for that subroutine. A maximum of 64 subroutine block declarationsin the program and 64 CALL instructions are allowed for each logic block in the program. The maximum size ofa subroutine block is 16K bytes or 3000 rungs, but the main program and all subroutines must fit within the logicsize constraints for that CPU model.NoteSubroutine blocks are not available for the <strong>Alspa</strong> <strong>C80</strong>–25 <strong>PLC</strong> nor for theMicro.The use of subroutines is optional. Dividing a program into smaller subroutines can simplify programming andreduce the overall amount of logic needed for the program.ALS 52102 c–en <strong>Alspa</strong> <strong>C80</strong>–<strong>35</strong>, <strong>C80</strong>–25 and <strong>C80</strong>–05 <strong>PLC</strong>s Reference ManualPage 2–15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!