0% found this document useful (0 votes)
29 views12 pages

S 45 Man

The S45 Digital I/O Module is a versatile device with 7 sourcing outputs and 14 inputs, operating within a voltage range of 10-35 V DC, and features options for input inversion, debounce, and various counting functions. It communicates via an opto-isolated SIOX bus and can be configured for different addresses using jumpers or EEPROM settings. The module includes built-in protections for outputs and supports various input configurations, making it suitable for a range of industrial applications.

Uploaded by

Andrei Krivda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views12 pages

S 45 Man

The S45 Digital I/O Module is a versatile device with 7 sourcing outputs and 14 inputs, operating within a voltage range of 10-35 V DC, and features options for input inversion, debounce, and various counting functions. It communicates via an opto-isolated SIOX bus and can be configured for different addresses using jumpers or EEPROM settings. The module includes built-in protections for outputs and supports various input configurations, making it suitable for a range of industrial applications.

Uploaded by

Andrei Krivda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

S45 DIGITAL I/O MODULE p2

TABLE OF CONTENTS
TELEFRANG AB Installation and Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Address Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Indicator LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
DIGITAL I/O MODULE S45 Inputs’ Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Outputs Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
I/O Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Available Functions: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
General Description Inversion of Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Pullup/Pulldown on Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
S45 is a general purpose digital Debounce on Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
I/O module with 7 sourcing outputs and Edge Triggered Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
14 inputs, all 10 V - 35 V DC. The out- Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
puts can supply 0.5 A each and have Fast Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
short circuit protection. Through the Gray Code Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
built-in CPU, several options are select- Incremental Encoder Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
able including digitally filtered and edge Interlock Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
triggered inputs, pulse counters, incre- Overload Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
ment and absolute (Gray) encoder Output Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
inputs, watchdog, PLC, etc. The module Communication Watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
communicates with the central computer Slave Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
via the opto-isolated SIOX bus. Communication Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Parameter Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Parameter Factory Default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Block Diagram Parameter Specifics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Data Mode Access to Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Electrical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Environmental Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Mechanical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Assistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

WARNING-symbol :

refers to the text / diagram on page 6 in the manual -


read carefully :

3: Separate Power Supplies.


...........................................................................
H:\S45\Man\S45man.wpd/2005-11-28/TC
S45 DIGITAL I/O MODULE p3 S45 DIGITAL I/O MODULE p4

Installation and Startup Address Setup

The module is equipped with a 2-terminal power connector, a 2-terminal There are two possible ways of defining one of the 63 addresses for an S45
SIOX bus connector and a 23-terminal I/O connector. module: either through jumpers located inside the unit or by the internal
EEPROM in the module. If any combination of jumpers except all six
To get the module "up and running" all that has to be done is to connect installed or all six removed is used at power-up, the module will choose this
power to terminals 26 (ground) and 27 (+24 V DC), connect the unpolarized jumper combination as the correct address. The panel has to be removed in
SIOX bus to terminals 24 and 25, and connect relays, pushbuttons, etc. to order to access the jumpers.
inputs and outputs.
= 00 : Illegal, will use EEPROM definition. If
The SIOX modules should be interconnected through a two-wire, low capaci- the EEPROM address is 00 too, Central
tance twisted pair. Shielded cables may be used but unless a correct Mode will be selected at power-up, and the
strategy for shield grounding is adopted, it may prove to be of little benefit. S45 acts as bus master.
The total resistance of the bus should not be higher than 2 * 50 .

= 63 : Illegal, will use EEPROM definition.

= 25 : Valid address (16 + 8 + 1 = 25).

The jumper positions A0/ - A5 contribute their values 1, 2, 4, 8, 16 and 32


when the corresponding jumper is removed.
All jumpers installed would generate the invalid address 0, and all jumpers
removed would be equal to the "reserve" address 63. In this case, the
module checks its internal parameter 0/1 for a valid address number. Should
none be found, address 63 will be selected.

The selected address, either from the jumpers or the EEPROM, is finally
saved in the RAM parameter 0/1 and used for all subsequent com-
The communication bus is opto-isolated from the rest of the module. munications until this parameter is changed or a new power-up is performed.

At delivery the module is set up to communicate using address 1, in Data A special feature is added to help recover "lost" modules, i.e. when an
Mode using Single Data and one address. The communication speed is set unknown bit rate and/or address is selected or the PLC runs a program that
to 4800 bits/s. General principles for the SIOX bus and communications are erroneously alters parameters that control the communication. To recover
described in a separate manual, "SIOX System Description". such a module, carry out the following steps:

1. Disconnect power.
2. Remove all address jumpers except for A0 and A1 but rotate the
jumpers 90* from their normal position. Please refer to the figure below.
S45 DIGITAL I/O MODULE p5 S45 DIGITAL I/O MODULE p6

3. Separate Power Supplies.

Power is connected to both 26, 27 and 8, 9. If this is done, the fuse


joining 27 and 8 must be removed. Otherwise excessive current will flow
between the two power supplies until one of them breaks down or the
fuse blows. Separate power supplies are useful, e.g. if the supply at
terminal 8 shuts down in case of an emergency. The other supply
3. Apply power. The module will now communicate at 4800 bits/s on powering the logic makes it possible for the central computer to com-
address 63 with the PLC and any options disabled. municate with the module and still read input related information.
4. Check and reconfigure the module for proper operation.
5. Restore correct jumper address.

Indicator LEDs

Two LEDs in the top left of the module indicate SIOX bus status:

The GREEN LED is lit when a bus voltage is applied and flickers a little as
communications are sent on the bus. If this LED is dark, the SIOX central
and wiring must be checked.

The RED LED is lit each time the module answers to a call to the preset
address as described above. If the green LED is on but not the red, check
the supply of the module and then the central communications. Inputs’ Hardware

The inputs are either pulled down to ground or pulled up to the power supply
Power Supply voltage. This feature is software controlled, see pages 9 and 15. However,
pullup mode should be avoided for supply voltages lower than 18 V DC.
The power supply voltage range is 10 - 35 V DC. The power leads must be
designed to carry the load current. Recommended minimum area is 0.75
mm2 (AWG 18). The outputs are protected by an internal 3.15 A, Quick Blow
fuse.

The module can be supplied with power in three ways.

1. Via the 2-terminal Power Plug.

Terminals 26 (Ground) and 27 (internally fused). These terminals are


connected to the I/O connector at 9 and 8, respectively.

This alternative is generally recommended, since faulty connections to the Pulldown Mode Pullup Mode
I/O connector will cause the internal fuse to blow, while power is still
supplied to the module's logic. The input is "0" when the input voltage is between -0.5 V to 3.5 V and "1"
between 4 V to 35 V.
2. Via the 23-terminal I/O Connector.
The inputs are protected by capacitors and clamping diodes. Positive and
Terminals 9 (Ground) and 8 (non-fused). negative surges are dumped into the module's ground plane, please refer to
the figures above. In addition, each input has a capacitor connected to the
S45 DIGITAL I/O MODULE p7 S45 DIGITAL I/O MODULE p8

ground plane. The slew-rate of an input surge is restricted, hereby improving I/O Functions
the ability to withstand electrical interference and electrostatic discharges.
The module includes a microprocessor that controls communication and pre-
processes information. This CPU checks and controls all inputs and outputs
Outputs Hardware regularly according to control parameters in various registers. Results, such
as detection of overloaded outputs and number of inactive to active
The output stage is shown in the following figure. transitions on inputs, are stored in other registers accessible by the central
computer. In this way the central computer is relieved of trivial and
communication-intensive tasks.

The table below summarizes the input connections for different


configurations. Inputs are designated I and counters C. Gray code bits are
designated B. Increment encoder inputs are designated EnX, EnY and EnZ.

An output can source a maximum of 500 mA into an external load connected


between the output and the ground.

The leakage current in the output transistor causes an unloaded output to


float at approximately the same voltage as the power supply. Input edge triggering and debounce are available on inputs I1 - I14. The only
exception is the fast counter, which has no debounce at all. The debounce
The short circuit protection is partly implemented in software, sensing the time also affects the maximum count frequency of counters C8 - C13.
output current every 500 ,s and turning off overloaded outputs. Overloaded However, Gray coding and incremental encoder processing uses un-
outputs are flagged in a separate register. debounced input data.

When first activated, an output will be left on for a period of 500 ,s. After this Available Functions:
time the output is checked. If at that time the output transistor is still not
saturated, the output is regarded as short-circuited and will be deactivated. Inversion of Inputs
This short-circuit check cycle is repeated eight times per second until the
short is removed, hereby reducing the heat build-up in the output stage to a Each input can be set individually to invert input data. Because of this, the
negligible level. terms inactive and active are used instead of high and low, 1 and 0, etc. In
the normal non-inverted mode an inactive input is 0 V - 3.5 V and an active
If the load capacitance is large, it might not be possible to activate the one 4 V - 35 V. In inverted mode an input is inactive for voltages 4 V - 35 V
corresponding output because the output stage will not have enough time to and active for 0 V - 3.5 V. Parameter 0/C controls input inversion.
charge the capacitance before short-circuit is checked. Typically, a load
capacitance of minimum 5 ,F is acceptable which is far beyond the
capacitance values for normal loads found in industrial installations.

Inductive loads will turn on properly but at turn-off the energy stored in the
inductor will discharge through the built-in clamping diodes. Local back
diodes directly across the loads are recommended to reduce induced voltage
surges in the connecting cables.
S45 DIGITAL I/O MODULE p9 S45 DIGITAL I/O MODULE p 10

Pullup/Pulldown on Inputs Fast Counter

This feature selects pulldown or pullup at inputs. It is common to all inputs This counter, connected to input 14, is 32 bits long, using two 16-bit
and cannot be set individually. The flag bit to control this feature is located in parameters, 1E (most significant) and 1F (least significant). There is no
parameter 0/1. However, pullup mode should be avoided for supply voltages debounce available, the maximum counting frequency being 20 kHz. This
lower than 18 V DC. counter always counts up on low to high transitions, and is not affected by
input inversions. The low 16 bits can be used as a prescaler by presetting
Debounce on Inputs parameter 1F to 1 - 65535 (1 - hex FFFF). When reaching the prescale value
it resets, incrementing the high 16-bit parameter 1E. A prescale value of 0
The debounce time can be set in 4 ms increments in the lower half of selects a continuous 32-bit counter.
parameter 3. Maximum debounce time is 1020 ms (hex FF). This setting is
common to all inputs I1 - I14 and pulse counters C8 - C13 except the fast The high 16 bits of the counter can be read or written, while the low 16 bits
counter C14. Please note that Gray code and incremental encoder can only be read. A write to parameter 1F just changes the prescaler without
processing uses input data that is not debounced. presetting the counter. The prescaler cannot be read.

Edge Triggered Inputs Example:


Setting the prescaler to 100 (hex 64) lets the high 16 bits to be
Each input can be set individually to register an inactive to active transition. incremented once per 100 input edges.
This event is stored in the module and is transmitted to the central computer
at the next communication. If that communication is successful, the event is Since it is impossible to read all 32 bits in one communication, carry from the
cleared in the module's storage. This feature is controlled by parameter 0/A. low 16 bits may occur between communications. Therefore, at each read of
the first, most significant parameter, the second parameter will be internally
Please note: If this feature is used with the automatically communicating buffered and read out in a directly following communication. The counter may
SIOX protocol the AUTO OFF feature should be used. This is necessary in continue counting meanwhile. This fast counter works independent of the 16-
order to give slow application software in the central computer time to bit optional C14 counter option described above.
process the data before the next communication clears the event from
storage. Please note: If data mode is used in accessing this counter and the
maximum readable count length of 28 bits is desired, the prescaler should be
Counters set to 16384 (hex 40/0/0/).

There are six 16-bit pulse counters incrementing on each inactive to active Gray Code Conversion
transition of the input with the same number (C8 - C13). The maximum
counting speed is 1000 Hz for a symmetrical square wave or as determined The module can be connected to an absolute encoder that employs Gray
by the input debounce time. These counters may be preset by writing to code. It can convert Gray code to ordinary binary code. This is done by
them. setting as many bits in the Gray code mask register (parameter 0/B) as there
are in the encoder. The result is shown in the binary code register in
For special purposes, the remaining inputs I1 - I6 and I14 can be set to count parameter 0/D. The least significant bit of the encoder must be connected to
in a similar way by setting the Option 0/0/0/A in parameter 0/2. The normal I1. Further bits must be allocated consecutively, in ascending order.
Incremental and Gray code handlers will then be disabled, and pulses on
inputs cause parameter 0/B to count as C1, parameter 0/D as C2, parameter Incremental Encoder Counters
0/E as C3, parameter 0/F as C4 and parameters 20/ - 22 as C5, C6 and C14,
respectively. Three 16-bit up/down counters can handle the signals from rotary encoders.
They are designated EnX, EnY and EnZ and use inputs I8/I9, I10/I11 and
I12/I13, respectively. One count is registered on each transition of either
input, incrementing when the phase of the higher input number leads that of
the lower number.

The maximum counting speed is limited by the internal sampling rate of the
S45 DIGITAL I/O MODULE p 11 S45 DIGITAL I/O MODULE p 12

inputs which is 0.5 ms. This means that any two transitions must be separa- This feature consists of a timer located in the high half of parameter 3. The
ted by at least 0.5 ms in order to be properly recognized. timer can be preset in 0.25 s increments and is restarted each time a
successful communication with the module is carried out. If communication
Interlock Registers ceases for longer than the preset time (max 65 s), outputs controlled by the
communication are deactivated until the next successful communication.
The module may inhibit particular outputs when various inputs are inactive. When the timer is cleared, the watchdog has no effect on the outputs.
For this purpose, seven definition registers exist, one for each of the inputs I1
- I7. Setting one or more bits in such a register inhibits one or more of the
outputs when the input is inactive. Response time is limited only by the Slave Communications
debounce time and not by the central computer response time. When all bits
of the interlock registers are cleared, none of the inputs affect any output. The S45 module communicates as a slave using various message types
The contents of all interlock registers whose inputs are inactive are OR:ed defined in the manual "SIOX System Description".
together and the result placed in the interlock inhibit sum register.
1. Data Mode Message. One Address, Single Data.
The interlock function has higher priority than the PLC so that emergency
stops are always granted. In receiving this message type, S45 behaves as a basic I/O module with 14
inputs and 7 outputs. The data transmitted to the module controls the
Please note: The edge trigger function must not be enabled on inputs used outputs, while the answer contains the current state of the inputs.
for interlock. This is because a "glitch" sets the input register bit active, thus
fooling the interlock function to believe that the input is active. 2. Data Mode Message. Two Addresses, Single Data.

These 8-bit registers are located in pairs I1:I2, I3:I4 and I5:I6 in parameters 4 For this message type the first address has the same properties as in a
- 6. The register for I7 is located together with the interlock sum register in Single Address module. Data at the second address selects which internal
parameter 7. parameter value to send in reply. However, it is only possible to answer with
14 of the 16 parameter bits. This mode is available only if enabled in the
Example: internal RAM/ EEPROM. Please refer to page 19, Data Mode Access to
Parameters.
Assume that the interlock register contains the bits 00000110 for I1 and
00000011 for I2. All other interlock registers are zero. If both I1 and I2 are 3. Data Mode Message. One Address, Double Data.
active the result in the interlock inhibit register would be 00000000, i.e. no
outputs would be inhibited. If I2 becomes inactive the interlock inhibit detect For this message type the module receives two data bytes in each
register would contain 00000011. If I1 also becomes inactive this register communication. The first is used as data to control the outputs and the
would contain 00000111. If I2 then becomes active it would contain second as an address to select which internal parameter value to send in
00000110. reply. This mode is available only if enabled in the internal RAM/EEPROM.

Overload Detection It is possible but pointless to select both Double Data Mode and two
addresses on a module. Either mode should be used.
A seven-bit register shows which of the activated outputs that are currently
overloaded. It is paired with the output register in parameter 8 and is not 4. String Setup Mode. One Address.
affected by a write to this parameter.
This message type is used to read or change one configuration parameter in
Output Register RAM or EEPROM. All internal parameters can be read or written.

The seven least significant bits of parameter 8 controls the outputs. The 5. String Text Mode message. One Address.
eighth bit may be used by the PLC, if enabled.
The module can receive text messages, but these can only be emptied and
Communication Watchdog interpreted by a PLC program in the S45. Such a program can also prepare
text answers, e.g. containing condensed I/O statistics. If none is prepared,
S45 DIGITAL I/O MODULE p 13 S45 DIGITAL I/O MODULE p 14

the text answer will be empty. parameter 17 is incremented to act as a seconds counter. No battery backup,
however, is possible for the RTC, only for the entire S45.

Communication Options Any of the PLC instructions DATE (DATM...DATS) changes, when first run,
parameter 17 from a 65536 seconds counter to a minutes + seconds register
Some bits, located in parameters 0/0/ and 0/1 in the module, control com- with a maximum value of hex 3B3B (59 minutes, 59 seconds).
munication modes..
This software controlled RTC depends on the internal CPU clock for
Restart of the module is accomplished by writing hex FFFF to parameter 0/0/. accuracy. To optimise its speed, the first half of parameter 16 can be
For example, to change the bit rate of a remote S45, first write the corre- increased or decreased a few steps (in EEPROM for permanency).
sponding code into EEPROM parameter 0/0/, then write hex FFFF to the same Alternatively the RTC parameter 17 may be rewritten (in RAM) at any time,
parameter (in EEPROM or RAM). The module will now restart and which also restarts the 10ms counter (second half of parameter 16).
commence communication on the new bit rate.

Disable String Text Output causes text calls to be interpreted as were they Parameter Description
string setup calls (for compatibility with older modules).
1024 configuration parameters (2048 bytes) for the S45 are stored in an
Disable Data Mode Output disables the possibility to control outputs in Data internal EEPROM. At power-up the first 256 parameters (512 bytes) of
Mode, reducing the risk of inadvertently changing outputs as a result of a EEPROM data are transferred to RAM. 256 bytes are reserved as PLC
communication error. program space (parameters hex 80/ - FF). The remaining 768 parameters
(1536 bytes) are available for PLC program overlays, data logging, texts and
Double Data Mode Safeguard enhances the integrity of Data Mode. If this nonvolatile storage for PLC applications. Features are typically active when a
function is active, the data controlling the outputs must be the same for two parameter is set to a non-zero value.
communications in a row to change the outputs.
Working modes may be changed in RAM when needed but will be lost after a
Communication Speed can be set to the bit rates 300, 600, 1200, 2400, power down unless saved in EEPROM. Writing to an EEPROM parameter
4800, 9600 or 19200 bps in parameter 0/0/. Note, that a change must be will also save the data in RAM.
carried out in EEPROM and the module restarted for the new speed to
become effective. The simplest way to access all parameters is to use the MEMSETUP menu in
the SIOXUSER or Visual Setup programs on a PC or equivalent.
Automatic Bit Rate Selection allows the module to automatically identify and
select the communication speeds 1200, 2400, 4800, 9600 and 19200 bps. It Below follows the default values and a description of each parameter. All
is allowed by selecting 0 in bits 11..8 in parameter 0/0/. When only a single parameter values are shown in hexadecimal notation.
rate will be used or when the rates 300 or 600 are required, the code for that
speed should be set in bits 11...8. Note also that some short messages at
19200 bps may be difficult to identify if the S45 is currently running at 1200
bps, since the whole message may appear shorter than a single character.
This will not be a problem for a normal mix of messages.

PLC, Spy and Master Mode Capabilities

Please refer to the "SIOX PROGRAMMABLE CONTROLLER" manual.

RTC, Real Time Clock

Parameter 17 contains a real-time clock, incrementing each second. The last


8 bits of parameter 16 increments each 10 ms to create a real-time clock.
When it reaches the value 100 (hex 63) it is cleared and the 16-bit register in
S45 DIGITAL I/O MODULE p 15 S45 DIGITAL I/O MODULE p 16

Parameter Factory Default Parameter Specifics

Parameter Factory Default Function Parameter Data Function

0/0/ 070/1 Control bits and bit rate 0/0/ 8xxx Permit write to all parameters. Otherwise internal
0/1 0/10/0/ Address and control bits system memory areas are write protected.
0/2 0/0/0/0/ Customer options and PLC spy address 4xxx Converts String Text Mode to String Setup.
0/3 0/0/0/0/ Timeouts and debounce time 2xxx Disables Data Mode outputs control.
1xxx Enables Double-byte Data Mode.
0/4 0/0/0/0/ Interlock mask I1 and I2
xNxx Bit rate. Must be changed in EEPROM followed by a
0/5 0/0/0/0/ Interlock mask I3 and I4
restart of the unit in order to have effect.
0/6 0/0/0/0/ Interlock mask I5 and I6 N = 0 = Automatic 1200 - 19200 bps
0/7 0/0/0/0/ Interlock mask I7 and inhibit register N = 3 = 300 bps
0/8 0/0/0/0/ Overload and output register N = 4 = 600 bps
0/9 ---- Input register N = 5 = 1200 bps
0/A 0/0/0/0/ Edge trigger control N = 6 = 2400 bps
0/B 0/0/0/0/ Gray code mask N = 7 = 4800 bps
0/C 0/0/0/0/ Input inversion mask N = 8 = 9600 bps
0/D 0/0/0/0/ Binary converted Gray code N = 9 = 19200 bps
0/E 0/0/0/0/ Inc. encoder X xxxN Number of permitted addresses. In this module N may
0/F 0/0/0/0/ Inc. encoder Y be 1 or 2.
10/ 0/0/0/0/ Inc. encoder Z FFFF The module is restarted by writing hex FFFF.
11 0/0/0/0/ PLC controlled outputs/program counter
12 0/0/0/0/ PLC timebase and run flags 0/1 NNxx 0/1 - 3F = first address of module.
13 0/0/0/0/ PLC status flags Please note that if the number of permitted addresses is
14 0/0/0/0/ PLC 16 bit V accumulator two, the address range is reduced to 0/1 - 3E.
8xxx Master Flag starting communications defined in
15 0/0/0/0/ PLC 16 bit timer
parameters 40/ - 7F.
16 0/0/0/0/ RTC most significant word
xx8x Spy Inhibit. Spy area will be free for general use.
17 0/0/0/0/ RTC least significant word xx1x 0/ = inputs pulldown, 1 = inputs pullup
18 0/0/0/0/ Counter C8 xxx2 Enables double communication safeguard. When set,
19 0/0/0/0/ Counter C9 two identical Data Mode communications must be
1A 0/0/0/0/ Counter C10 carried out before the digital outputs can change.
1B 0/0/0/0/ Counter C11
1C 0/0/0/0/ Counter C12 0/2 OOOO Options for customer specific functions.
1D 0/0/0/0/ Counter C13
1E 0/0/0/0/ Counter C14 most significant word 0/3 TTxx Timeout to clearing outputs if communication stops. TT
1F 0/0/0/0/ Counter C14 least significant word = 0/0/ = no timeout.
20/-3F 0/0/0/0/ Free for PLC use TT = 0/1 to FF = timeout 250 ms - 65 s.
40/-7F 0/0/0/0/ Spy/Master Mode configurations xxDD Inputs debounce time.
80/-3FF 0/0/0/0/ PLC storage/program area DD = 0/0/ = no debounce, i.e. 1 ms.
DD = 0/1 to FF is debounce time in 4 ms steps.
S45 DIGITAL I/O MODULE p 17 S45 DIGITAL I/O MODULE p 18

Parameter Data Function Parameter Data Function

0/4 MMxx Input I1 interlock mask 11 PPxx 0/0/ - 7F = PLC controlled outputs.
MM = 0/0/ - 7F is a bit pattern where D0/ (LS bit) affects PP is a bit pattern where D0/ (LS bit)
output Q1, D1 affects Q2, up to D6 which affects Q7. corresponds to output Q1, D1 to Q2, ..
0/ signifies that the corresponding output is independent D6 to Q7.
of input I1. 0/ signifies that the output is controlled
1 signifies that the respective output can be set only if I1 by the ordinary SIOX communication.
is active. 1 signifies that the PLC controls the output.
xxPC 0/0/ - FF = PLC program counter.
xxMM Input I2 interlock mask.
12 TTxx 0/0/ - FF = PLC timer tick size.
0/5 MMxx Input I3 interlock mask. 0/0/ = 1/16 s.
xxMM Input I4 interlock mask. 0/1 - FF = TT/1024 s.
40/ gives the same time as 0/0/.
0/6 MMxx Input I5 interlock mask. xx4x EEPSH remapping of EEPROM active.
xxMM Input I6 interlock mask. xx1x PLC single step.
0/ = continuous run.
0/7 MMxx Input I7 interlock mask. 1 = single step.
xx I I Shows the outputs that are inhibited by inputs. xx2x Singlestep done.
xxx1-8 PLC run bits.
0/8 CCxx Shows active, overloaded outputs; read only. 0/ = stop.
xxOO Output register, controls which outputs that are switched 1-8 = active task.
on.
13 x8xx If set, clears the PLC edge inputs register, will be
0/9 IIII Debounced inputs I14 - I1, read only. cleared automatically.
x4xx Outputs Watchdog flag. For PLC use.
0/A BBBB Edge trigger enable bits for inputs. 0 = watchdog not triggered.
1 = watchdog triggered due to lacking comm.
0/B GGGG Gray code mask. x1xx Valid communication with module.
xx2x PLC overflow flag L.
xx1x PLC carry flag C.
0/C IIII Input inversion mask. xxx1 PLC bit accumulator A.
0/ = do not invert input data.
1 = invert input data. 14 VVVV PLC V accumulator, 80/0/0/ - 7FFF = -32768 - +32767.

0/D BBBB Gray code converted to binary, read only. 15 TTTT PLC T timer, 0/0/0/0/ - FFFF. Tick rate is defined in
parameter 12.
0/E EncX Incremental encoder counter X, 16 bits, DI8 / 9.
16 80/xx-14xx Real Time Clock fine tuning. 0/0/xx = no adjustment.
0/F EncY Incremental encoder counter Y, 16 bits, DI10 / 11.
xx0/0/-xxx63 Real Time Clock 10 ms counter, reset at 99*10 ms.
10/ EncZ Incremental encoder counter Z, 16 bits, DI12 / I13.
17 0/0/0/0/-FFFF Real Time Clock seconds counter.
S45 DIGITAL I/O MODULE p 19 S45 DIGITAL I/O MODULE p 20

Parameter Data Function Data Mode Access to Parameters

18 CCCC C8 counter, 16 bits. In addition to String Mode setup communication, parameters can be
All counters C8 to C13 may be preset. If the preset accessed in Data Mode. For this purpose, the seven extra control bits from
value is written in EEPROM the counter will be set to the central computer in Double Data Mode, or data at a possible second
this value at power up. address are used. These extra bits are used as a selector number to indicate
which parameter in RAM or EEPROM is to be returned. Since only 14 data
19 CCCC C9 counter, 16 bits. bits can be returned the two most significant bits of the internal registers are
not accessible in data mode. Further, it is impossible to write data to a
1A CCCC C10 counter, 16 bits. parameter using data mode, except to clear some RAM parameters.

1B CCCC C11 counter, 16 bits. To permit Data Mode access to parameters, the control bit for Double Data
Mode must be active or the number of addresses must be set to 0/2.
1C CCCC C12 counter, 16 bits.
The selector number consists of seven bits:
1D CCCC C13 counter, 16 bits.
CAAAAAA
1E CCCC Fast Counter, most significant 16 bits.
C = control bit, AAAAAA = parameter address in the 0/0/ - 3F range.
1F CCCC Fast Counter, least significant 16 bits; write:
0/0/0/1 - FFFF = prescale with 1 - 65535. C = 0/ = read RAM contents at address AAAAAA.
0/0/0/0/ = prescale with 65536. C = 1 = return RAM contents at address AAAAAA and clear.

20/ - 3F NNNN Free for PLC use (byte addresses 40/ - 7F). It should be noted that, although only 14 bits can be read from an address,
all 16 bits will be cleared.
40/ - 7F SSSS Spy/Master Mode configurations
(byte addresses 80/ - FF). Free for PLC use if the Spy At addresses 0/0/ - 0/7, 0/9, 0/A and 0/C it is not possible to clear the RAM since
Inhibit bit in parameter 0/1 is set. this would disrupt the operation of the module. Changes to these parameters
should be carried out using the string setup mode.
80/ - FF PPPP PLC program space (byte addresses 10/0/ - 1FF).

10/0/ - 3FF PPPP PLC Program/Application Area, these para-meters are


not automatically copied from EEPROM to RAM at
power-up. RAM values are protected from inadvertent
changes, while EEPROM data is freely usable for PLC
data logging, texts or program overlays (byte addresses
20/0/ - 7FF).

For further information about the PLC, Spy and Master Modes, please refer
to the "SIOX PROGRAMMABLE CONTROLLER" manual.
S45 DIGITAL I/O MODULE p 21 S45 DIGITAL I/O MODULE p 22

*
Example 1: Electrical Specifications (Tamb = 20 C)
Assume that the module has address one (1) and uses double data mode. Min Typ Max Unit
The content of counter C9 is 0/0/0/7. To read counter C9 and set outputs Q1 Power Supply Voltage 10 24 35 V
and Q2 the following message will be sent.
Power Supply Current 10 16 20 mA
Byte # 1 2 3 4 5 (Outputs off, inputs pulldown)
Input Voltage Range -0.5 24 35 V
Message from
High-level Input Voltage 4 V
central computer: C1 0/3 19
Low-level Input Voltage 3.5 V
Answer from module: 0/7 0/0/
Input Current (Vin = 24 V DC) 7 mA
Byte 1 is the module's data mode address, byte 2 is output data to set Q2 Output Saturation Voltage 0.3 V
and Q1 and byte 3 is the parameter number. Byte 4 is LSB and byte 5 is Output Current 500 mA
MSB of counter C9.
Output Short Circuit Current 500 1300 mA
Example 2: Output Off Leakage Current
(Vsupply = 24 V DC) 500 ,A
Assume that the module has address one (1) and uses two addresses. To
read counter C9 the following message will be sent. SIOX Current (no Communication) 0.9 1 mA
Maximum square wave count frequency
Byte # 1 2 3 4 C8 - C13 1 kHz
Fast Counter 20 kHz
Message from
central computer: C2 19
Environmental Specifications
Answer from module: 0/7 0/0/
Operating Temperature Range 0 +55 *C

Byte 1 is the module's address (the second address), byte 2 is the parameter Storage Temperature Range -40 +85 *C
number. Byte 3 is LSB and byte 4 is MSB of counter C9.

The characters in bold in the two examples are the actual characters Mechanical Specifications
transmitted on the SIOX bus.
Dimensions (excluding 35 mm DIN clip) 140x81x25 mm
Weight 230 g

Removable connection blocks with screw terminals are PHOENIX contact


type MSTB. Maximum wire area is 2.5 mm2 (AWG 12).
S45 DIGITAL I/O MODULE p 23

Assistance

on safety and technical matters is available from:

TELEFRANG AB
Varbergsgatan 8
S-412 65 GÖTEBORG
SWEDEN

Tel: +46 31 40 30 60
Fax: +46 31 40 20 25
E-mail: info @telefrang.se

You might also like