4. PLC interface MCP1
Festo GDCP-CMXR-F-EN 0909a
31
Signal curve for unloading all programs
Min. 1 prg. loaded
SREG2.B7 LOADED
1
Requirements:
ACK and NACK = 0
2
Rising edge at “Unload
program” with program
number 0 unloads all
programs
3
The UNLOAD output
must carry 1-signal for as
long as it takes until the
ACK input also reports
1-signal.
4
As soon as NACK = 1 has
been recognised by the
PLC, it may reset UNLOAD
to 0. The CMXR reacts with
a falling edge at ACK.
5
As soon as ACK = 0 has
been recognised by the
PLC, the controller is ready
for a new job.
Not Acknowledge
SREG2.B5 NACK
Acknowledge
SREG2.B4 ACK
Unload program
CREG2.B6 UNLOAD
Req. prg number
Output data
4.4.13
Starting the program
The loaded program with the transferred program number is started. Only one program
can be started. To process parallel programs, see chapter “Parallel programs”.
Condition
Control sovereignty on PLC interface.
The program to be started is loaded.
The drives are enabled.
The automatic mode is enabled.
No errors are present.
Program number 1 ... n is in the program register
MCP1-EA: CREG.PRGNR register (4 bits).
MCP1-PB: PRGNR register (1 byte).
Activity
Set the CREG.START bit (rising edge).
Wait for Acknowledge SREG.ACK or Not Acknowledge
SREG.NACK
Reaction
The program will be started.
In the event of an error, SREG.ERROR is set.
Содержание CMXR-C1
Страница 2: ......
Страница 42: ...6 Communication variables 42 Festo GDCP CMXR F EN 0909a...