beautypg.com

Appendix e sample program for the plc link – KEYENCE BL-600 Series User Manual

Page 169

background image

159

Appendices

Appendices

Appendix E Sample Program for the PLC Link

The sample program stores the read data in D105 (DM105) and subsequent DMs.
You can change the program to suit your application.
Before using the sample program, check that your system meets the following
requirements.

BL-600 settings

The scan method is “level signal trigger”.

Use the “PLC trigger area”.

The DM head address is “0000”.

Processing of data memory flag ... Sequential processing
*

This sample program uses the level signal trigger. However, it does not use the
+05 trigger input response area to check if the BL-600 successfully recognized
the +04 reading trigger area.