Download MELSEC-ST SSI Absolute Encoder Input Module User's Manual

Transcript
6 PROGRAMMING
MELSEC-ST
(5) Program example
FDL address 1 initial
data write
PROFIBUS-DP
communication
start processing
Input data read
Command parameter setting
Cw.0 start slice no.
of execution target
Cw.1 command no.
to be executed
(2501H)
Cw.2 argument 1
Cw.3 argument 2
Turns on Bw.03
command request
Cw.0 start slice no.
of execution target
Cw.1 command no.
to be executed
(2502H)
Cw.2 argument 1
Cw.3 argument 2
Turns on Bw.03
command request
Cw.0 start slice no.
of execution target
Cw.1 command no.
to be executed
(2503H)
Cw.2 argument 1
Cw.3 argument 2
Turns on Bw.03
command request
* The program area enclosed by the dotted line is not required when GX Configurator-ST is used to set the command parameters.
6 - 26
6 - 26