GE GFK-1918D Manuel D’Utilisation

Page de 114
M o t i o n   P r o g r a m m i n g
Local Logic
GFK-1918D
CIMPLICITY Logic Developer - PLC Version 4.00
95
L O C A L   L O G I C  
A Local Logic program runs synchronously with the Motion program, but is 
independent of the PLC’s CPU scan. This allows the DSM314 to interact much 
more quickly with motion I/O signals on its faceplate connectors than would be 
possible if the logic for the signals was handled in the main ladder program 
running on the PLC.
Local Logic language uses free-form, text-based circuits and contains basic 
mathematical and logical constructs. Local Logic programming syntax allows you 
to assign a variety of logic tasks to your motion programs while working in 
conjunction with PLC Logic programs and motion programs to yield a flexible 
programming environment. Because it uses straightforward, understandable 
syntax, it is easy to gain proficiency with this editor.
The Local Logic programming language supports assignments, conditional 
statements, arithmetic, logical and relational statements. Local Logic provides the 
user access to motion controller data, parameters using a fixed set of variables, 
control and status bits.
Parameter data - accessible from Local Logic host PLC and motion programs. 
The parameter data are similar to variables in a program.
CTL bits - allow the Local Logic program or host PLC to signal the motion 
program to start an event. 
Motion program block numbers - the current block number can be used within 
the Local Logic program or host PLC to make an action occur only during a 
specific motion programming section.
To  cr eat e a  L oc al  Lo g ic  bl oc k 
1.
In the 
 Projects tab of the 
 Navigator, right-click the 
 Local Logic folder and choose New
A new
 Local Logic block with a default name is created.
2.
Rename the block as required. 
To  op en  a   L o ca l  L og ic   b lo ck   fo r   ed iting
In the 
 Projects tab of the 
 Navigator, right-click the 
 Local Logic block and choose Open
The Local Logic block opens in the Local Logic editor and is ready for editing. 
Navigator: Project tab
Local Logic