Options: /Cycle
/Disable
/Fly
/Move
/Routine
/Statement
/Update: replaces or activates a programme in memory
Syntax: PG <programme_name>
Rll
Activate Clear_plc Deactiv Go Restart Sing_scan View
Activate Deactive Edit Go Rll
State Test View
The RLL command displays a menu of commands to handle PLC programme execution.
·
Activate executes the PLC programme loaded in the PLC memory. This command cannot be used
when the controller is in a FATAL status or when system, memory or programme protection is on.
Syntax: PRA
·
Clear_plc performs the following operations:
-
sets the scan time variable
- clears the PLC programme from memory
- clears the $WORD variable contents
- clears the contents of $DIN, $DOUT and $BIT variables (including the forced elements)
Before clearing confirmation is required. This programme cannot be used when system, memory or
programme protection is active, when a PLC programme is running or when the controller is in the FA-
TAL status.
Syntax: PRC
·
Deactiv stops execution of the PLC programme. The programme remains loaded in the PLC memory. A
prompt for confirmation is displayed before the programme is deactivated. This command can be used
when system, memory or programme protection is active or when the controller is in the FATAL status.
Syntax: PRD
·
Go loads the specified PLC programme into the PLC memory and starts execution. It is a combination of
the MEMORY RLL LOAD and PROGRAM RLL ACTIVATE commands. This command cannot be used
when system, memory or programme protection is active or when the controller is in the FATAL status.
Options: /PDL2source converts a PLC programme written in PDL2 (prog_name.cod) into RLL format
and then loads it into the PLC memory.
If the PDL2 programme will not load because of a file data corruption error, recover a
backup
copy or use the FILER PRINT command to convert it into an ASCII file. For further informa
-
tion
about this procedure, refer to the FILER PRINT command.
Syntax: PRG <programme_name>
·
Restart causes a cold restart of the PLC. All the $DIN, $DOUT, $AIN, $AOUT, $GIN, $GOUT and $BIT
variables are cleared including retentive entries. The variables that are currently forced are not cleared.
In addition, the scan time variable is set. RESTART cannot be used when system, memory or
programme protection is active or when the controller is in the FATAL status. Before restarting, confir
-
mation is required.
Syntax: PRR
C3G Plus OPERATOR INTERFACE
03/0499 3-45
PROGRAM COMMAND