Examples for Instruction Lists (IL)
SICAM A8000 / CP-8000 • CP-8021 • CP-8022 Manual
Unrestricted
551
DC8-037-2.02, Edition 10.2017
B.6
Setpoint Command
PLC_RESET:
LD 20
ST PLC_CYCLETIME
(*cycle time in ms*)
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:
Содержание CP-8000
Страница 10: ...Open Source Software 10 Unrestricted SICAM A8000 CP 8000 CP 8021 CP 8022 Manual DC8 037 2 02 Edition 10 2017 ...
Страница 74: ...Function Packages 74 Unrestricted SICAM A8000 CP 8000 CP 8021 CP 8022 Manual DC8 037 2 02 Edition 10 2017 ...
Страница 468: ...Engineering via SICAM WEB 468 Unrestricted SICAM A8000 CP 8000 CP 8021 CP 8022 Manual DC8 037 2 02 Edition 10 2017 ...
Страница 524: ...Service 524 Unrestricted SICAM A8000 CP 8000 CP 8021 CP 8022 Manual DC8 037 2 02 Edition 10 2017 ...
Страница 556: ...Error Handling 556 Unrestricted SICAM A8000 CP 8000 CP 8021 CP 8022 Manual DC8 037 2 02 Edition 10 2017 ...
Страница 603: ...Use Cases SICAM A8000 CP 8000 CP 8021 CP 8022 Manual Unrestricted 603 DC8 037 2 02 Edition 10 2017 ...
Страница 604: ......