Accurate acquisition and reliable output of analog signals are the foundation of process control in industrial automation and building control systems. The W500 and W600 intelligent analog modules in the Saia PCD4 series provide 8-channel isolated analog input and 8-channel isolated analog output, respectively, and have built-in microcontrollers that can locally execute intelligent functions such as continuous measurement, proportional conversion, user scaling, comparator, wire breakage detection, synchronous updates, etc., significantly reducing the burden on the central CPU. This article will provide a comprehensive and in-depth technical analysis of these two modules from the aspects of hardware architecture, technical specifications, range modules, standard mode, expansion mode (functional blocks and FBox), configuration methods, and programming examples.
PCD4.W500 Intelligent Analog Input Module
PCD4.W500 is an intelligent analog input module with electrical isolation, with a resolution of 12/15 bits and an A/D conversion time of up to 100 µ s per conversion. By inserting different range modules (PCD7. W1xx), it can support 8 voltage channels (0... 10 V, ± 10 V, 0... 1 V, ± 1 V), 8 current channels (0... 20 mA, 4... 20 mA), or 8/4 thermistor channels (Pt/Ni 100/1000, 2-wire or 4-wire) measurement.
1.1 Hardware and Range Module
Substrate PCD4.W500: Includes isolated DC/DC converter, input multiplexer, A/D converter, programmable current source, optocoupler isolation, microcontroller, and I/O bus interface. There are two slots on the board (space A and space B), corresponding to channels 0... 3 and channels 4... 7, respectively. Each slot can accommodate the following range modules:
PCD7. W100:4 channel, 0... 10 V/± 10 V
PCD7. W101:4 channel, 0... 1 V/± 1 V (can also be used for 4-wire Pt/Ni 100/1000)
PCD7. W103:4 channel, 0... 20 mA (including 4... 20 mA)
PCD7. W104:4 channel, 4... 20 mA (for two-wire transmitters with 24V power supply)
PCD7. W110: 4-channel, Pt1000, -50...+150 ° C, 2-wire
PCD7. W111: 4-channel, Ni1000, -50...+150 ° C, 2-wire
PCD7. W120:4 channel, constant current output (for 4-wire Pt/Ni 100/1000, used in conjunction with PCD7. W101)
Input filter time constant of 1 ms. The "Offset" and "Gain" potentiometers on the substrate have been preset by the factory and should not be adjusted by the user.
1.2 Technical specifications (substrate)
Total input: 8 channels (voltage/current or thermistor)
Electrical isolation: 500 VDC (1 minute) between PCD GND and module GND
Measurement principle: differential input
Digital display: Single mode 12 digits (0... 4095), continuous mode optional 12/15 digits
A/D conversion time: single ≤ 100 µ s, continuous ≤ 65 µ s
Accuracy: ± 0.15% (voltage), ± 0.2% (current), ± 0.5 ° C (temperature)
Repetition accuracy: ± 0.05%
Temperature error: ± 0.02%/° C
Immunity: Complies with EN 61000-6-2, etc
Common mode rejection: high
External power supply: 24 VDC (for current output or transmitter)
Current consumption: Take 150 mA from PCD4 bus+5V; maximum 100 mA from external+24V (for current output)
1.3 Working principle and address mapping
The module uses 16 I/O addresses (base address+0...+15). Channel selection is completed by setting C0... C7 (output bits); Start conversion controlled by SET/RES O8; The status register is read through O9. When converting, the "Busy" signal (input bit) is at a high level, and after completion, it becomes low. Data can be read from D0... D14. This module supports two modes of measurement: single measurement and continuous measurement. In continuous mode, the results are periodically updated and stored in the internal memory. When read, the latest value is directly returned without waiting for conversion.
1.4 Intelligent functions
The onboard microcontroller provides rich intelligent functions without CPU intervention:
Single/continuous measurement: Each channel can be configured as single (triggering conversion upon each read) or continuous (automatic cyclic conversion).
Multiple formats: bit format (12/15 bit raw value), scale format (directly corresponding to physical quantities, such as 0... 10000 corresponding to 0... 10 V), user-defined scaling (range+offset).
Temperature linearization: Directly output a value with a resolution of 0.1 ° C (e.g. -500 corresponds to -50.0 ° C).
Comparator: Each channel can be set with two limit values (A and B) and an adjustable hysteresis loop (8-bit, 0... 255). The status register directly indicates whether the input value exceeds the limit value, is within the window, etc. This is equivalent to a hardware level threshold switch, reducing the burden of CPU comparison instructions.
Diagnosis: wire breakage detection (temperature measurement), short circuit detection, scaling errors, internal errors, etc., read through status registers.
1.5 Standard Mode and Extended Mode
Standard mode: When no additional configuration is made to the microcontroller, the W500 behaves similarly to a regular W300 module. Each read triggers a conversion, returning a 12 bit original value. Users need to process the 'Busy' signal (polling or waiting) in the program. The example IL code demonstrates how to read channel 3 and store it in R103.