1. APPLICATION n Module of logic inputs The SM3 module of two logic inputs is destined to collect logic states of logic inputs and make them accessible to computer-based industrial systems working on the base of the RS-485 interface. The module has 2 logic inputs and RS-485 interface with MODBUS RTU and ASCII transmission protocols.
counting of supply decays, detection of emergency states. 2. MODULE SET SM3 module ..........1 pc user s manual ..........1 pc guarantee card .......... 1 pc hole plug of the RS-232 socket ....1 pc ...
Remarks concerning the operator safety: 1. General The SM3 module is destined to be mounted on a 35 mm rail. Non-authorized removal of the required housing, inappropriate use, incorrect installation or operation creates the risk of injury to personnel or damage to equipment.
Page 6
EMC legislation. 5. Operation Measuring systems including SM3 modules, must be equipped with protection devices according to the corresponding standard and regulations for preven- tion of accidents. ...
Before taking the instrument housing out, one must turn the supply off. The removal of the instrument housing during the guarantee contract period may cause its cancellation. 4. INSTALLATION 4.1. Module fixing The module is designed to be fixed on a 35 mm rail (EN 60715). The module housing is made of a self-extinguishing plastic.
(RxD) - signals the data reception by the module, yellow (TxD) - signals the data transmission by the module. Description of SM3 module lead-outs Table 1 Terminal Terminal description GND line of logic inputs IN1 line - logic input No 1 5 V d.c.
Page 9
Fig. 5. Connection way of RS-485 and RS-232 interfaces...
5. SERVICE After connecting external signals and switching the supply, the SM3 module is ready to work. The lighted green diode signals the module operation. The green diode (RxD) signals the module polling, however the yellow diode (TxD), the module answer.
0 is identified as broad- casting mode (transmission to many devices). 5.2. Description of MODBUS protocol functions Following MODBUS protocol functions has been implemented in the SM3 module: Description of the MODBUS protocol functions Table 2...
Page 12
Readout of n-registers (code 03h) Function inaccessible in data broadcasting mode. Example: Readout of 2 registers beginning from the register with the 1DBDh (7613) address: Request: Register Register Number of Number of Checksum Device registers registers Function address address address 52 43 Response: Checksum...
Page 13
Response: Register Register Checksum Device Value from the register address address Function address 1DBD (7613) 85 AD Write to n-registers (code 10h) The function is accessible in the broacasting mode. Example: Write 2 registers beginning from the register with 1DBDh (7613) ad- Request: Value from the register Register...
5.3. Map of module registers Register map of the SM3 module Table 3 Addresse Description Value type range 4000-4100 int, float (16 bits) The value is placed in 16-bit registers. Registers are only for readout. 4200-4300 int (16 bits) The value is placed in 16-bit registers.
5.4. Set of module registers Set of registers for readout the SM3 module. Table 4 Name Range Quantity name 4000 Identifier Constant identifying the device (0x8B) Status1 is the register describing current 4001 Status 1 states of logic inputs Status2 is the register describing current...
Page 16
Result obtained through making the division operation of the main counter and the weight va- 4011 WMP2_H lue, for input 2 (the register counts the number of millions of the whole result) higher word. long Result obtained through making the division 4012 WMP2_L operation of the main counter and the weight...
Page 17
Value of the main impulse counter for the 4021 LG1_H input 1 (higher word) 0... (2 - 1) long Value of the main impulse counter for the 4022 LG1_L input 1 (lower word) Value of the main impulse counter for the 4023 LP1_H input 1 (higher word)
Page 18
Set of registers to readout the SM3 module (addresses 75xx) Table 5 Name Range Quantity name 7500 Identifier float Constant identifying the device (0x8B) The status 1 is the register describing current 7501 Status 1 float logic input states The status 2 is the register describing current...
Page 19
Description of the status register 1 bits Bit-15...2 Not used State 0 Bit-1 State of the IN2 input 0 - open or inactive state, 1 - short-circuited or active state Bit-0 State of the IN1 input 0 - open or inactive state, 1 - short-circuited or active state Description of the status register 2 Operating mode...
Page 20
Bit-2...0 Baud rate 000 - 2400 bit/s 001 - 4800 bit/s 010 - 9600 bit/s 011 - 19200 bit/s 100 - 38400 bit/s Description of the status register 3 bits Bit-1...0 FRAM memory error Main counter 1 00 - lack of error 01 - error of write/readout from the memory space 1 10 - error of write/readout from memory spaces 1 and 2 11 - error of write/readout of all memory blocs...
Page 21
11 - error of write/readout of all memory blocs (loss of the counter value) Bit-15 6, 3 2, 7 6, 11 10, 15 14 no used State 0 Set of registers to readout and write the SM3 module (addresses 76xx) Table 6 Range...
Page 22
Working mode of the device: 7605 4205 0... 1 Working mode 0 - logic input 1 - counter inputs Register of instructions: 7606 4206 0... 11 Instruction erasing of the auxiliary counter for the input 1 2 - erasing of the auxiliary counter for the input 2 3 erasing of the main counter for the input 1 (only with RS-232)
Page 23
Duration of the high level for 1 Time for the impulse for the input 7610 4210 1...10000 active (0.5 500 ms) level 2 Duration of the low level for 1 impul- Time for the 7611 4211 1...10000 se for the input inactive (0.5 500 ms)
6. IMPULSE COUNTERS Each of the converter impulse inputs is equipped with two independent 32-bit counters main and auxiliary impulse counters. The maximal state of counters is 4.294.967.295 (2?? - 1) impulses. The increase of counters by one follows simultaneously at the moment of the de- tection of an active state of suitably long duration on the impulse input and a state opposite to the active state of suitably long duration.
7. CONFIGURATION of IMPULSE INPUTS The configuration of device parameters being in registers 7606 7613 (4206 4211) is possible after a previous write of the value 112 to the register 7614 (4212). The write of the value 1 to the register 7605 (4205) causes the activation of impulse inputs and all configuration functions related to the active working mode.
Shorter impulses from the value set in registers will not be counted. Impulse inputs are sampled in intervals of 0.5 millisecond. 7.3. Input weight The user has the possibility to define the value of the impulse weight (registers 7612, 7613). The result is determined in the following way: ResultMeasurement_Y = CounterValue_X/WeightValue_X ResultMeasurement_Y - Measurement result for the appropriate input and chosen counter...
7.4. Default parameters The device, after making the instruction 7 (see table nr 5), is set on default para- meters below: Working mode Activated state Time for the active level 1 - 5 ms Time for the inactive level 1 - 5 ms ...
8. TECHNICAL DATA Logic inputs: Signal source - potential signal: - logic levels: 0 logic: 0... 3 V 1 logic: 3,5... 24 V Signal source - without potential signal: - logic levels: 0 logic - open input 1 logic - shorted input short-circuit resistance of the contact without potential ...
Page 29
Rated operation conditions: - supply voltage 20...24...40 V a.c./d.c. or or 85...230...253 V a.c./d.c. - supply voltage frequency 40...50/60...440 Hz - ambient temperature 0...23...55°C - relative humidity < 95% (inadmissible condensation) - external magnetic field < 400 A/m - working position Storage and handling conditions: - ambient temperature - 20...
TxD diodes. After changing RS-485 parameters into required, one can change over into the RS-885 port. 10. ORDERING CODES Table 6 MODULE of LOGIC or COUNTER INPUTS - SM3 X XX X Supply voltage: 85...230...253 V a.c./d.c............1 20...24...50 V a.c./d.c..............2 as ordered* ................
EXAMPLE OF ORDER When ordering, please respect successive code numbers. Code: SM3 - 1 00 7 means : SM3 - 2-channel module of binary inputs, - supply voltage : 85...230...253 V a.c./d.c. 00 - standard version. - with an extra quality inspection certificate.
Need help?
Do you have a question about the SM3 and is the answer not in the manual?
Questions and answers