Batch commands, Reading program settings, Writing program settings – KEYENCE LS-7600 User Manual
Page 185

8-23
Chapter 8 RS-232C
8
Batch Commands
It is possible to read the whole setting data of the LS-7600 Series and save the data on
the PC. The saved data on the PC can be written to the controller as well. Use the
program read and program write commands.
These commands allow the following operations.
• Reading and writing program settings (auto zero set values are included).
• Reading and writing environment settings.
Command
Page
Response
Read
Program
Settings
Writing
Program
Settings
Reading
Environment
Settings
Writing
Environment
Settings
8-23
8-23
8-24
8-24
S R cr
S R ,
Data 0
Data 1
Data X Checksum
Checksum
S W ,
Data 0
Data 1
S W cr
Data X Checksum
Checksum
S A cr
S A ,
Data 0
Data 1
Data X Checksum
Checksum
S B ,
Data 0
Data 1
Data X
S B cr
Checksum
Checksum
Note:
• The commands are available only when NORMAL is set as a D-MODE
environment setting.
• No delimiter (Cr) will be required if the commands use binary data.
• A data length of seven bits is not available.
■
Reading Program Settings
All program settings selected are read.
S R cr
LS
Command
Response
Binary data
Checksum range
Data 0 through data X (X=987)
The checksum need not be calculated for
simple upload and download operations.
S R ,
Data 0
Data 1
Data X
Checksum
Checksum
■
Writing Program Settings
Select the program number and write the saved program that was read with the read
command (SR command).
Binary data
S W ,
Data 0
Data 1
S W cr
LS
Command
Response
Checksum range
Data 0 through data X (X=987)
The checksum need not be calculated for
simple upload and download operations.
Data X Checksum
Checksum