B.6 Setpoint Command - Siemens CP-8000 User Manual

Sicam a8000 series
Hide thumbs Also See for CP-8000:
Table of Contents

Advertisement

B.6
Setpoint Command
PLC_RESET:
LD
20
ST
PLC_CYCLETIME
PLC_START:
(*Mapping inputs to flags*)
LD
I_050_171_105_000.S_E
ST
M_BOOL_NyttBVCmL45
LD
I_030_008_004_000.VALUE
ST
M_BOOL_OmkHandL45
LD
I_036_018_039_000.VALUE
ST
M_REAL_CmL45
LD
I_050_171_105_000.VALUE
ST
M_REAL_BvCmL45DC
(*Temporary test variables*)
LD
I_050_171_105_000.S
ST
R_TRIG_PosFlank1.CLK
CAL
R_TRIG_PosFlank1
JMPN HOPP90
LD
I_050_171_105_000.S_E
ST
O_050_171_105_000.S_E
ST
M_BOOL_NyttBVCmL45
LD
I_050_171_105_000.VALUE
ST
O_050_171_105_000.VALUE
ST
M_REAL_BvCmL45DC
(*Example for select before execute*)
LD
7
ST
O_050_171_105_000.COT
LD
1
ST
O_050_171_105_000.S
HOPP90:
SICAM A8000 / CP-8000 • CP-8021 • CP-8022 Manual
DC8-037-2.02, Edition 10.2017
Examples for Instruction Lists (IL)
(*cycle time in ms*)
(*setpoint command select/execute*)
(*single-point information input*)
(*measured value float input*)
(*setpoint command float input*)
(*check for a rising edge, otherwise*)
(*create a confirmation each cycle*)
(*if you have no setpoint the logic*)
(*will jump over the COT procedure*)
(*here you have to add the select*)
(*before execute procedure*)
(*setpoint command select/execute*)
(*setpoint command float output*)
(*7 = confirmation, 10 = termination,*)
(*if you set 0, the confirmation would*)
(*be created here, and the termination*)
(*in the following cycle*)
(*setpoint command spontaneous*)
Unrestricted
551

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp-8021Cp-8022

Table of Contents