
B-61813E/03 CONNECTIONS 8. HIGH SPEED COUNTER MODULE
−81−
CSP : Count stop
ALM : Alarm (disconnection or watch dog alarm)
TRB : Transfer B
8.3.2 Mode B
Change to mode B
The operation mode is set to mode A at power-on. The following data
is output to the counter module and the mode changes from A to B. The
mode cannot change from B to A.
0 CTRL : 0FH (SELECT = 7, PRS = 1)
+1 DTOH : 01H
+2 DTOM : 00H
+3 DTOL : 00H
(1) PMC I/O area
In mode B, eight input bytes and four output bytes are used as the
I/O area. The bytes in the I/O area have the following names. The
input and output directions arespecified on the basis of the PMC.
1) Output data (sent from PMC to high speed counter module)
0 CTRL (control)
+1 DTOH (higher 8-bit data)
+2 DTOM (middle 8-bit data)
+3 DTOL (lower 8-bit data)
2) Input data (entered from high speed counter module to PMC)
0 CNTS (counter H and status)
+1 CNTM (middle 8 bits of counter)
+2 CNTL (lower 8 bits of counter)
+3 STTS (status)
+4 OUTD
+5 MODD
+6 Unused
+7 Unused
(2) PMC outputs (outputs from PMC)
The PMC outputs are separated into control output CTRL and
data outputs DTOH, DTOM, and DTOL. As with normal DOs,
the control outputs of bit 5 to bit 7 are controlled independently.
The control outputs of bit 0 to bit 4 constitute SELECT indicating
the target data specified by DTOH, DTOM, and DTOL.