Download MELSEC-Q/L Programming Manual (MELSAP-L)
Transcript
4 SFC PROGRAM CONFIGURATION [Functions] (1) This function reads step comments being activated in the SFC block specified at n1, by the number of comment specified at n2, and stores those to the device number of after specified at D1 . SP.SFCSCOMR K1 D0 K2 K2 M0 [SFC program (block1)] Device specified at D1 0 oY110 0 aX100 1 oY111 1 aX101 Process ready complete Read a comment D0 2 1 D1 2 2 D2 2 3 D3 Empty D4 .. . Positioning for material A D19 2 oY112 Positioning for material A oY114 Positioning for material B 2 aX102 Positioning complete for material A aX103 Positioning complete for material B 3 oY113 Processing for material A D22 oY115 Processing for material B Read a comment D23 D24 .. . 4 aX104 Processing complete for all materials D20 0000H D21 Empty 5 1st comment information 3 Empty Processing for material B 2nd comment information D39 D40 0000H D41 Empty : Indicates active steps. 1 : Indicates the total number of active steps. 2 : Indicates steps that have read comment. 3 : Indicates step No. (2) Executing S(P).SFCSCOMR instruction, SM735 of the special relay (SFC comment readout instruction executing flag) turns ON. Confirms whether or not S(P).SFCSCOMR instruction is executed by SM735. (3) In case comments are not set into active steps, "2DH(-)" is stored to the comment area (word length of 32 characters). (4) Read comments are stored in ascending order of the step No. (5) Comments are read from the comment file specified when S(P).SFCSCOMR instruction is executed. (6) Comments to be read with S(P). SFCSCOMR instruction are those of steps when executing S(P).SFCSCOMR instruction. being activated : As steps retaining coil outputs are not active steps, reading comments is not enabled. 4 - 100 4 - 100