With an F4-08THM read through an EBC205, the EBC presents channel values as words rather than the 32 discrete inputs seen when the module sits directly on a PLC base. The EBC also needs the slot’s unipolar or bipolar interpretation to match the module’s data format; a mismatch can make a negative-going test signal appear to jump to a limit.
Separate the EBC word layout from the local-base input view
Do not try to reproduce the local-base 32-discrete-input view when the F4-08THM is accessed through an EBC/ERM arrangement. The EBC converts the module reading into word values for the PLC. The historical setup described the EBC reading the thermocouple module as eight words, and the technical guidance was that the EBC performs the conversion to word values; the ERM/EBC method does not require the local-base multiplexing approach.
This is a representation difference, not evidence that the EBC has lost the channel data. Build the PLC logic around the words delivered by the EBC and confirm that the word assigned to the channel changes when the input changes. Do not interpret the 32 local discrete bits as the required EBC data layout.
Check: Monitor the EBC-provided channel word in the PLC. Confirm it responds to the input before troubleshooting signed arithmetic or scaling.
Match the F4-08THM format to the EBC slot setting
The module jumper format and the EBC slot configuration work together. A value may be encoded by the module as two’s complement or as magnitude plus sign; the EBC’s bipolar or unipolar selection determines how it interprets that data. Set both ends deliberately rather than using “unipolar” only as a way to make negative readings display.
| F4-08THM format | EBC slot interpretation | Resulting representation |
|---|---|---|
| Two’s complement | Bipolar | Signed value; the documented range is -32768 to +32767. |
| Configured for unipolar thermocouples | Unipolar | Unsigned value; the documented range is 0 to 65535. |
| Magnitude plus sign | Unipolar, as used in the reported workaround | The PLC can retain the full word, then separate the sign and magnitude in ladder logic. |
For a bipolar temperature value used in PLC arithmetic or an operator-interface signed display, the guidance was to jumper the module for two’s complement and configure the EBC slot as bipolar. This lets the PLC receive a signed representation rather than treating the sign bit as an ordinary magnitude bit.
Check: Compare the actual module jumper positions with the selected EBC slot type in NetEdit. The two settings must describe the same representation before the PLC converts or scales the word.
Use the units jumper to diagnose a polarity-change jump
A sine-wave generator connected to the module produced jumps when the input crossed polarity, with a negative peak appearing where a value near zero was expected. First check whether the module’s units jumper matches the way the value is being viewed. A representation or display mismatch can make the same raw bits look like a large positive or negative value even though the input has crossed through zero.
Then inspect the raw EBC word before applying ladder logic. View it as a signed integer when the module and EBC are configured for bipolar two’s complement. If the word looks correct in that format but jumps only after a conversion instruction or display operation, the problem is downstream of acquisition. If the raw word itself behaves unexpectedly, recheck the jumper and EBC slot configuration before changing the scale.
| Observed symptom | First check | Likely correction path |
|---|---|---|
| EBC word differs from the local-base discrete-input view | Confirm the PLC is monitoring the EBC channel word. | Use the EBC word representation; do not expect the local 32-bit view. |
| Negative input appears at a maximum or jumps at zero crossing | Check the units jumper, EBC unipolar/bipolar selection, and signed display mode. | Make module format and EBC interpretation agree. |
| Two’s-complement negative word becomes a large real value after BTOR | Inspect the raw word as a signed integer and test BTOR with positive and negative readings. | Do not pass a negative integer to BTOR; use a format-compatible conversion path. |
Check: At positive, near-zero, and negative generator inputs, record the raw word and its signed or unsigned display. Do not tune the scale until the raw representation is stable and understood.
Choose a conversion path that BTOR can handle
The reported difficulty arose because the BTOR instruction operates on positive integers, not signed negative integers. Converting a negative two’s-complement count directly with BTOR can produce misleading real values. Changing the EBC setting does not repair an incompatible conversion instruction; it changes how the word is interpreted.
For a temperature application that needs negative and positive arithmetic in the PLC, use the two’s-complement module jumper with a bipolar EBC slot configuration, then use PLC operations and display formats that support signed integers. The cited guidance identifies the signed-byte math instructions ADDB, SUBB, MULB, and DIVB for arithmetic and recommends DirectSoft Data View’s signed-integer format for inspection. Confirm the PLC instruction’s operand type and the application’s required precision before selecting the actual math sequence.
For the reported generator test and ladder approach, magnitude-plus-sign with the EBC configured as unipolar preserved the word for manual handling. The program masks off bit 15 to obtain the magnitude, converts that nonnegative magnitude with BTOR, then uses the original bit 15 to conditionally multiply the real value by -1 before scaling. This is a workaround for the unsigned-only conversion path, not a general substitute for bipolar signed arithmetic.
Do not apply that sign-bit extraction to two’s-complement data. In two’s complement, the negative number is encoded across the word; bit 15 cannot simply be removed to reveal its magnitude. Manual conversion requires a proper two’s-complement operation—bitwise inversion followed by adding one to obtain the magnitude—while retaining the sign separately. Avoid mixing this manual conversion with sign-magnitude assumptions.
Check: With known positive and negative inputs, confirm BTOR receives only nonnegative magnitude values in the manual path, and confirm the sign decision uses the original word’s sign indicator.
Restore the tested signal path before changing scaling
- Confirm the EBC channel word updates from the F4-08THM and identify the correct word for the channel.
- Inspect the module’s units and data-format jumpers. Record whether the module is set for two’s complement or magnitude plus sign.
- In NetEdit, select the matching EBC slot interpretation: bipolar for two’s-complement bipolar values, or unipolar when the module/output path is being treated as unsigned.
- Display raw data in the matching signed or unsigned format. Test positive, near-zero, and negative input values without BTOR or scaling logic in the path.
- Select one conversion strategy: signed arithmetic for two’s-complement data, or explicit magnitude/sign handling for the magnitude-plus-sign workaround.
- Re-enable scaling only after conversion produces a real value that tracks the raw input consistently through both polarities.
The generator test used a signal spanning approximately -5 V to +5 V, but the reported observations do not define a calibration equation between volts and raw counts. Do not infer a scale from a single reading. Establish the required engineering-unit conversion from the module’s configuration and the application’s calibration data.
Check: The PLC value must cross zero in the expected direction without a discontinuity caused by representation handling. Confirm the converted real value before restoring downstream output logic.
Verify the full channel from input to PLC display
Test the complete path at a positive input, near zero, and a negative input. For each point, compare the applied generator polarity, the raw EBC word, the PLC’s chosen integer interpretation, the converted real value, and the final scaled value. This sequence isolates acquisition, format interpretation, numeric conversion, and scaling rather than treating them as one fault.
For the two’s-complement path, inspect raw counts as signed integers and verify negative readings remain negative before arithmetic. For the magnitude-plus-sign path, verify that masking leaves a nonnegative magnitude, BTOR converts that magnitude, and the sign operation restores the negative polarity. The resulting values should change direction correctly across zero; do not accept a maximum-value jump as normal behavior.
The historical test used a sine-wave generator rather than a thermocouple, so this procedure checks data representation and conversion behavior, not thermocouple calibration or temperature accuracy. After the generator test passes, validate the actual sensor and the application’s scaling separately.
Check: Keep a three-point record—positive, near zero, and negative—for raw word, displayed integer, and final engineering value. Proceed only when each stage follows the expected polarity.
Keep the workaround separate from the permanent configuration
Use the magnitude-plus-sign/unipolar ladder sequence only when the PLC conversion path requires it and the sign is handled explicitly. Document the jumper state, EBC slot selection, word location, and sign-processing logic together; changing only one can recreate the polarity jump. For an application that performs signed math or displays signed temperatures, the aligned two’s-complement/bipolar path is the cleaner configuration described for that use.
Do not troubleshoot the ERM as the cause when the raw EBC word is being delivered and the error begins at signed conversion or display. Conversely, if the selected channel word does not update, resolve the EBC/module data path before changing BTOR logic or a scale factor.
Check: After restoring operation, confirm the configuration record matches the physical jumpers and the online EBC slot setting. Stop if they cannot be reconciled or if the raw word remains unstable with a known test signal.
Frequently asked questions
How do I read an F4-08THM through an EBC?
Read the EBC-provided channel word rather than expecting the 32 discrete-input view used with a module directly on the PLC base. Confirm the word changes with the input before processing it.
How do I stop negative F4-08THM values jumping to a maximum?
Match the module’s units and data-format jumpers to the EBC slot’s unipolar or bipolar setting, then inspect the raw word in the corresponding signed or unsigned format. Check BTOR separately because it operates on positive integers.
How do I convert a negative F4-08THM count with BTOR?
Do not send a negative two’s-complement integer directly to BTOR. Use signed arithmetic for the bipolar two’s-complement path, or extract magnitude and sign from magnitude-plus-sign data before converting the nonnegative magnitude.
Stop if the raw word remains unstable with a known signal, or if the module jumper format and EBC slot interpretation cannot be matched. Escalate unresolved hardware or configuration behavior through the manufacturer’s official support channel.