Reference programs, Read comparator value (p.v. value), Input preset – KEYENCE DL-PN1 User Manual

Page 32: Explanation of the program

Advertising
background image

30

- PROFINET Communication Unit DL-PN1 User's Manual (IB) -

Reference programs

This section introduces reference programs for carrying out PROFINET communication.
If you use these program, ensure that error handling etc. is taken into account when
programming.

Read comparator value (P.V. value)

Explanation of the program

M6.0 (Address 6, Bit 0) turns ON.
The amplifier (main unit) comparator value (P.V. value) is written to MD40.

Input PRESET

Explanation of the program

M6.0 (Address 6, Bit 0) turns ON.
When the amplifier (main unit) comparator value property (Address 17, Bit 1) is Valid (0),
ZERO SHIFT (Address 1, Bit 0) is performed.

MOV

M6.0

EN

ENO

IN

OUT

ID19

MD40

Network1

M6.0

I 17.1

Q 1.0

S

Network1

Advertising