Micromod Micro-DCI: 53MC5000 PLC AND PRINTER INTERFACES User Manual
Page 107

9.5.1 TRIGGERING BACKGROUND DATALOGS FROM FCS
To trigger a standard datalog with datapoint L073 or a free format datalog with datapoint L074 from
an FCS wirelist, configure either Parameter Loader A or B to pulse L073 [L074] to a 1. For exam-
ple, to trigger the standard datalog when the CCI0 input goes from 0 to 1, a typical wirelist would
be as follows:
B127 = 0
CCI0 (L000) is wired to the A input of Logic A.
B128 = 96
Logic B output (L096) is wired to the B input of Logic A.
B129 = 5
Logic A FC = 5 (A AND NOT B).
B130 = 0
CCI0 (L000) is wired to the A input of Logic B.
B131 = x
Logic B input B does not require a connection.
B132 = 0
Logic B FC = 0 (A).
B133 = 71
The A input of Parameter Loader A is wired to a permanent 1 (L071).
B134 = 97
The B input of Parameter Loader A is wired to the output (L097) of
Logic A.
B135 = 73 [or 74] The output of Parameter Loader A is wired to L073 (RUNLOG) or
L074 (RUNULOG).
9.5.2 TRIGGERING BACKGROUND DATALOGS FROM F-CIM
To trigger a standard datalog with datapoint L073 or a free format datalog with datapoint L074 from
an F-CIM program, use a Write module to pulse L073 [L074] to a 1. For example, to trigger the
standard datalog when the CCI0 input goes from 0 to 1, the following F-CIM section is required:
Step Func-
tion
T Sn-1
A
B
C
Comments
x+0
86
R
Sx+2
Generate oneshot from CCI0
x+1
86
R
L00
by ANDing CCI0 with last
x+2
91
R
x
scan’s NOT CCI0.
x+3
90
R
x
Sx+0
x+4
86
R
L71
Read in a 1.
x+5
87
R
x
L73 [or
L74]
Sx+3
Trigger datalog via oneshot.
9.5.3 TRIGGERING BACKGROUND DATALOGS FROM F-TRAN
To trigger a standard datalog with datapoint L073 or a free format datalog with datapoint L074 from
an F-TRAN program, simply set L073 [L074] to a 1. For example, to trigger a user generated free
format datalog when CCI0 goes from 0 to 1, the following F-TRAN instruction sequence could be
used:
:
:
IF L000 L800 ! &
\IF CCI0 0 TO 1 EDGE\
{
L74 = 1;
\TRIGGER THE USER DATALOG\
}
L800 = L000
\ARM THE EDGE DETECTOR\
:
:
Section 9. Printer Interface
PRINTER
9-7