beautypg.com

Rockwell automation plc, Description of the reference program, Description of the reference program ... a-5 – KEYENCE IV Series User Manual

Page 99

background image

A-5

- IV Series User’s Manual (Field Network) -

Reference program (EtherNet/IP)

Rockwell Automation PLC

Rung0

Rung1

Rung2

REQ

ONS

ONS

ONS

Trigger Ack

Result Ready

Trigger

Result Ready Ack

MOV

Move

Source

Dest

Tool Score

Result

Trigger

Result Ready

Result Ready

Result Ready Ack

z

„

Description of the reference program

z

z

Rung0

Sets “REQ” to ON and executes “Trigger”.
“Trigger Ack” ON will set Trigger to OFF (“Trigger” will be retained until “Trigger Ack” becomes ON).

z

z

Rung1

“Result Ready” ON will copy the data written in “Tool Score” to “Result”.

z

z

Rung2

“Result Ready” ON will execute “Result Ready Ack”.
“Result Ready” OFF will set “Result Ready Ack” to OFF (“Result Ready Ack” will be retained until “Result
Ready” becomes OFF).

To ensure synchronicity between Input Data and Output Data, use the CPS instruction at the beginning of

the ladder.

A