QUICK REFERENCE. Schneider Electric TSXCCM100 Rapid counting module
Reklama
Reklama
TSX CCM 100 connections
Signals
Input In4
24V
Input In3
24V
24V
Input In2
5V
Input In1
Input In0
Unused
Unused
Output O0
24V
24V
Output O1
Output O2
Output O3
24Vs
0Vs
Unused
A8
A7
A6
A5
A4
A3
A2
A1
B8
B7
B6
B5
B4
B3
B2
Ground
B1
TSX BLK 4
D1
D2
D3
D4
D5
D6
D7
D8
In4
C1
In3
C2
In2
C3
C4
In1
C5
In0
C6
C7
C8
-
-
-
-
5V
-
5V
Signals
Input In4
Input In3
Input In2
Input In1
Input In0
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Unused
Ground
Indicator lights
TSX CCM 100
F
OK
R0
R1
R2
In0
In1
In2
In3
In4
Red = Module failed
Green = Module powered-up and operating correctly
Red = Outputs activated (4th output not displayed)
Red = Inputs supplied or at state 1.
2
General characteristics
• Installation : TSX 47-30/67/87 :in racks with the complete bus,
TSX 47-20 : in the first 4 slots of basic configration rack.
• Module hardware code : 730 • Module software code : 63 for TSX 47-20
730 for other types of processor
• Response to power break (PWF) :
- PWF > 10ms and < the autonomy of PLC power supply unit :
. The bit IWxy,1,2 is set to 1 (reset to 0 by a rising edge on Oxy,7),
. The physical outputs are reset to 0.
- PWF > the autonomy of PLC power supply unit :
. The bit IWxy,1,2 is set to 1,
. The physical outputs are reset to 0.
. On power return, the module is automatically initialized.
In all cases, the software configuration is saved by the internal battery of the module.
TSX CCM 100 module
Zero mark or validation
Preset
Capture
In 0
In 1
In 2
In 3
T
S
I
N
P
U
In 4
Contactors
O.0
O.1
O.2
O.3
U
T
S
T
P
O
U
➡ ➡
Selected preprogrammed function
Configuration
➡ ➡
Ixy,8 to F Ixy,0 to 7
8 output register words
OWxy,0 to OWxy,7
8 intput register words:
IWxy,0 to IWxy,7
Request interpreter
IT
Interface
TOR
PLC processor
User program
OW
Register interface
..
→ OWxy,z
IWxy,z
..
→
IW
Message interface
TXT
CPL
Message interface : Standard requests
Request
Write configuration
Read configuration
Read fault bits (BDEF)
Write application name
Read application name
Read module version
TXTi,C Ch. No. TXTi,V No. of
(hexa) (hexa) (hexa) bytes written
40
41
63
63
FE(FD)
71(FD)
16/18(*)
0
No. of bytes read
0
Module status
STOP
16/18(*) RUN/STOP
47
49
4A
F
63
63
63
63
77(FD)
FE(FD)
7A(FD)
3F(FD)
≤
0
20
0
0
4
0
≤
20
27
RUN
RUN/STOP
RUN/STOP
RUN/STOP
(*) 16 in single length. 18 in double length.
Message interface : Transfer characteristics
• CPL type text block in transmission/reception mode.
• TXTi,M = H’xy..’ with x = rack number, y = slot number, .. = channel number 00 ou 63.
• TXTi,C = request code.
• TXTi,V = Report sent back by the module, FD = transfer incorrect.
• TXTi,S = Number of bytes received (if transfer OK).
3
Wi or
CWi
Wi + 1 or
CWi + 1
Wi + 2 or
CWi + 2
Wi + 3 or
CWi + 3
Wi + 4 or
CWi + 4
Nibble 3
SL DL : Single or double length format
0 : single length format
1 : double length format
HYSTER : Hysteresis function
0 : without hysteresis
1 : with hysteresis
MODULO : Modulo function
0 : counting without modulo
1 : counting with modulo
DEFMOD : Default mode
X X X X output O.0
output O.1
output O.2
output O.3
X = 0 : OFF x = 1: ON
0
0 : Max. frequency = 2Khz
1 : Max. frequency = 40Khz
PRST-TH : Preset on threshold detection
0 : no preset on Th detection
1 : preset on Th0
2 : preset on Th1
VAL-OUT : Validation of physical outputs by CPU
0 : without validation by CPU
1 : with validation by CPU
0 : without default code
1 : with default code
0
Configuration
(Table of parameters)
Nibble 2
FILTER : Filtering of inputs
In0, In1 and In2
DEFCOD : Default code
Nibble 1
COUNT-IN : Counting input mode
0 : counting with direction
discriminator
1 : In0 : upcounting
In1 :downcounting
2 : In0 : up/downcounting
In1 : direction
TH-DET : threshold detection
Nibble 0
FUNCTION : Selection of the function
0 : counting
1 : up/downcounting
2 : timing
3 : position measurement
4 : tachometer
LOGIC : Logic of physical inputs and CPU commands
0 : on current value
1 : on captured value
X X X enable/disable preset capture
X = 0 : AND logic X = 1 : OR logic
EDGE IN3 : Active edge of
IN3
0 : active on a rising edge
1 : active on a falling edge
FORCING : Forcing of outputs
X X X X
Output O.0
Output O.1
Output O.2
Output O.3
X = 0 : OFF X = 1 : ON
IT EVENT : Selection of events generating interrupts
X X X X X X
Code
Hexa.
Code
Hexa.
Code
Hexa.
0 crossing of Th0 crossing of Th1 capture input pulse preset input pulse validation input pulse tachometer clock
X = 0 without IT
X = 1 with IT
TIM-PER : Timer function period
0 : 10ms
1 : 100ms
2 : 1s
3 : 10s
Code
Hexa.
Code
Hexa.
(*) Or of any threshold in the electronic cam mode.
Wi + 5 or
CWi + 5
Wi + 6 or
CWi + 6
Wi + 7 or
CWi + 7
DWi + 7 or
CDWi + 7
Configuration (Con’t)
(Table of parameters)
TACH-PER : Tachometer function period, from 1 x 10 ms to 32767 x 10 ms
HYS-VAL : Value of “H” (Hysteresis/2), from 0 to 32767 regardless of the counting format
MOD-VAL : Modulo value, from 200 to 32767 in single length; this value must be a multiple of 200
MOD-VAL : Modulo value, from 200 to 2 147 483 600 in double length, this value must be a multiple of 200
Decimal
Value
Decimal
Value
Decimal
Value
Decimal
Value
Parameters of the different functions
FUNCTION
Parameters ignored
COUNTING
COUNT-IN
TIME-PER
TACH-PER
UP/DOWN
COUNTING
TIME-PER
TACH-PER
TIMING
COUNT-IN
SL-DL
HYSTER
TACH-PER
HYS-VAL
POSITION
MEASUREMENT
EDGE-IN3
TIME-PER
TACH-PER
TACHOMETER
TH-DET
PRST-TH
TIME-PER
ELECTRONIC CAM
HYSTER
PRST-TH
HYS-VAL
Discrete I/O bits
Input : read by CPU
Output : written by CPU
I or Q x y,i
Addressing
Bit number
Slot number
Rack number
Register words
IW or OW x y,i
Input : read by CPU
Output : written by CPU
Bit number
Slot number
Rack number
Discrete I/O bits
F E D C B A 9 8 7 6 5 4 3 2 1 0
Ixy,8 1 = if voltage on input In2
Ixy,9 1 = if voltage on input In3
Ixy,A 1 = if voltage on input In4
Ixy,B Reserved
Ixy,C 1 = if voltage on input O.0
Ixy,D 1 = if voltage on input O.1
Ixy,E 1 = if voltage on input O.2
Ixy,F 1 = if voltage on input O.3
8 input word registers
(words read by CPU)
Standard status word IWxy,0
IWxy,1
F
IWxy,2
F
Complementary status word
Reserved
O
O
IWxy,3 Number of pulses per period
IWxy,4 Captured value (LSB)
Captured value (MSB) (*) IWxy,5
IWxy,6
IWxy,7
Current value (LSB)
Current value (MSB) (*)
Oxy,0 1 = counting validation command
Oxy,1 1 = current value preset command (*)
Oxy,2 1 = capture of current value command (*)
Oxy,3 1 = physical output validation command
Oxy,4 1 = physical output forcing command
Oxy,5 Reserved
Oxy,6
Oxy,7
Reserved
↑
= fault acknowledgement command
(*) Bits activated by a state or an edge,
depending on the choice made during
configuration (LOGIC and EDGE-IN3
nibbles).
8 output word registers
(words written by CPU)
Standard command word OWxy,0
OWxy,1
F
Preset (LSB)
OWxy,2 Preset (MSB) (**)
O
OWxy,3 Threshold 0 (LSB)
OWxy,4 Threshold 0 (MSB) (*)
OWxy,5 Threshold 1 (LSB)
OWxy,6 Threshold 1 (MSB) (*)
OWxy,7
F
Complementary command word
O
(**) Not significant in single length
6
IWxy,0 Standard status word
F E D C B A 9 8 7 6 5 4 3 2 1 0
IWxy,1 Complementary status word
F E D C B A 9 8 7 6 5 4 3 2 1 0
0 1 = IT CCM
→
CPU , reset to 0 on ACK
1 Reserved
2 1 = R.T.Z. of message system (text block)
3 1 = Module available
4 1 = General fault or memorization of fault
5 Reserved
6 1 = Specific non-blocking fault
7 Reserved
8 1 = Module inoperative
9 1 = Self-tests in progress
A 1 = Terminal block not locked
B
1 = Awaiting configuration
0 = Module configured
C
1 = Module running
0 = Module stopped
D Reserved
E 1 = Default mode
F 1 = Output states not validated
Note:
RTZ = Reset to zero
ACK = Acknowledgement
0
Counting direction 1 : Incrementing
0 : Decrementing
1
1 = CPU fault (RTZ by ACK or when
module stops)
2
1 = Power break (RTZ by ACK or when
module goes to NCONF)
3 1 = Internal counting overflow (RTZ by ACK)
4 1 = Current value < both thresholds
5
6
7
1 = Current value between the thresholds
1 = Current value
≥
Th1 and ≥ Th0
Reserved
8 Reserved
9 1 = IT waiting in the module
A
1 = IT generated by the crossing of Th0
(RTZ by ACK of IT)
B
1 = IT generated by the crossing of Th1
(RTZ by ACK of IT)
C
1 = IT generated by capture input
(RTZ by ACK of IT)
D
1 = IT generated by preset input
(RTZ by ACK of IT)
E
1 = IT generated by validation input
(RTZ by ACK of IT)
F
1 = IT generated by tachometer clock
(RTZ by ACK of IT)
IWxy,2 Complementary status word
F E D C B A 9 8 7 6 5 4 3 2 1 0
(*) In the electronic cam mode, the nibble
formed by these 4 bits gives the number
of the threshold immediately below the
current value.
(**) Or by crossing any threshold in the
0000 : code 0 = counter mode
0001 : code 1 = up/down counter mode
electronic cam mode.
0010 : code 2 = timer mode
0011 : code 3 = position measurement mode
0100 : code 4 = tachometer mode
0101 : code 5 = electronic cam mode (thresholds/outputs not configured)
1101 : code 13 = electronic cam mode (thresholds/outputs configured).
7
OWxy,0 Standard command word OWxy, 7 Complementary command
OUTPUT MATRIX
F E D C B A 9 8 7 6 5 4 3 2 1 0 F E D C B A 9 8 7 6 5 4 3 2 1 0
0
2
1 = Masking of the interrupt
↑
= RTZ of message system (text block)
4 1 = Overall validation of the sources of
interrupts
C 1 = Module switched from to STOP to RUN
0 = Module switched from to RUN to STOP
E 1 = Module operating in the Default mode
F 1 = Forcing of the outputs to zero
0
1
State of the transistor outputs when : current value
≥
Th1 and
≥
Th0
3 2 1 0
Outputs
2
3
O.0
O.1
O.2
O.3
4
State of the transistor outputs when : current value is beetween the thresholds
7 6 5 4
5
Outputs
6
7
O.0
O.1
O.2
O.3
8
State of the transistor outputs when : current value < both thresholds
B A 9 8
9
Outputs
A
B
O.0
O.1
O.2
O.3
C Reserved
D Reserved
E Reserved
F Reserved
8
Stiahnuť
Reklama