Sample Ladder - Unipulse F156 Operation Manual

Weighing controller
Table of Contents

Advertisement

3-7. Sample Ladder

"Sample of incrementing the final value from 0 to 99999"
CPU ......................... A1SH
Station No................ 1
Master slot ............... 2
"CC-Link System Master/Local Unit User's Manual (Detailed Information)"
Model: AJ/A1SJ61BT11-U
In this sample, the final value is written and read by using the request flag, and two values are
compared, and if they correspond, the value is incremented, which is repeated up to "99999."
"0" follows after "99999."
Flow
Initial setting
D300 = 99999
NO
Substitute "0" into D300. 
Write the value of D300 to the final after making sure that the response is OFF.
Turn the request OFF after making sure that the response is ON.
Request to read the final after making sure that the response is OFF.
Read the value (D302) and turn the request OFF after making sure that the response is ON.
Compare D300 and D302.
If they do not correspond
Sequence end
3.CC-LINK INTERFACE
YES
D300 = D300 + 1
If they correspond
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents