6ES5 281-4UB12
Siemens 6ES5 281-4UB12 SIMATIC S5 IP 281 second counter channel submodule
The 6ES5 281-4UB12 is the plug-in board that adds a second counter channel to the IP 281 high-speed counter in the SIMATIC S5 special module family. Counter 1 is on the base board and counter 2 is on this submodule. The channels can operate in 16- or 32-bit mode. They can count independently or be linked so that a result from one counter starts the other.
Siemens ST 50 lists the 4UA12 base module with a 24 V encoder supply and the 4UP12 with 24 V and 5.2 V encoder supplies. The 5 V RS-422 signal level and the 5.2 V encoder supply are separate choices. Check the encoder label and the base module order number to determine how the encoder is powered.
Channel 2 wiring and settings
Connect the second incremental encoder to X7, the 15-pin D-sub socket on the front of the base module. Channel 1 uses X5. Check the signal level and supply separately when selecting the connector and S5 encoder cable. ST 50 specifies a maximum counting frequency of 250 kHz for the IP 281 with either 24 V or 5 V RS-422 signals.
X6 carries the channel 2 STA (gate start), STO (gate stop) and SET (external set) digital inputs, plus the DQ digital output. In the IP 281 manual, X45 selects the channel 2 encoder interface and X49 selects the reference potential for X7. Check both jumpers whenever the signal type changes.
Base module, rack and program compatibility
The submodule plugs into the IP 281 base module, which occupies one slot in the S5 rack. Siemens lists the IP 281 in the S5-135U and S5-155U/H section of ST 50. Record the CPU order number, rack model and IP 281 base module code. On the drawing, trace the rack power supply and the IP 281 front-panel supply at X3 separately.
If the board is in an expansion unit such as the 185U, check the permitted slot and interrupt lines in the IP 281 manual. Record the interface module codes as well. If IM 304 and IM 314 are fitted, identify which unit each interface connects to on the drawing.
Use the full order number of the removed board when looking for a spare. Consult the model-specific wiring and addressing tables for the IP 240, IP 242A, IP 242B and 385B.
1. Record the channel 2 setup before removal. Record the IP 281 base module code, S1 address and STEP 5 parameters. After qualified personnel isolate power, have the X40–X49 jumpers photographed. Check that all four plastic standoffs engage during installation.
2. If channel 1 counts and channel 2 does not, start at X7. Have the second encoder supply and pulse signals checked. Verify the X45 interface selection and X49 reference setting together against the encoder fitted.
3. If pulses are present but the value stays fixed, check the count gate. Check whether channel 2 has been started by its hardware or software gate. For hardware control, trace the STA and STO signals at X6 on the cabinet drawing.
4. If ERROR is on in a combined mode, read the IOM bit. If IOM is set in status register 3, check that the submodule is seated and that the two counters are set to the intended modes. The manual notes that some channel 2 LEDs can light with the submodule absent. Confirm the second counter value in the program.
5. When buying used, ask for a channel 2 test. Request photos of the 4UB12 label and standoffs. Ask for a test on a compatible IP 281 base module showing that known pulses at X7 change the second counter value.
To offer a 4UB12 for sale, send the full order number, quantity, condition, label photo and asking price. Include the IP 281 base module code if you have it. Contact otomasyonavm@gmail.com.
Siemens PDF documentation
+ Siemens ST 50, 4UB12 order number and IP 281 specifications, p. 4/80 (EN)
+ IP 281 submodule installation, p. 1–4 (EN)
+ IP 281 X5/X7 and X4/X6 connections, pp. 1–8 and 1–9 (EN)
+ Channel 2 X45/X49 jumpers, pp. 2–11 and 2–12 (EN)
Related topics
+ SIMATIC S5 interface modules