Installation manual

5/11
5
Grafcet language,
Instruction List language
Modicon TSX Micro
automation platform 0
PL7 Micro/Junior/Pro programming software
Grafcet language is used to describe, in a simple and graphic manner, the sequential
part of control systems. It corresponds to the SFC "sequential function chart"
language described in standard IEC 1131-3.
Grafcet SFC language is only used in one section of the master task.
This is structured in three processing operations, see page 5/8.
Programs written in Grafcet SFC language consist of:
b Macro-steps (1) which are the only representation of a set of steps and a transition.
b Steps, with which the actions to be executed are associated.
b Transitions, with which the conditions are associated (transition conditions).
b Directed links, connecting the steps and transitions.
See characteristics page 5/16.
The actions (continual, pulsed on activation or deactivation) and transition conditions
can be programmed in the desired language: Ladder, Structured Text or Instruction
List.
The editor offers 8 pages, each consisting of 11 columns and 14 lines, giving
154 cells per page.
A palette of graphic objects is used for direct access to each graphic symbol
(macro-steps, steps, transitions, sequence selection, simultaneous activation/
deactivation and connectors).
Programming of the transition conditions and actions is performed simply by clicking on
the required chart element.
On a Grafcet page, comments of up to 64 characters can be entered in any cell.
Functions which assist entry: cut, copy, paste, etc. are available to the user.
Instruction List language is a language representing, in the form of text, the
equivalent of a Ladder diagram. It is used for writing Boolean equations and making
use of the functions available in the language.
A program in Instruction List language comprises a sequence of instructions from the
following different families:
b Bit instructions, for example read input n° 3: LD %I1.3.
b Instructions on function blocks, for example start timer n° 0: IN %TM0.
b Numerical instructions on single, double and floating point integers, for example,
perform an addition: [%MW10:= %MW50 + 100].
b Instructions on word tables, character strings, for example, perform an
assignment: [%MW10:10:=%KW50:10].
b Program instructions, for example, call subroutine n° 10: SR10.
Each instruction is composed of an instruction code and a bit or word type operand.
As in Ladder language, instructions are organized into sequences of instructions
(equivalent to a rung). Each sequence of instructions can be identified by a label %Li,
with i being from 0 to 999 and accompanied by a comment of 222 characters
maximum.
Each sequence of instructions is composed of one or more test instructions. The result
of these instructions is applied to one or more action instructions.
Objects can be entered and displayed in either symbol or address format.
The editor provides help with entering data.
(1) With Premium PLCs only.
Grafcet language (SFC)
T
SX Micro PLC Premium PLC
b 96 steps maximum on 8
pages for TSX 37-10
and 128 steps for
TSX 37-21/22
b 1024 transitions maximum
b 11 elements maximum per
divergence/convergence
b maximum of 250 steps on
8 pages
b 64 macro-steps of 250
steps.
b A "generic" comment can
be associated with each
macro-step
b 1024 transitions maximum
b 11 elements maximum per
divergence/ convergence
b 1024 steps maximum in
the application
Structure of the section in the master task
Program editor: Grafcet SFC language
Instruction List language (IL)
Program structure (section, SR or event-triggered tasks)
Program editor: Instruction List language
resentation:
age 5/5
Functions:
pages 5/12 to 5/15
Characteristics:
pages 5/16 to 5/18
Reference:
pages 5/18 to 5/19
Courtesy of Steven Engineering, Inc. ● 230 Ryan Way, South San Francisco, CA 94080-6370 ● General Inquiries: (800) 670-4183 ● www.stevenengineering.com
efesotomasyon - telemecanique inverter