Programming with Saia PG5 FBoxes ............3-1 ® 3.1.2 Programming with FBs ...................3-4 3.2 Programming with series xx7 .................3-7 Appendix Icons .......................A-1 A.2 Programming examples for Saia PCD Classic systems .......A-2 ® A.3 Programming examples for xx7 series (in preparation) ........A-6 A.4 Configuration on PCD3.T760 RIO Module .............A-7 Contact ......................A-8 Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
● External cold junction compensation: An external isothermal block can be used. The temperature of the external junction is measured using channel 0. The configuration of the four input channels is done by software. Every channel can be used independently of the others. Diagnostics: The module PCDx.W745 provides powerful sensor diagnostics: ● Overrange detection ● Underrange detection ● Line break detection ● Short circuit detection for RTD’s Galvanic separation: The module has galvanic separation between Saia PCD ground and the sensor ® interface (500 V Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
● High precision temperature acquisition system ● Galvanic separation between Saia PCD ground and input interface ® ● The module supports a big number of sensor types ● Thermocouples and RTDs on the same module ● Four input channels, software – configurable ● Built – in reference junction for thermocouples ● Possibility to use external reference junction ● RTD measurement techniques: 2- ,3-, 4- Wire connection ● 4 input clamps per channel 1.1.4 Typical areas of use ● Temperature regulation / supervision in industrial applications ● Measurement of very high temperatures using thermocouples Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Cold junction internal Yes³ Cold junction external 2-wire Connection techniques 3-wire for resistors (RTD’s) 4-wire Galvanic isolation 500 VDC between Saia PCD and analogue inputs ® ¹) For thermocouples, the full measurement range is offered. The specifications of resolution and accu- racy are given for temperatures higher than -150°C. For lower temperatures than -150°C, the char- acteristics of thermocouples become worse. If thermocouples are used in this very low temperature range, the tolerance should be calculated using the tolerance specifications for the ±75 mV range and the thermocouple characteristic. ²) Measuring error in % and temperature coefficient specifications made for the measurement ranges ±75 mV, 600 Ω, 5000 Ω. ³) Technical data of the internal cold junction are specified in the following section. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 7
1000 mA 100 mA PCD3.T76x 650 mA 100 mA PCD2.M1xx 1600 mA 200 mA PCD2.M48x 2000 mA 200 mA PCD1.M1xx 750 mA 100 mA Users of PCDx.W745 modules are urged to check the overall current consumption of all modules in a PCD1/2/3 and in any C100 or T76x expansion units to ensure that this maximum is not exceeded. When working with an expansion unit and up to 8 W745 modules, it is better to place the PCDx.W745 modules in the base unit and to plug “normal” I/O modules into the expansion unit. This will eliminate any influences such as a possible voltage drop over the connecting cable from the expansion unit to the base unit. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Run: The Run LED blinks when the data acquisition is running Error: The Error LED indicates that the module has no valid configuration. Sensor Error: Indicates that at least one of the inputs detects: ● no connection ● line break ● short circuit This module includes components that are sensitive to electrostatic discharges. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
For this purpose, a precision current source supplies the sensors with a measure- ment current of 250 μA. 2 – Wire connection The wiring resistance can not be compensated. PCD x.W745 3 – Wire connection The voltage drop over one of the two supply lines is measured. Assuming that both supply lines have the same resistance, the wiring error is calculated and compen- sated. • Use the same wire type for both supply lines • Be sure that the length / temperature distribution over both supply lines is iden- tical PCD x.W745 Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 12
In this operating mode, the thermocouples are directly connected to the input clamp of the PCDx.W745. The module measures the temperature of the clamp terminal and calculates the temperature of the measurement junction. The temperature of the input clamp terminal should not be influenced from externally, for example through forced air ventilation or heat sources close to the clamp terminal. External reference junction (CJC ext. – Cold Junction Compensation external) This mode is used when an external isothermal clamp is used. The thermocouples are connected to the isothermal clamp; the voltage signal from the thermocouples is transmitted to the module using copper wires. To calculate the absolute temperature at the measurement junction, the temperature of the external isothermal clamp terminal must be measured. On the module PCDx. W745, input 0 is used to acquire this temperature. All selectable temperature sensors can be used for the measurement of the external reference junction temperature. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 14
Ni 100 Pt100 (In this setup for channel 2) Comp.: Comp.: Conn.: Conn.: CJCint CJCext 3-wire 4-wire Ni100 Thermo couple External reference junction (CJC ext.) type J Isothermal block RTD: Pt100 / 4-wire, used to measure the temperature of the isothermal block Thermocouple type K Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Overrange Overrange Overrange: Measured value is too high for selected range Underrange: Measured value is too low for selected range Sensor error: Line break / Open line / No sensor connected Comm. error: Communication error (no response from module W745) Not used Add: Module base address LED: Green: Everything ok Red: At least one error bit set Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 16
Channel 0 to 3: Sensor type Selection of sensor type. Configuration / Connection Selection of input configuration / connection. Offset Optional constant temperature offset to correct cabling or sensor error. Filter T2 Option to insert a T2 filter. The use of the filter requires 5 supple- mentary registers for each channel Filter time Time constant (2 times the same value) of the T2 filter. Diagnose Diagnose of the channel. Shows Overrange, Underrange, Sensor failure and Communication error. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 17
Voltage Remarks: ● When CJCext is configured, the temperature of the external reference junc tion is measured using channel 0. Therefore, channel 0 can’t be configured for CJCext. ● If a wrong configuration is sent to the module, the NoConfig indicator becomes high and the module does not go in data acquisition mode. For detailed information about connection and use of the different sensor types, please refer to chapter 2. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
CJCext. ● I f a wrong configuration is sent to the module, the NoConfig indicator becomes high and the module does not go in data acquisition mode. Predefined configuration codesfor the measurement unit: Celsius Temperature value in 1/10°C The module converts the measured value Fahrenheit Temperature value in 1/10°F in the selected measurement unit. Kelvin Temperature value in 1/10 K Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 19
Parameter Type Description K 1...16 [K] input module Number accord. to file D2W745_B.mba MeasRun [F] output High when data acquisition is running DiagRun [F] output High when sensor diagnostic is running ComRun [F] output High when communication to W745 ok Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 20
The *.src and the *.equ files should be in the Saia PG5 FB library: ® C:\…\SBC\PG5xxx\Libs\FB\... Module Base Address definition: The *.mba file must be added to the Saia PG5 project. This file can be modified by ® the user according to the number of used W745 modules and the corresponding base addresses. Include the FBs: The file D2W745_B.equ must be included in the program file before the FBs can be called: $INCLUDE D2W745_B.equ Use in a cyclic organisation structure The sampling time of the PCDx.W745 module is 250 ms per channel. To achieve best system performance, it is recommended to implement a ‘NoCommunication’ timer. In the example in the Appendix a 100 ms timer is implemented. So the FBs Exec and Status are executed in maximum every 100 ms. This reduces unnecessary data transfers on the I/O Bus and improves the system performance. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
If an error occurs during the initialization the diagnostic interrupt OB 82 is called up. The reason for the error can be read from the local data. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 22
OB82_DATE_TIME date and time Date and time the OB started. If you do not program OB82, the CPU changes to stop mode when a diagnostic inter- rupt is triggered. Interface STEP 7 ⇔ PCDx.W745 ® The following address information are meant as offsets in each input or output win- dow. E.g. if the input range definition starts at PEB 300 (German Mnemonics) an ac- cess to offset 1 means L PEx 301 where x can be B or W. All further absolute access within the xx7 programming relate to the above definition. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 23
Value CH2 Value CH4 Description of the peripheral inputs Value CH0...3: (PEW offset 4, 6, 8 ,10) These peripheral input words contain the temperature values of each channel. The temperature can be read in 1/10 unit (unit depending on the module configuration in Kelvin, °C or °F). The value occurs as two’s complement with sign. If the address range is not within the process image the status has to be read first before the temperature value can be read. If bit 6 of the status is set a new value will be read, otherwise the last one is read. Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 24
Reserved (0) Sensor fail: At least one wire connected to this channel is broken. The read value in the appropriate PEW (CH0…3) is set to the last valid measured value. Reserved (0) Reserved (0) New value: a new measured value is available. This bit is set to 0 when reading the status byte. Reserved (0) If the address range is within the process image this bit is always set to 0, i.e. it is not relevant. This is also valid using the module with Profibus-DP RIO. The diagnostic bits stay to 1 until the error does not exist any more. 3-10 Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 26
Possible settings see channel 0 Configuration of channel 3 Conf_3 Byte Possible settings see channel 0 The data block with the peripheral definition of the PCDx.W745 can be easily created by using the I/O-Builder (Version 2.002 or higher). This software tool can be downloaded free of charge from the web page: www. -support.com 3-12 Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Better is to use a grounding wrist strap with its cable attached to the Minus of the system. This sign accompanies instructions that must always be followed. Explanations beside this sign are valid only for the Saia PCD Classic serie. ® Explanations beside this sign are valid only for the Saia PCD xx7 serie. ® Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Appendix Saia-Burgess Controls AG Programming examples for PCD Classic systems A.2 Programming examples for Saia PCD Classic systems ® Saia PG5 project structure: ® Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 29
;Base address of module 12 BA_13 ;Base address of module 13 BA_14 ;Base address of module 14 BA_15 ;Base address of module 15 BA_16 ;Base address of module 16 $ENDGROUP Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 30
Celsius ;[K] Measurement Unit F 13 ;[F] Return InitError F 14 ;[F] Return WrongConfig F 15 ;[F] Return NoCalibration $ENDGROUP ;End W745 group ;Other code in XOB 16 EXOB Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Page 31
;[F] SensorFail CH2 ;[R] Temperature CH3 ;[F] Overrange CH3 F 10 ;[F] Underrange CH3 F 11 ;[F] SensorFail CH3 F 12 ;[F] ModuleNoResponse ;------------------ go_on: ;Other code in COB 0 ECOB Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Appendix Saia-Burgess Controls AG Programming examples for xx7 series A.3 Programming examples for xx7 series (in preparation) Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Description Over range: The measured value is over the allowed range of the sen- sor. The read value in the appropriate PEW (CH0…3) is set to 0xFFFF. Under range: The measured value is under the allowed range of the sensor. The read value in the appropriate PEW (CH0…3) is set to 0.. Reserved (0) Sensor fail: At least one wire connected to this channel is broken. The read value in the appropriate PEW (CH0…3) is set to the last valid measured value. Reserved (0) Reserved (0) New value: a new measured value is available. This bit is set to 0 when reading the status byte. Reserved (0) Manual for PCD2.W745 and PCD3.W745 │ Document 26-796 ENG06 │ 2018-10-12...
Need help?
Do you have a question about the PCD2.W745 and is the answer not in the manual?
Questions and answers