mand Output
The first digital input of the master control element (with
The first digital input of the master control element (with default address and type identificationdefault address and type identification I_030_002_000_000.VALUE
I_030_002_000_000.VALUE) is loaded into the accumulator. In the next line the loaded) is loaded into the accumulator. In the next line the loaded value is transferred to the outputs
value is transferred to the outputsO_030_008_000_000.VALUEO_030_008_000_000.VALUEandand O_045_009_000_000.VALUE
O_045_009_000_000.VALUE..
Changing the input type from single command to single message with the engineering tool Changing the input type from single command to single message with the engineering tool (webbrowser), the relay at the output
(webbrowser), the relay at the outputD00D00picks up when the input becomes logical "1". Oth-picks up when the input becomes logical "1". Oth-erwise this output address will be sent to th
erwise this output address will be sent to th e communication because it is not existing withine communication because it is not existing within the periphery. The default address of the command is
the periphery. The default address of the command isD01D01..
PLC_RESET:
PLC_RESET:
PLC_INIT:
PLC_INIT:
PLC_START:
PLC_START:
LD
LD I_030_002_000_00I_030_002_000_000.VALUE 0.VALUE (*IN00 (*IN00 TI:30 TI:30 IOA1:002 IOA1:002 IOA2:000 IOA2:000 IOA3:000*)IOA3:000*) ST
ST O_030_008_000_00O_030_008_000_000.VALUE 0.VALUE (*store at (*store at output output as as binary binary information*)information*) ST
ST O_045_009_000_00O_045_009_000_000.VALUE 0.VALUE (*store at (*store at output output as as command*)command*)
B.2.
B.2. Combine Combine two two Inputs Inputs with with AND AND
The cycle time is set to 50ms. The first two
The cycle time is set to 50ms. The first two inputs of the master control element will be com-inputs of the master control element will be com-bined by logical AND. The result is transferred to a flag and additional to a digital output. The bined by logical AND. The result is transferred to a flag and additional to a digital output. The type identification of the output is single message.
type identification of the output is single message.
PLC_RESET:
PLC_RESET:
LD
LD 50 50 (*load (*load value value 50*)50*) ST PLC_CYCLETIME
ST PLC_CYCLETIME (*store (*store at at system system variable variable for for cycle*)cycle*) (*time in ms*)
(*time in ms*) PLC_INIT:
PLC_INIT:
PLC_START:
PLC_START:
LD
LD I_030_002_000_I_030_002_000_ 000.VALUE 000.VALUE (*read (*read input input IN00*)IN00*) ST
ST AND.IN0 AND.IN0 (*store (*store at at input input 0 0 for for AND AND function*)function*) LD
LD I_030_003_000_I_030_003_000_ 000.VALUE 000.VALUE (*read (*read input input IN01*)IN01*) ST
ST AND.IN1 AND.IN1 (*store (*store at at input input 1 1 for for AND AND function*)function*) CAL
CAL AND AND (*call (*call function*)function*) ST
ST M_BOOL_TESTFLAM_BOOL_TESTFLA G G (*store in (*store in a a flag*)flag*) ST
ST O_030_008_000_O_030_008_000_ 000.VALUE 000.VALUE (*store (*store as as single single command command output*)output*)
B.3.
B.3. Linear Linear Adaptation Adaptation with with Value Value Selection Selection
Two analog values are compared and the higher one is selected (
Two analog values are compared and the higher one is selected (MAXMAX). With this one an ad-). With this one an ad-aptation
aptationkx+dkx+dis performed. The processed value receives a nis performed. The processed value receives a n ew addressew address
((O_036_032_001_001.VALUEO_036_032_001_001.VALUE). The constants for ). The constants for kk((M_REAL_CONSTANTforKM_REAL_CONSTANTforK) and) anddd ((M_REAL_CONSTANTforDM_REAL_CONSTANTforD) are defined with i) are defined with i nitial values in the programm sequencenitial values in the programm sequence PLC_INIT
PLC_INIT..
PLC_RESET:
PLC_RESET:
LD 10 LD 10 ST
ST PLC_CYCLETIME PLC_CYCLETIME (*cycle (*cycle time time in in ms*)ms*) PLC_INIT:
PLC_INIT:
LD 10 LD 10
ST M_REAL_CONSTANTforK
ST M_REAL_CONSTANTforK (*constant (*constant for for k*)k*) LD -5
LD -5
ST M_REAL_CONSTANTforD
ST M_REAL_CONSTANTforD (*constant (*constant for for d*)d*) PLC_START:
PLC_START:
LD
LD I_036_032_000_00I_036_032_000_000.VALUE 0.VALUE (*input 1*)(*input 1*) ST MAX.IN0
ST MAX.IN0 LD
LD I_036_033_000_00I_036_033_000_000.VALUE 0.VALUE (*input 2*)(*input 2*) ST MAX.IN1
ST MAX.IN1 CAL
CAL MAX MAX (*the (*the greater greater value value of of both both is is used*)used*) ST
ST M_REAL_MAXVALUE M_REAL_MAXVALUE (*serves (*serves for for reading reading which which value value will will *)*) ST
ST MUL.IN0 MUL.IN0 (*be used*)(*be used*) LD M_REAL_CONSTANTforK
LD M_REAL_CONSTANTforK ST MUL.IN1
ST MUL.IN1 CAL
CAL MUL MUL (*the (*the selected selected value value is is multiplicated multiplicated *)*) ST
ST ADD.IN0 ADD.IN0 (*with the (*with the constant constant and and results results as as "kx"*)"kx"*) LD M_REAL_CONSTANTforD
LD M_REAL_CONSTANTforD ST ADD.IN1
ST ADD.IN1 CAL
CAL ADD ADD (*after (*after the the multiplication multiplication add add "d"*)"d"*) ST
ST O_036_032_001_00O_036_032_001_001.VALUE 1.VALUE (*selected adapted (*selected adapted value*)value*)
B.4.
B.4. Operating Operating Hours Hours Counter Counter
A clock pulse generator (
A clock pulse generator (TCLK_PULSETCLK_PULSE) is running with a frequency of 30s logical "1" and 30s) is running with a frequency of 30s logical "1" and 30s logical "0". The edge change from "0" to "1" is switched to the
logical "0". The edge change from "0" to "1" is switched to theCUCUInput of the upward-counter Input of the upward-counter ((CTU_COUNTER.CUCTU_COUNTER.CU) and the counter will ) and the counter will be incremented with 1 per minute.be incremented with 1 per minute.
The sum of the operating hours results of two values:
The sum of the operating hours results of two values:
•
• Current counter score (Current counter score (CTU_COUNTER.CVCTU_COUNTER.CV))
•
• Counter score before the last power down (Counter score before the last power down (MR_DINT_MINUTESMR_DINT_MINUTES)) The score will be saved in a retaining flag (
The score will be saved in a retaining flag (M_DINT_MINUTESOLDM_DINT_MINUTESOLD). This means, after a). This means, after a power down (startup) the counter will
power down (startup) the counter will continue with incrementing based on the last value.continue with incrementing based on the last value.
The hours result by minutes devided by 60. The
The hours result by minutes devided by 60. The hours always will be recalculated based onhours always will be recalculated based on the minutes, the same after a power down.
the minutes, the same after a power down.
PLC_RESET:
PLC_RESET:
LD 10 LD 10 ST
ST PLC_CYCLETIME PLC_CYCLETIME (*cycle (*cycle time time in in ms*)ms*) PLC_INIT:
PLC_INIT:
LD
LD MR_DINT_MINUTEMR_DINT_MINUTE S S (*load power-fail (*load power-fail safe safe value*)value*) ST
LD PLC_SYSTIME.SEPLC_SYSTIME.SE C C (*fetch second (*fetch second value value of of the the system system time*)time*) ST
ST M_DINT_SEC M_DINT_SEC (*and (*and store store in in variable*)variable*) LD
LD M_DINT_SEC M_DINT_SEC (*current (*current second*)second*) EQ
EQ 0 0 (*compare (*compare with with second second 0*)0*) ST
ST CTU_COUNTER.CU CTU_COUNTER.CU (*HIGH (*HIGH always always at at the the second second 0, 0, required*)required*) (*edge detection is implemented within*) (*edge detection is implemented within*) (*the counter*)
(*the counter*) CAL
CAL CTU_COUNTER CTU_COUNTER (*increments (*increments the the counter*)counter*) LD
LD CTU_COUNTER.CV CTU_COUNTER.CV (*load (*load current current counter counter score*)score*) ST
ST ADD.IN0 ADD.IN0 (*store (*store at at input input 0 0 for for ADD ADD function*)function*) LD
LD M_DINT_MINUTESM_DINT_MINUTES OLD OLD (*load (*load old old value*)value*) ST
ST ADD.IN1 ADD.IN1 (*store (*store at at input input 1 1 for for ADD ADD function*)function*) CAL
CAL ADD ADD (*call (*call ADD ADD function*)function*) ST
ST MR_DINT_MINUTEMR_DINT_MINUTE S S (*store sum (*store sum of of operating operating minutes minutes in in a*)a*) (*retaining flag, after startup the*) (*retaining flag, after startup the*) (*old value will be added to the*) (*old value will be added to the*) (*current counter score*)
ST M_DINT_HOURS M_DINT_HOURS (*sum (*sum of of operating operating hours hours = = minutes*)minutes*) (*divided by 60*)
(*divided by 60*)
To reset the counter score it is necessary to reset the counter (
To reset the counter score it is necessary to reset the counter (CTU_COUNTER.RCTU_COUNTER.R) as well as) as well as the flag with the retained value (
the flag with the retained value (M_DINT_MINUTESOLDM_DINT_MINUTESOLD).).
This could be executed by a subroutine before
This could be executed by a subroutine beforePLC_RESETPLC_RESET. With. WithRETRETthe subroutine will bethe subroutine will be left.
left.
(*SUBROUTINE*) (*SUBROUTINE*) ResetCounter:
ResetCounter:
LD
LD 0 0 (*the (*the old old value value for for operating operating minutes*)minutes*) ST M_DINT_MINUTESOLD
ST M_DINT_MINUTESOLD (*is (*is set set to to "0"*)"0"*) ST
ST M_BOOL_RESET M_BOOL_RESET (*reset (*reset the the flag flag for for running running this*)this*) (*subroutine*)
(*subroutine*) LD
LD 11 ST
ST CTU_COUNTER.R CTU_COUNTER.R (*reset (*reset counter counter by by input input R*)R*) RET
RET
(*END SUBROUTINE*) (*END SUBROUTINE*)
The call of the subroutine could be executed
The call of the subroutine could be executed at the end (after at the end (after ST M_DINT_HOURSST M_DINT_HOURS). Therefore). Therefore the flag (
the flag (M_BOOL_RESETM_BOOL_RESET) must be set to "1". Instead of the flag an input ) must be set to "1". Instead of the flag an input address could beaddress could be used, for instance a command.
used, for instance a command.
Reaching the command
Reaching the commandCALCCALCthe call of the subroutine will the call of the subroutine will be executed. In the subroutine thebe executed. In the subroutine the flag (
flag (M_BOOL_RESETM_BOOL_RESET) will be reset to "0", otherwise the counter woul) will be reset to "0", otherwise the counter woul d last at "0" as long asd last at "0" as long as the flag will be
the flag will be reset to "0".reset to "0".
LD
LD 0 0 (*besides (*besides reset reset of of the the time time the*)the*) ST
ST CTU_COUNTER.R CTU_COUNTER.R (*counter (*counter input input R R is is set set to to "0"*)"0"*) LD M_BOO
LD M_BOOL_RESET L_RESET (*if (*if the the flag flag is is set set to to "1"*)"1"*) CALC
CALC ResetCounter ResetCounter (*call (*call the the subroutine subroutine ResetCounter*)ResetCounter*)
B.5.
B.5. Bounce Bounce Suppression Suppression
If an input signal is bouncing the blocked bit
If an input signal is bouncing the blocked bit ((BLBLbit) is set. The number of state changes untilbit) is set. The number of state changes until the
theBLBLbit is set, as well as the monitoring time during whibit is set, as well as the monitoring time during whi ch the information must be static un-ch the information must be static un-til the
til theBLBLbit is reset, are adjustable via constants. An output is set to "0" during thebit is reset, are adjustable via constants. An output is set to "0" during theBLBLbit isbit is set.
set.
With an edge detection for the rising edge (
With an edge detection for the rising edge (R_TRIG_INEDRISE0R_TRIG_INEDRISE0) and the falling edge) and the falling edge ((F_EDTIMEFALL0F_EDTIMEFALL0) the counter () the counter (CTU_EDC0CTU_EDC0) will be ) will be incremented by 1. At the same time theincremented by 1. At the same time theRR input of the counter is reset via an ON
input of the counter is reset via an ON delay for the rising edge (delay for the rising edge (TON_EDTIMERISE0TON_EDTIMERISE0) as well) as well as for the falling edge (
as for the falling edge (TON_EDTIMEFALL0TON_EDTIMEFALL0). With this function all state changes of the input). With this function all state changes of the input will be integrated by the counter (started with the first edge and triggered by each following will be integrated by the counter (started with the first edge and triggered by each following
one).
one).
As soon as a state change of t
As soon as a state change of the input happens the flag (he input happens the flag (M_BOOL_COUNTER00M_BOOL_COUNTER00) is reset and) is reset and the input of an
the input of anANDAND(module 8) is set (inverted). If the sum of state changes is greater as or (module 8) is set (inverted). If the sum of state changes is greater as or equal to a defined number (
equal to a defined number (CVCV>=>=PVPV) the counter output is set as well, and th) the counter output is set as well, and th eeBLBLbit is set.bit is set.
With the set
With the setBLBLbit the output is reset by another bit the output is reset by another ANDAND(module 9).(module 9).
After expiration of the monitoring time the
After expiration of the monitoring time theRRinput of the counter is set again, and the counter input of the counter is set again, and the counter is reset. If the
is reset. If theBLBL bit is set it will be reset as webit is set it will be reset as we ll (output of module 8 is reset).ll (output of module 8 is reset).
TON
In the operation order the
In the operation order the input of the counter must be reset first, because only afterwardsinput of the counter must be reset first, because only afterwards
Example:
Example:
number of state changes >= 5 number of state changes >= 5
monitoring time of the stability of the input = 10 s monitoring time of the stability of the input = 10 s
PLC_RESET:
PLC_RESET:
LD 20 LD 20 ST
ST PLC_CYCLETIME PLC_CYCLETIME (*cycle (*cycle time time in in ms*)ms*) PLC_INIT:
PLC_INIT:
LD
LD 5 5 (*number (*number of of transients transients until*)until*) ST
ST CTU_FLZ0.PV CTU_FLZ0.PV (*information (*information is is set set bouncing*)bouncing*)
(*once detected as bouncing, the input signal must last statical "1" for (*once detected as bouncing, the input signal must last statical "1" for a preset time until the blocked bit will be reset again*)
a preset time until the blocked bit will be reset again*) LD
LD 10000 10000 (*load (*load constant constant for for 10s*)10s*) ST
ST TON_EDTIMERISETON_EDTIMERISE 0.PT 0.PT (*ON (*ON delay delay rising rising edge*)edge*) ST
ST TON_EDTIMEFALLTON_EDTIMEFALL 0.PT 0.PT (*ON (*ON delay delay falling falling edge*)edge*) PLC_START:
PLC_START:
(*Modules 4,5,6,7 – if there are no more state changes of the input, the (*Modules 4,5,6,7 – if there are no more state changes of the input, the counter will be reset when the preset monitoring time has expired*) counter will be reset when the preset monitoring time has expired*) LD
LD I_030_002_000_I_030_002_000_ 000.VALUE 000.VALUE (*input*)(*input*) ST M_BOOL_INPUT00
ST M_BOOL_INPUT00 ST
ST TON_EDTIMERISETON_EDTIMERISE 0.IN 0.IN (*rising (*rising edge edge - - module module 4*)4*) STN
STN TON_EDTIMEFALLTON_EDTIMEFALL 0.IN 0.IN (*falling (*falling edge edge - - module module 5*)5*) CAL
CAL TON_EDTIMERISETON_EDTIMERISE 0.IN 0.IN (*call (*call module module 4*)4*) ST OR.IN0
ST OR.IN0 CAL
CAL TON_EDTIMEFALLTON_EDTIMEFALL 0 0 (*call (*call module module 5*)5*) ST OR.IN1
ST OR.IN1 CAL
CAL OR OR (*call (*call module module 6*)6*) ST
ST M_BOOL_COUNTERM_BOOL_COUNTER 00 00 (*also (*also in in graphic*)graphic*) ST
ST CTU_EDC0.R CTU_EDC0.R (*reset (*reset input input of of counter counter - - module module 7*)7*) (*Modules 1,2,3,7 – rising and falling edge of the input are combined (*Modules 1,2,3,7 – rising and falling edge of the input are combined with an OR and put to the CU input of the counter – each change will be with an OR and put to the CU input of the counter – each change will be added*)
added*)
LD M_BOOL_INPUT00 LD M_BOOL_INPUT00 ST
ST R_TRIG_INEDRISR_TRIG_INEDRIS E0.CLK E0.CLK (*rising (*rising edge edge - - module module 1*)1*) ST
ST F_TRIG_INEDFALF_TRIG_INEDFAL L0.CLK L0.CLK (*falling (*falling edge edge - - module module 2*)2*) CAL
CAL R_TRIG_INEDRISR_TRIG_INEDRIS E0 E0 (*call (*call module module 1*)1*) ST OR.IN0
ST OR.IN0 CAL
CAL F_TRIG_INEDFALF_TRIG_INEDFAL L0 L0 (*call (*call module module 2*)2*) ST OR.IN1
ST M_BOOL_MODULE3 M_BOOL_MODULE3 (*only (*only for for graphic*)graphic*)
(*Modules 7,8 – with the first edge change the monitoring time will be (*Modules 7,8 – with the first edge change the monitoring time will be started. If the number of edges is greater then the number of transients started. If the number of edges is greater then the number of transients within this time, the output of the AND (module 8) is set = blocked*) within this time, the output of the AND (module 8) is set = blocked*) CAL
CAL CTU_EDC0 CTU_EDC0 (*call (*call module module 7*)7*) ST
ST M_BOOL_MODULE7 M_BOOL_MODULE7 (*only (*only for for graphic*)graphic*) ST AND.IN0
ST M_BOOL_BOUNCINM_BOOL_BOUNCIN G00 G00 (*is (*is set set if if the the input input is is bouncing*)bouncing*) ST O_030_002_000_000.BL
ST O_030_002_000_000.BL (*set (*set blocked blocked bit bit of of the the input*)input*)
(*Module 9 - the output is reset during the input is detected as (*Module 9 - the output is reset during the input is detected as bounc-ing*)
ST O_030_002_000_000.VA30_002_000_000.VALUE LUE (*output of (*output of input input information*)information*)
B.6.
B.6. Setpoint Setpoint Command Command
PLC_RESET:
PLC_RESET:
LD 20 LD 20 ST
ST PLC_CYCLETIME PLC_CYCLETIME (*cycle (*cycle time time in in ms*)ms*) PLC_INIT:
PLC_INIT:
LD LD 11 ST
ST PLC_TX_DATAFLOPLC_TX_DATAFLO W_030 W_030 (*single-point (*single-point inform. inform. to to plc plc & & comm.*)comm.*) ST
ST PLC_TX_DATAFLOPLC_TX_DATAFLO W_031 W_031 (*double-point (*double-point inform. inform. to to plc plc & & comm.*)comm.*) ST
ST PLC_TX_DATAFLOPLC_TX_DATAFLO W_036 W_036 (*measured (*measured value value float float to to plc plc & & comm.*)comm.*) ST
ST PLC_TX_DATAFLOPLC_TX_DATAFLO W_050 W_050 (*setpoint (*setpoint command command float float to to plc plc & & comm.*)comm.*) PLC_START:
PLC_START:
(*Mapping inputs to flags*) (*Mapping inputs to flags*) LD
LD I_050_171_105_I_050_171_105_ 000.S_E 000.S_E (*setpoint (*setpoint command command select/execute*select/execute* )) ST M_BOOL_NyttBVCmL45
ST M_BOOL_NyttBVCmL45 LD
LD I_030_008_004_I_030_008_004_ 000.VALUE 000.VALUE (*single-point (*single-point information information input*)input*) ST M_BOOL_OmkHandL45
ST M_BOOL_OmkHandL45 LD
LD I_036_018_039_I_036_018_039_ 000.VALUE 000.VALUE (*measured (*measured value value float float input*)input*) ST M_REAL_CmL45
ST M_REAL_CmL45 LD
LD I_050_171_105_I_050_171_105_ 000.VALUE 000.VALUE (*setpoint (*setpoint command command float float input*)input*) ST M_REAL_BvCmL45DC
ST M_REAL_BvCmL45DC
(*Temporary test variables*) (*Temporary test variables*) LD
LD I_050_171_105_I_050_171_105_ 000.S 000.S (*check (*check for for a a rising rising edge, edge, otherwise otherwise *)*) ST
ST R_TRIG_PosFlanR_TRIG_PosFlan k1.CLK k1.CLK (*create (*create a a confirmation confirmation each each cycle cycle *)*) CAL R_TRIG_PosFlank1
CAL R_TRIG_PosFlank1 (*if (*if you you have have no no setpoint setpoint the the logic logic *)*) JMPN
JMPN HOPP90 HOPP90 (*will (*will jump jump over over the the COT COT procedure*)procedure*) LD I_050_171_105_000.S_E
LD I_050_171_105_000.S_E ST
ST O_050_171_105_O_050_171_105_ 000.S_E 000.S_E (*here (*here you you have have to to add add the the select*)select*) (*before execute procedure*)
(*before execute procedure*) ST
ST M_BOOL_NyttBVCM_BOOL_NyttBVC mL45 mL45 (*setpoint (*setpoint command command select/execute*select/execute* )) LD I_050_171_105_000.VALUE
LD I_050_171_105_000.VALUE ST
ST O_050_171_105_O_050_171_105_ 000.VALUE 000.VALUE (*setpoint (*setpoint command command float float output*)output*) ST M_REAL_BvCmL45DC
ST M_REAL_BvCmL45DC
(*Example for select before execute*) (*Example for select before execute*) LD
LD 7 7 (*7 (*7 = = confirmation, confirmation, 10 10 = = termination,*)termination,*) ST
ST O_050_171_105_O_050_171_105_ 000.COT 000.COT (*if (*if you you set set 0, 0, the the confirmation confirmation would*)would*) (*be created here, and the termination*) (*be created here, and the termination*) (*in the following cycle*)
(*in the following cycle*) LD
LD 11
ST O_050_171_105_000.S
ST O_050_171_105_000.S (*setpoint (*setpoint command command spontaneous*)spontaneous*) HOPP90:
HOPP90:
B.7.
B.7. Speed Speed Comparison Comparison
PLC_RESET:
PLC_RESET:
LD 100 LD 100 ST
ST PLC_CYCLETIME PLC_CYCLETIME (*cycle (*cycle time time in in ms*)ms*) PLC_INIT:
(*Check speed value on change*) (*Check speed value on change*) LD
LD I_034_016_000_00I_034_016_000_000.S 0.S (*load (*load spontaneous spontaneous bit bit speed speed value*)value*) JMPN
JMPN NO_CHANGE NO_CHANGE (*jump (*jump if if no no change change of of value*)value*) (*Change of speed value present*)
(*Change of speed value present*) LD
LD I_034_016_000_00I_034_016_000_000.VALUE 0.VALUE (*load (*load speed speed value*)value*) ST
ST M_REAL_WERTNEU M_REAL_WERTNEU (*current (*current speed speed value value to to flag*)flag*) ST SUB.IN0
ST SUB.IN0 LD
LD M_REAL_WERTALT M_REAL_WERTALT (*load (*load old old speed speed value*)value*) ST SUB.IN1
ST SUB.IN1 CAL
CAL SUB SUB (*form (*form difference difference value*)value*) ST
ST M_REAL_WERTDIF M_REAL_WERTDIF (*difference (*difference value value to to flag*)flag*) (*Take over change of value*)
(*Take over change of value*) LD
LD M_REAL_WERTNEU M_REAL_WERTNEU (*load (*load current current value*)value*) ST M_REA
ST M_REAL_WERTALT L_WERTALT (*save (*save current current value value for for next next *)*) (*change of value*)
(*change of value*) (*Value comparison speed ascending*)
(*Value comparison speed ascending*) LD
LD M_REAL_WERTDIF M_REAL_WERTDIF (*load (*load diff. diff. value*)value*) ST GT.IN0
ST M_BOOL_DZST M_BOOL_DZST (*set (*set flag flag speed speed ascending*)ascending*) (*Value comparison speed descending*)
(*Value comparison speed descending*) LD
LD M_REAL_WERTDIF M_REAL_WERTDIF (*load (*load diff. diff. value*)value*) ST LT.IN0
ST M_BOOL_DZFA M_BOOL_DZFA (*set (*set flag flag speed speed descending*)descending*) NO_CHANGE:
NO_CHANGE: (*jump mark (*jump mark if if no no change change of of value*)value*) (*Drop-off delay speed ascending*)
(*Drop-off delay speed ascending*) LD
LD M_BOOL_DZST M_BOOL_DZST (*load (*load flag flag speed speed ascending*)ascending*) ST TOF_FLAENDSTEIG0.IN
ST TOF_FLAENDSTEIG0.IN CAL
CAL TOF_FLAENDSTEIG0 TOF_FLAENDSTEIG0 (*drop-off (*drop-off delay*)delay*) LD TOF_FLAENDSTEIG0.Q
LD TOF_FLAENDSTEIG0.Q ST
ST O_030_048_000_00O_030_048_000_000.VALUE 0.VALUE (*reset output*)(*reset output*) (*Drop-off delay speed descending*)
(*Drop-off delay speed descending*) LD
LD M_BOOL_DZFA M_BOOL_DZFA (*load (*load flag flag speed speed descending*)descending*) ST TOF_FLAENDFALL0.IN
ST TOF_FLAENDFALL0.IN CAL
CAL TOF_FLAENDFALL0 TOF_FLAENDFALL0 (*drop-off (*drop-off delay*)delay*) LD TOF_FLAENDFALL0.Q
LD TOF_FLAENDFALL0.Q ST
ST O_030_049_000_00O_030_049_000_000.VALUE 0.VALUE (*set (*set binary binary output*)output*) (*Reset flags for speed ascending, descending*) (*Reset flags for speed ascending, descending*) LD
LD 00 ST
ST M_BOOL_DZST M_BOOL_DZST (*reset (*reset flag flag speed speed ascending*)ascending*) ST
ST M_BOOL_DZFA M_BOOL_DZFA (*reset (*reset flag flag speed speed descending*)descending*)
Contents Contents
C
C.1..1. Calibration Process ...Calibration Process ...184...184
C.1.
C.1. Calibration Calibration Process Process
For the connection of a
For the connection of a resistance thermometer in 2-wire technique a calibration resistance thermometer in 2-wire technique a calibration process isprocess is required at the analog input module AI-6310.
required at the analog input module AI-6310.
Preconditions Preconditions
•
• Automation unit ready for operationAutomation unit ready for operation
•
• Resistance thermometer completely wired on the system side and Resistance thermometer completely wired on the system side and connected to the I/Oconnected to the I/O module
module
•
• Measurement of the temperature by Measurement of the temperature by command interrogation from the control system or bycommand interrogation from the control system or by means of the webbrowser (user interface online)
means of the webbrowser (user interface online)
Process:
Process:
1.
1. Short-circuiting the resistanShort-circuiting the resistance thermometer. The short circe thermometer. The short circuit should take place as closcuit should take place as close toe to the resistance thermometer as possible.
the resistance thermometer as possible.
2.
2. Webbrowser: Configuration of the input on AI-6310 in mWebbrowser: Configuration of the input on AI-6310 in monitor direction to Type "Floatingonitor direction to Type "Floating point" as well as connection to "2 wire".
point" as well as connection to "2 wire".
3.
3. Webbrowser: Set configuration of the input Webbrowser: Set configuration of the input on AI-6310 in control direction to Type "singleon AI-6310 in control direction to Type "single command".
command".
4.
4. Webbrowser: In the ProcesWebbrowser: In the Process-display of the AI-6310 actuate Button fas-display of the AI-6310 actuate Button factory calibration andctory calibration and read out the temperature value. Or set the command remotely (with the correct IOA address) read out the temperature value. Or set the command remotely (with the correct IOA address) via the control system.
via the control system.
TM
TM 1703 1703 mic mic CP-60xx/CPC60 CP-60xx/CPC60 Data Data Sheet Sheet MC6-021-1MC6-021-1 TM
TM 1703 1703 mic mic CP-60xx/CPC60 CP-60xx/CPC60 System System Manual Manual DC6-031-2DC6-031-2 TM
TM 1703 1703 mic mic Installation Installation DC6-009-1DC6-009-1 TOOLBOX
TOOLBOX II II User User Manual Manual D30-500-1D30-500-1 TB II CAEx
TB II CAEx plus plusUser User Manual Manual D30-507-1D30-507-1