EasyManuals Logo

Siemens SICAM CMIC User Manual

Siemens SICAM CMIC
414 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #329 background imageLoading...
Page #329 background image
Error Handling
SICAM RTUs, User Manual SICAM CMIC 329
DC8-001-2.09, Edition 08.2016
B.6 Setpoint Command
PLC_RESET:
LD 20
ST PLC_CYCLETIME (*cycle time in ms*)
PLC_INIT:
LD 1
ST PLC_TX_DATAFLOW_030 (*single-point inform. to plc & comm.*)
ST PLC_TX_DATAFLOW_031 (*double-point inform. to plc & comm.*)
ST PLC_TX_DATAFLOW_036 (*measured value float to plc & comm.*)
ST PLC_TX_DATAFLOW_050 (*setpoint command float to plc & comm.*)
PLC_START:
(*Mapping inputs to flags*)
LD I_050_171_105_000.S_E (*setpoint command select/execute*)
ST M_BOOL_NyttBVCmL45
LD I_030_008_004_000.VALUE (*single-point information input*)
ST M_BOOL_OmkHandL45
LD I_036_018_039_000.VALUE (*measured value float input*)
ST M_REAL_CmL45
LD I_050_171_105_000.VALUE (*setpoint command float input*)
ST M_REAL_BvCmL45DC
(*Temporary test variables*)
LD I_050_171_105_000.S (*check for a rising edge, otherwise*)
ST R_TRIG_PosFlank1.CLK (*create a confirmation each cycle*)
CAL R_TRIG_PosFlank1 (*if you have no setpoint the logic*)
JMPN HOPP90 (*will jump over the COT procedure*)
LD I_050_171_105_000.S_E
ST O_050_171_105_000.S_E (*here you have to add the select*)
(*before execute procedure*)
ST M_BOOL_NyttBVCmL45 (*setpoint command select/execute*)
LD I_050_171_105_000.VALUE
ST O_050_171_105_000.VALUE (*setpoint command float output*)
ST M_REAL_BvCmL45DC
(*Example for select before execute*)
LD 7 (*7 = confirmation, 10 = termination,*)
ST O_050_171_105_000.COT (*if you set 0, the confirmation would*)
(*be created here, and the termination*)
(*in the following cycle*)
LD 1
ST O_050_171_105_000.S (*setpoint command spontaneous*)
HOPP90:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SICAM CMIC and is the answer not in the manual?

Siemens SICAM CMIC Specifications

General IconGeneral
BrandSiemens
ModelSICAM CMIC
CategoryRemote Control
LanguageEnglish

Related product manuals