Siemens i-3 User Manual page 17

V2 i/o controller – modbus
Hide thumbs Also See for i-3:
Table of Contents

Advertisement

Chapter 5
Communication Protocols
Bit 1 -- if ON, run the IOB Diagnostics
routine
Bit 2 -- if ON, reset the IO Board
Bit 3 -- if ON, restore defaults to the
parameters of the IO Board (but not the
Modbus device address) as well as the
Date and Time.
Bit 4 -- if ON, restore defaults to the
Output Groups Table (i.e., no output
groups defined) and the Input-Output
Mapping Table (i.e., 1-to-1 mapping of
32 digital inputs to the first 32 outputs)
Bit 5 -- If ON, restore defaults to the Input
Types Table (i.e., all digital input types set
to 0) and to Inputs Force (i.e., turn off
all forcing). In addition, the states of all
inputs are initialized.
Bit 6 -- If ON, indicates the IO Board should
go into Program Upgrade mode – stopping
all activity except for receiving memory
updates (allows reading/writing of the IOB
Memory Access Table and writing register
115 – the IOB Control Word)
Bit 7 -- If ON, cancels the Program Upgrade
mode (IO Board goes back into normal
mode – all normal functions are enabled)
To activate one or more of these bits, you
must add the password value and write the
word. For example, if you wish to reset
the IO Board, you must write 0xA004
(hexadecimal A004).
Input forcing
Using a combination of the Inputs On/Off
(registers 18 and 19) and the Inputs Force
(registers 16 and 17), the user can force
the state of individual and multiple inputs
to be either On or Off. The Force All
On/Off switch on the IO Board still has
the highest priority of action, but Input
Forcing is second to that switch when it
comes to priority of action.
The state of an input (On or Off) can be
read or written in registers 18 and 19.
However, writing to an input state has
no effect unless the corresponding bit in
registers 16 or 17 is set to 1. Therefore,
registers 16 and 17 act as a mask of
registers that are being forced, and
registers 18 and 19 act as forced states or
actual states of inputs, depending on the
mask registers.
Note that when an input is being forced,
the actual state of the input has no effect
whatsoever, until the forcing is turned
OFF for that input. This may lead to some
confusion, i.e., someone trying to toggle a
light switch and seeing nothing happen to
the lights.
Panel configurator tool software
To obtain this software, please contact
Siemens at 800-427-2256. Software will
be available for download online.
Input Logics
Registers 3584 through 3603 specify an
optional logic operation for each Input.
Each register contains a 0 ("OR"), 1
("AND"), 2 ("NAND"), or 3 ("XOR") in the
first byte and an input number (1-20 for
digital inputs or 33 analog input 1 or 34
for analog input 3) in the second byte. A
value of 0 in a register means that there is
no Logic operation to be applied. A Logic
operation allows the user to relate two
different inputs to a POD with an AND,
OR, NAND, or XOR logical connection.
NOTE: A special situation can occur when
two inputs are linked to each other and
one has an "OR" operation and the other
has an "AND" operation. This could lead to
a race condition, causing the SIPODs to
clatter as they try to satisfy both conditions.
In order to prevent this, the software
will automatically give both Inputs the
same Logic operation whenever it detects
the condition. In the case or an XOR or a
NAND, just the opposite is true, in that if
both inputs point to each other and have
XOR or both have NAND, this creates a
race condition, so the system removes
the Logic operation
Communication loss
Placing a value in register 781 indicates how
long (in minutes) the I/O board should wait
to determine if communication is lost. The
15th bit in register 781 specifies what to do
when communication is lost. If the 15th bit
is set, all SIPODs will be turned ON. If the
15th bit is not set, all SIPODs will be turned
OFF. The user enters the value in the
remaining 15 bits. The maximum value is
10000 minutes, the minimum value is 1
minute. If the value is FFFF, the I/O board
does not check for communication loss.
SIPOD Delay
The user can specify the time (in
milliseconds) for SIPODs to be ON for
the commands SIPOD_CLOSE and
SIPOD_OPEN. The default its 0. The
maximum is 65536.
1.1. Analog Gain Tables
Register Function Value
Analog Gain Output Table
0x2000 Lighting level 1 setting 0 - 4095
0x2001 Lighting level 2 setting 0 - 4095
0x2002 Lighting level 3 setting 0 - 4095
0x2003 Lighting level 4 setting 0 – 4095
0x2004 Lighting level 5 setting 0 – 4095
0x2005 Lighting level 6 setting 0 – 4095
0x2006 Lighting level 7 setting 0 – 4095
0x2007 Lighting level 8 setting 0 - 4095
0x2008 Lighting level 9 setting 0 – 4095
0x2009 Lighting level 10 setting 0 – 4095
Table 5.1
Analog Gain Input Table
0x200A Threshold level 1 setting 0 – 4095
0x200B Threshold level 2 setting 0 – 4095
0x200C Threshold level 3 setting 0 – 4095
0x200D Threshold level 4 setting 0 – 4095
0x200E Threshold level 5 setting 0 – 4095
0x200F Threshold level 6 setting 0 – 4095
0x2010 Threshold level 7 setting 0 – 4095
0x2011 Threshold level 8 setting 0 – 4095
0x2012 Threshold level 9 setting 0 – 4095
0x2013 Threshold level 10 setting 0 - 4095
Table 5.2
Analog Active PID Settings
0x2014 Desired Lighting level
analog channel 1
0x2015 Desired Lighting level
analog channel 2
Table 5.3
0 – 4095
0 - 4095
15

Advertisement

Table of Contents
loading

Table of Contents