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:
Содержание SICAM CMIC
Страница 8: ...Preface 8 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 10: ...Open Source Software Used in SICAM CMIC 10 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 20: ...Table of Contents 20 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 Glossary 405 ...
Страница 46: ...Installation 46 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 62: ...Interfaces and Circuitry 62 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 102: ...Preparing the Engineering 102 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 130: ...Engineering via SICAM TOOLBOX II 130 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 334: ...Error Handling 334 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 386: ...Set Up Dial Up Connection via PPP 386 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 394: ...Install Security Certificate 394 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 404: ...Use Cases 404 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 414: ...Glossary 414 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 X Z ...