TECO SG2 PLR User manual

SG2 PLR USER Manual
SG2 Programmable Logic Relay
™
1-800-972-0436
WWW.FACTORYMATION.COM

Chapter 1: Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Examination Before Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Environmental Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
SG2 Model Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Quick Start Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Chapter 2: Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Product Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Chapter 3: Program Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
PC Programming Software “SG2 Client” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Memory Cartridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
LCD Display and Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Chapter 4: Relay Ladder Logic Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Specialty Memory Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Output Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Counter Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
High Speed Counters (DC Version PLRs Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
Timer Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
RealTime Clock (RTC) Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
Comparator Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
HMI Display Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
PWM Output Instruction (DCTransistor Output Models Only) . . . . . . . . . . . . . . . . . . . . . . . . . . .54
Data Link/Remote I/O Instruction (SG2-20Vxx Models Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
2
SG2 PLR User Manual
Table of Contents
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 5: Function Block Diagram Programming . . . . . . . . . . . . . . . . . . . . . . . . .57
Coil Block Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
Logic Block Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
PWM Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
SHIFT Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
AND Logic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
AND (Edge) Logic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
NAND Logic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
NAND (Edge) Logic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
OR Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
NOR Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
XOR Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
SR Logic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
NOT Logic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Pulse Logic Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Counter Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Counter Mode 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
Counter Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
High Speed Counter Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Timer Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
RTC Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
Analog comparator Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
™
SG2 PLR User Manual
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 1: Getting Started
The SG2 PLR is an electronic device. For safety reasons, please carefully read and follow the
paragraphs with "WARNING" or "CAUTION" symbols.They are important safety precautions to be aware
of while transporting, installing, operating, or examining the SG2 Controller.
WARNING: Personal injury may result from improper operation.
CAUTION: The SG2 PLR may be damaged by improper operation.
Precaution for Installation
Compliance with the installation instructions and the user manual is absolutely necessary. Failure to comply could
lead to improper operation, equipment damage or in extreme cases even death, serious bodily injury or considerable
damage to property.
When installing the open-board models, insure that no wiring or foreign materials can fall into the exposed circuits
and components. Damage to equipment, fire, or considerable damage to property could result.
Always switch off power before you wire, connect, install, or remove any module.
The wiring for the SG2 PLR is open and exposed. For the open-board models, all electrical components are exposed.
For this reason, it is recommended the SG2 PLR be installed in an enclosure or cabinet to prevent accidental
contact or exposure to the electrical circuits and components.
Never install the product in an environment beyond the limits specified in this user manual such as high temperature,
humidity, dust, corrosive gas, vibration, etc.
Precaution for Wiring
Improper wiring and installation could lead to death, serious bodily injury or considerable damage to property.
The SG2 PLR should only be installed and wired by properly experienced and certified personnel.
Make sure the wiring of the SG2 PLR meets all applicable regulations and codes including local and national standards
and codes.
Be sure to properly size cables for the required current rating.
Always separate AC wiring, DC wiring with high-frequency switching cycles, and low-voltage signal wiring.
Precaution for Operation
To insure safety with the application of the SG2 PLR, complete functional and safety testing must be conducted.
Only run the SG2 after all testing and confirming safe and proper operation is complete. Any potential faults in the
application should be included in the testing. Failure to do so could lead to improper operation, equipment damage
or in extreme cases even Death, serious bodily injury or considerable damage to property.
When the power is on, never contact the terminals, exposed conductors or electrical components. Failure to comply
could lead to improper operation, equipment damage or in extreme cases even death, serious bodily injury or
considerable damage to property.
It is strongly recommended to add safety protection such as an emergency stop and external interlock circuit in case the
SG2 PLR operation must be shut down immediately.
4
SG2 PLR User Manual
Chapter 1: Getting Started
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Examination Before Installation
Every SG2 PLR has been fully tested and examined before shipment. Please carry out the following
examination procedures after unpacking your SG2 Programmable Logic Relay.
• Check to see if the model number of the SG2 matches the model number that you ordered.
• Check to see whether any damage occurred to the SG2 during shipment. Do not connect the SG2 PLR to the power
supply if there is any sign of damage.
Contact FactoryMation if you find any abnormal conditions as mentioned above.
Environmental Precautions
The installation site of the SG2 PLR is very important. It relates directly to the functionality and the life
span of your SG2 .Please carefully choose an installation site that meets the following requirements:
• Mount the unit vertically
• Environment temperature: 32°F - 131°F (0°C - 55°C)
• Avoid placing SG2 close to any heating equipment
• Avoid dripping water, condensation, or humid environment
• Avoid direct sunlight
• Avoid oil, grease, and gas
• Avoid contact with corrosive gases and liquids
• Prevent foreign dust, flecks, or metal scraps from contacting the SG2 PLR
• Avoid electric-magnetic interference (soldering or power machinery)
• Avoid excessive vibration; if vibration cannot be avoided, an anti-rattle mounting device should be installed to reduce
vibration.
SG2 Model Identification
5
™
SG2 PLR User Manual
Chapter 1: Getting Started
SG2 –20 RH –A
ControllerType
I/O Count
8= 8points(expansion modules)
10 = 10 I/O points
12 = 12 I/O points
20 = 20 I/O points
Form Factor
H = Encased w/ LCD & Keypad
V = Encased w/LCD, Keypad & RS-485 Communication
C = Bareboard
E = Expansion
OutputType
R = Relay
T =Transistor
Input Power
D = DC Powered
A = AC Powered
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 1: Getting Started
Quick Start Setup
This section is a simple 6-step guide to connecting, programming and operating your new SG2
Programmable Logic Relay. This is not intended to be the complete instructions for programming and
installation of your system. Many steps refer to other sections in the manual for more detailed
information.
1. Install SG2 Client Software
Install the SG2 Client Software from CD or from the free internet download at www.factorymation.com
2. Connect Power to SG2 PLR
Connect power to the PLR using the below wiring diagrams for AC or DC supply for the applicable
models. See “Chapter 2: Installation” for complete wiring and installation instructions
6
SG2 PLR User Manual
L
N
50/60 Hz
100...240V
AC ..V
NL
1
3
+
-
24V
+-
DC ..V
2
+
-
+-
DC ..V
2
Fuse (2A)
Surge absorber (36V DC)
Surge absorber (400V AC)
AC (100-240V) DC (24V)
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

3. Connect Programming Cable
Remove the plastic connector cover from the SG2 using a flathead screwdriver as shown in the figure
below. Insert the plastic connector end of the programming cable into the SG2 PLR as shown in the
figure below. Connect the opposite end of the cable to an RS232C serial port on the computer.
4. Establish Communication
a. Open the SG2 Client software and select “New Ladder Document” as shown below.
b. Select “Operation/Link Com Port…” as shown
7
Chapter 1: Getting Started
™
SG2 PLR User Manual
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 1: Getting Started
c. Select the correct Com Port number where the programming cable is connected to the computer
then press the “Link” button.
d. The SG2 Client will then begin to detect the connected PLR to complete it’s connection as shown
below.
5. Write simple program
a. Write a simple one rung program by clicking on the leftmost cell at line 001 of the programming
grid, then click on the “M” contact icon on the ladder toolbar, as shown below. Select M1 and
press the OK button.See Chapter 4: Ladder Programming instructions for complete instruction
set definitions.
Note: If the ladder toolbar is not visible at the bottom of the screen, select View>Ladder Toolbar from the
menu to enable.
8
SG2 PLR User Manual
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

b. Use the “A” key on your keyboard (or the “A” icon from the ladder toolbar) to draw the horizontal
circuit line from the M contact to the right most cell, as shown below.
c. Select the “Q” coil icon from the ladder toolbar and drop it on the right most cell. Select Q1 from
the dialog and press OK as shown below. See Chapter 4: Ladder Programming instructions for
complete instruction set definitions.
9
Chapter 1: Getting Started
™
SG2 PLR User Manual
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 1: Getting Started
d. Test the simple program.From the Operation menu, select the Write function and write the
program to the connected PLR as shown below.
e. Select the RUN icon from the toolbar, and select “No” when the pop-up message asks “Do you
want to read program from module?”, as shown below.
10
SG2 PLR User Manual
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

f. From the Input Status dialog, click on M1 to activate the contact M1 which will turn ON the Output
Q1, as shown below. The highlighted circuit will show active and the first Output (Q1) on the
connected PLR will be ON. See Chapter 3: Programming Tools for more detailed software
information.
11
Chapter 1: Getting Started
™
SG2 PLR User Manual
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 2: Installation
General Specifications
SG2 is a miniature smart PLR (Programmable Logic Relay) with a maximum of 44 I/O points and can
be programmed in Relay Ladder Logic or FBD (Function Block Diagram) program. The SG2 can
expand to its maximum I/O count by adding 3 groups of 4-input X 4-output modules.
12
SG2 PLR User Manual
Chapter 2: Installation
Power Supply
Input Power Voltage Range DC Models: 20.4-28.8V
AC Models: 85-265V
Power Consumption 24VDC: 10-point, 90mA
20-point: 150mA
100-240VAC: 90mA
Wire Size (all terminals) 26 to 14 AWG
Programming
Programming languages Ladder/Function Block
Program Memory 200 Lines or 99 Function Blocks
Programming storage media Flash
Execution Speed 10ms/cycle
LCD Display 4 lines x 12 characters
Timers
Maximum Number 15
Timing ranges 0.01s–9999min
Counters
Maximum Number 15
Highest count 999999
Resolution 1
RTC (Real Time Clock)
Number available 15
Resolution 1min
Time span available week, year, month, day, hour, min
Compare Instructions (Analog, Timer, or Counter Values)
Number available 15
Compare versus other inputs Timer, Counter, or Numeric values
Environmental
Enclosure Type IP20
Maximum Vibration 1G according to IEC60068-2-6
Operating Temperature Range 32° to 131°F (0° to 55°C)
Storage Temperature Range -40° to 158°F (-40° to 70°C)
Maximum Humidity 90% (Relative, non-condensing)
Vibration 0.075mm amplitude
1.0g acceleration
Weight 10-point: 230g
8-point:190g
20-point: 345g
Agency Approvals cUL , CE, UL
Discrete Inputs
Current consumption 4mA @12VDC
3.2mA @24VDC
1.3mA @100-240VAC
Input Signal ”OFF” Threshold < 5VDC; < 40VAC
Input Signal ”ON” Threshold > 15VDC; > 79VAC
Input On delay DC: 5ms
240VAC: 50ms
120VAC: 90ms
Input Off Delay DC: 3ms
240VAC: 50ms
120VAC: 90ms
Transistor device compatibility PNP, 3-wire device only
High Speed Input frequency 1kHz
Standard Input frequency < 40 Hz
Required protection Inverse voltage protection required
Analog Inputs
Resolution 10 bit
Voltage Range acceptable Analog input: 0-10VDC,
24VDC when used as discrete input
Input Signal ”OFF” Threshold < 5VDC (as 24VDC discreet input)
Input Signal ”ON” Threshold > 9.8VDC (as 24VDC discreet input)
Isolation None
Short circuit protection Yes
Total number available A1-A8
Relay Outputs
Contact material Ag Alloy
Current rating 8A
HP rating 1/3HP@120V 1/2HP@250V
Maximum Load Resistive: 8A/point
Inductive: 4A/point
Maximum operating time 15ms (normal condition)
Life expectancy (rated load) 100k operations
Minimum load 16.7mA
Transistor Outputs
PWM max. output frequency 0.5kHz (1ms on,1ms off)
Standard max. output frequency 100Hz
Voltage specification 10-28.8VDC
Current capacity 1A
Maximum Load Resistive: 0.5A/point
Inductive: 0.3A/point
Minimum Load 0.2mA
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Product Specifications
13
Chapter 2: Installation
™
SG2 PLR User Manual
Part # Input Power Inputs Outputs Display RS-485 Communications Max I/O*
SG2-12HR-D
24 VDC
6 DC, 2 Analog 4 Relay ✓N/A 36
SG2-12HT-D 6 DC, 2 Analog 4 Trans. ✓N/A 36
SG2-20HR-D 8 DC, 4 Analog 8 Relay ✓N/A 44
SG2-20HT-D 8 DC, 4 Analog 8 Trans. ✓N/A 44
SG2-20VR-D 8 DC, 4 Analog 8 Relay ✓Built-in MODBUS 44
SG2-20VT-D 8 DC, 4 Analog 8 Trans. ✓Built-in MODBUS 44
SG2-10HR-A 85-240 VAC 6 AC 4 Relay ✓N/A 34
SG2-20HR-A 12 AC 8 Relay ✓N/A 44
Expansion Modules
SG2-8ER-D 24VDC 4 DC 4 Relay N/A N/A N/A
SG2-8ET-D 4 DC 4 Trans. N/A N/A N/A
SG2-8ER-A 85-240VAC 4 AC 4 Relay N/A N/A N/A
SG2-4AI 12-24 VDC 4 Analog N/A N/A N/A N/A
SG2-MODBUS 24 VDC Communications Module, RS-485 MODBUS-RTU
OEM “Blind” Models, No Keypad, No Display
SG2-12KR-D 24VDC 6 DC, 2 Analog 4 Relay X N/A 12
SG2-20KR-D 8 DC, 4 Analog 8 Relay X N/A 20
SG2-10KR-A 85-240VAC 6 AC 4 Relay X N/A 10
SG2-20KR-A 12 AC 8 Relay X N/A 20
OEM “Bareboard” Models, No Keypad, No Display, No Expansion
SG2-12CR-D 24VDC 6 DC, 2 Analog 4 Relay X N/A 12
SG2-20CR-D 8 DC, 4 Analog 8 Relay X N/A 20
SG2-10CR-A 85-240VAC 6 AC 4 Relay X N/A 10
SG2-20CR-A 12 AC 8 Relay X N/A 20
Accessories
SG2-PL01 SG2 Programming Cable
SG2-PM05 SG2 Memory cartridge
SG2-SW SG2 Programming software. Available on CD or FREE via download from Web
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 2: Installation
Mounting
DIN-rail Mounting
The SG2 PLR should always be mounted vertically. Press the slots on the
back of the SG2 and expansion module plug CONNECTOR onto the rail
until the plastic clamps hold the rails in place.Then connect the expansion
module and CONNECTOR with the Master (press the PRESS-BUTTON
simultaneously)
14
SG2 PLR User Manual
SG2-8ER-A
Output 4 x Relay / 8A
Q1 Q2 Q3 Q4
DC 24V Input 8 x DC(A1,A2 0~10V)
SG2-12HR-D
+-I1 I2 I4I3 I5 A1I6 A2 Input
4×AC
LN
Run
AC 100~240V
X4X1 X2 X3
Output 4 x Relay / 8A
Y1 Y2
Y3 Y4
CONNECTOR
Din Rail
PRESS-BUTTON
CLIC
2
1
2
1
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

It is recommended to apply a DIN-rail end clamp to hold the SG2 in place.
Direct Mounting
Use M4 screws to direct
mount the SG2 as shown.
For direct installation of the
expansion module, slide the
expansion module and
connect with the Master
after the Master is fixed.
15
Chapter 2: Installation
™
SG2 PLR User ManualSG2 PLR User Manual
M4X20(#8x32)
Output 4 x Relay / 8A
DC 24V Input 8 x DC(A1,A2 0~10V)
I3
Q1 Q2
SG2-12HR-D
+-I2I1
Q3 Q4
I6I4 I5 A1 A2
SG2-8ER-A
AC 100~240V
Input
4×AC
LN
Run
X2X1 X3 X4
Output 4 x Relay / 8A
Y1 Y2
Y4
Y3
CONNECTOR
2
1
3
Q3Q1
Output 4 x Relay / 8A
SG2-12HR-D
Q2
SG2-8ER-A
Q4
DC 24V Input 8 x DC(A1,A2 0~10V)
+-I1 I3I2 I4 Input
4hAC
A2I6I5 A1
Run
AC 100~240V
NL
X2X1 X3 X4
Output 4 x Relay / 8A
Y1 Y2
Y4Y3
Din Rail
Mounting Clip
OUTPUT4xRELAY/8A
M4X20(#8x32)
I6
I4 I5 A1 A2I1
-I2 I3+
DC24V INPUT8xDC(A1,A2 0~10V)
SG2-12HR-D
Q3 Q4Q2Q1
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 2: Installation
Wiring
WARNING: The I/O signal cables should not be routed parallel to the power cable, or in the same cable trays to avoid
the signal interference.
To avoid a short circuit on the load side, it is recommended to connect a fuse between each output terminals and loads.
Wire size and Terminal Torque
10/12-point Versions
16
SG2 PLR User Manual
21
+
-
24V
+-A1 A2
A2I4I3 I5 I6 A1
+-I1 I2
DC ..V Input ......
1
2
0-10V Analog
21
+
-
+-A1 A2
A2I4I3 I5 I6 A1
+-I1 I2
DC ..V Input ......
1
2
L
N
50/60 Hz
100...240V
AC ..V Input ......
I1 I2 I4I3 I5 I6
NL
1
3
or
12V
+
-
24V
-
+-
+Q4Q3
-
+-
+
Q1 Q2
OUTPUT 4 x TR / 0.5A
4
12...240V 50/60 Hz
N/-
or 12...125V
50/60 Hz
12...240V L/+
Output 4 x Relay / 8A
Q4Q3Q1 Q2
4
Power Supply and Input Terminals
AC (100-240V) DC (24V)
Output Terminals
Fuse (2A)
Surge absorber (36V DC)
Surge absorber (400V AC)
Fuse or short circuit Protective Device
0.14...1.5
26...16
0.14...2.5
26...1426...14
0.14...0.75
26...18
0.14...2.5
0.6
5.4
C
C
lb-in
Nm
mm
AWG
2
Ø3.5
(0.14in)
0.14...1.5
26...16
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

20-point Versions
Sensor Connection
17
Chapter 2: Installation
™
SG2 PLR User Manual
U
N/-
50/60 Hz
or 12...125V
L/+
12...240V
Q7 Q8Q5Q4Q1 Q3Q2 Q6
Output 8 x Relay / 8A
5
4
U
24V
or
+
12V -
-
+--
++
-
++
--
+
Q4Q3 Q6Q5 Q7 Q8
-
+-+
5
4
Q2Q1
OUTPUT 8 x TR / 0.5A
4
0-10V Analog
321
+
-
A3A4
A1A2
+-
Run
DC ..V INPUT ......
2
1
I7 I8 A3A1 A2 A4I3I2I1 I6I5I4
-+
L
N
Run
I7 IBI9I8 IA ICI4I1 I3I2 I5 I6
NL
AC ..V INPUT ......
1
3
DC (24V)
AC (100-240V)
Power Supply and Input Terminals
Output Terminals
Fuse (2A)
Surge absorber (36V DC)
Surge absorber (400V AC)
Fuse or short circuit Protective Device
DC V Input
I5+-I1 I2 I3 I4 A2I6 A1
YES
NO
3-wire, PNP only
2-wire
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 2: Installation
DATA LINK OR REMOTE I/O LINK
The power supply and the I/O supply should share the same power source.
Only short circuit the first and the last module.
In accordance to EIA RS-485 standard, DATA LINK can connect Max.8 Modules (ID:1-8). REMOTE I/O
can only connect 2 modules (MASTER & SLAVE).
18
SG2 PLR User Manual
RS485
A2A1 AA4 S BA3 A3 SA4A1 A2
RS485
BAA1AB
RS485
A2 A4 SA3
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 3: Program Tools
PC Programming Software “SG2 Client”
The SG2 Client programming software provides two edit modes, Ladder Logic and Function Block
Diagram (FBD).The SG2 Client software includes the following features:
1. Easy and convenient program creation and editing.
2. Programs can be saved on a computer for archiving and reuse. Programs can also be uploaded directly from an
SG2 and saved or edited.
3. Enables users to print programs for reference and review.
4. The Simulation Mode allows users to run and test their program before it is loaded to the controller.
5. Real-time communication allows the user to monitor and force I/O on the SG2 PLR operation during RUN mode.
Installing the Software
Install the SG2 Client Software from CD or from the free internet download at www.factorymation.com
Connecting the Software
Remove the plastic connector cover from SG2 using a flathead screwdriver as shown in the figure
below. Insert the plastic connector end of the programming cable into the SG2 PLR as shown in the
figure below. Connect the opposite end of the cable to an RS232C serial port on the computer.
Start Screen
Run the SG2 Client software and the following Start screen will be displayed. From this screen, you can
perform the following functions
19
Chapter 3: Program Tools
™
SG2 PLR User Manual
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP

Chapter 3: Program Tools
New Ladder Program
Select File-->New-->New LAD to enter the
development environment for a new Ladder
program.
New FBD Program
Select File-->New-->New FBD to enter the
development environment for a new FBD
(Function Block Diagram) program.
Open Existing File
Select File-->Open to choose the type of file
to open (Ladder or FBD), and choose the
desired program file, and then click Open.
Ladder Logic Programming
Environment
The Ladder Logic Programming Environment
includes all the functions for programming and
testing the SG2 PLR using the Ladder Logic programming language. To begin a new program select
File-->New--> and select the desired model of SG2, and the number of connected expansion units if
applicable, as shown below.
20
SG2 PLR User Manual
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP ,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP
Table of contents
Other TECO Relay manuals