Omron G9SP Series Manual

HOST CONNECTION
M ANUAL
Cat. No. Z924-E1-01
G9SP Series
Safety Controller
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, o
r
by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission o
f
OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con­stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
1
Introduction
Thank you for purchasing a G9SP-series Safety Controller. This manual contains information required to use the G9SP-series Controller. Please thoroughly read and understand this manual before you use the G9SP-series Controller.
Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
- Personnel in charge of installing FA systems.
- Personnel in charge of designing FA systems.
- Personnel in charge of managing FA systems and facilities.
- Personnel in charge of qualifications and authority in all phases, including system design, installation, operation, maintenance, and disposal.
2
Manual Configuration
Information on the operation of G9SP-series Safety Controllers is provided in the following manuals. Refer to the specific manual depending on the information that is required.
Manula name Contents Cat. No.
G9SP-series Safety Controller Host Connection Manual (this manual)
This manual provides sample ladder programming and describes how to connect to a Standard PLC from another manufacturer using the communications
functionality of the G9SP-series Controller's Option Board. The procedure for connecting to a Standard PLC from another manufacturer is described in the G9SP Operation Manual.
Z924
G9SP-series Safety Controller Operation Manual
This manual provides detailed specifications and describes functions and application methods for the G9SP-series Controller in detail.
Z922
G9SP-series Safety Controller Instructions Reference Manual
This manual describes the safety programming methods, provides the specifications, and describes the functions and operating methods of the G9SP-series Controllers.
Z923
3
Table of Contents
Introduction ....................................................................................................................1
Manual Configuration.....................................................................................................2
Table of Contents
...........................................................................................................3
Section 1Connecting to OMRON PLCs
1 - 1 Functionality ..................................................................................................1-2
1 - 2 RS-232C Serial Communications..................................................................1-3
1 - 3 Ethernet Communications .............................................................................1-4
Section 2Connecting to Mitsubishi Electric PLCs
2 - 1 Functionality ..................................................................................................2-2
2 - 2 RS-232C Serial Communications..................................................................2-3
2 - 2 - 1 Communication Format..............................................................2-3
2 - 2 - 2 Application Example 1(Connecting to the Mitsubishi Standard PLC
Q Series)....................................................................................2-3
2 - 2 - 3 Application Example 2(Connecting to the Mitsubishi Standard PLC
FX Series)................................................................................2-10
2 - 3 Ethernet Communications ...........................................................................2-16
2 - 3 - 1 Communication Format............................................................2-16
2 - 3 - 2 Application Example ..............................................................2-16
Section 3Connecting to Siemens PLCs
3 - 1 Functionality ..................................................................................................3-2
3 - 2 RS-232C Serial Communications..................................................................3-3
3 - 2 - 1 Communication Format..............................................................3-3
3 - 2 - 2 Application Example ................................................................3-3
3 - 3 Ethernet Communications ...........................................................................3-11
3 - 3 - 1 Communication Format............................................................3-11
3 - 3 - 2 Application Example ..............................................................3-11

This section describes how to perform communications with OMRON standard PLC through an RS-232C Option Board or Ethernet Option Board.
1 - 1 Functionality.................................................................................................. 1-2
1 - 2 RS-232C Serial Communications................................................................. 1-3
1 - 3 Ethernet Communications
............................................................................. 1-4
Connecting to OMRON PLCs
1-2
1 - 1 Functionality
Refer to Section 7 Communications with a Standard PLC Using an Option Board of the G9SP Series Safety Controller Operation Manual (Cat. No. Z922).
1 - 2 RS-232C Serial Communications
1-3
1
Connecting to OMRON PLCs
1 - 2 RS-232C Serial Communications
Refer to Section 7 Communications with a Standard PLC Using an Option Board of the G9SP Series Safety Controller Operation Manual (Cat. No. Z922).
1-4
1 - 3 Ethernet Communications
Refer to Section 7 Communications with a Standard PLC Using an Option Board of the G9SP Series Safety Controller Operation Manual (Cat. No. Z922).
This section describes how to perform communications with Mitsubishi Electric Standard PLC through an RS-232C Option Board or Ethernet Option Board.
2 - 1 Functionality.................................................................................................. 2-2
2 - 2 RS-232C Serial Communications................................................................. 2-3
2 - 2 - 1 Communications Format ..................................................................2-3
2 - 2 - 2
Application Example 1(Connecting to the Mitsubishi Standard PLC Q
Series.) .............................................................................................2-3
2 - 2 - 3
Application Example 2(Connecting to the Mitsubishi Standard PLC FX
Series.) ...........................................................................................2-10
2 - 3 Ethernet Communications............................................................................2-16
2 - 3 - 1 Communications Format ................................................................2-16
2 - 3 - 2
Application Example.......................................................................2-16
Connecting to Mitsubishi Electric PLCs
2-2
2 - 1 Functionality
Refer to Section 7 Communications with a Standard PLC Using an Option Board of the G9SP Series Safety Controller Operation Manual (Cat. No. Z922).
2 - 2 RS-232C Serial Communications
2-3
2
Connecting to Mitsubishi Electric PLCs
2 - 2 RS-232C Serial Communications
This section provides a description and example of connection to a Mitsubishi Electric Standard PLC. The No-protocol communications are available for connection with a Mitsubishi Electric Standard PLC.
2 - 2 - 1 Communications Format
Refer to Section 7 Communications with a Standard PLC Using an Option Board of the G9SP Series Safety Controller Operation Manual (Cat. No. Z922).
2 - 2 - 2 Application Example 1(Connecting to the Mitsubishi Standard
PLC Q Series.)
System Configuration
This section uses the following example to describe how to access the G9SP-series Controller by performing serial communications through a RS-232C Serial Comm- unications Board (CP1W-CIF01) from a Mitsubishi Electric Standard PLC Q series.
MELSEC-Q series
Serial Communication Module
G9SP-series
No-protocol
Mitsubishi Standard PLC(See Note.)
CP1W
-
CIF01
Option Board
Note:
This example uses the following Mitsubishi Electric Standard PLC.
Product Model/version
CPU Unit (Standard PLC) Q02HCPU
Serial Communication Module
QJ71C24N-R2 Support Software (for setup and creating ladder programs)
GX Developer Version 8.90U
GX Configurator-SC Version2.21X
G9SP-series Controller Settings
Settings are not required. Make the communications settings in the Mitsubishi Electric Standard PLC to match the serial communications specifications of the G9SP-series Controller.
2-4
Mitsubishi Electric PLC Q series Settings
Set serial communication module CH2 as given below in the PLC parameter using the GX Developer and CH2 No-protocol system setting using the intelligent function utility.
z PLC parameter settings
Set serial communication module CH2 as given below in the PLC parameter by selecting[Project data list]-[Parameter]-[PLC parameter]-[I/O assignment].
Parameter Description Set value for this example
Communication protocol setting Communication protocol Non-procedure Transmission setting Transmission setting Data bit :8bits
Parity bit :Yes Odd/even parity:Even Stop bit :1bit Sum check code :No
Communication rate setting Baud rate 9600bps
z Intelligent function utility settings
Set serial communication module CH2 as given below in the CH2 Non procedure system setting by selecting [Tools]-[Intelligent function utility]-[Start].
Parameter Description Set value for this example
Received data count designation Received data count 00C7(199bytes) Receive complete code designation Receive complete code FFFF(Not desig nated)
2 - 2 RS-232C Serial Communications
2-5
2
Connecting to Mitsubishi Electric PLCs
Communications cable
The suited cable is different according to the combination of component. Please produce the cable of the following connecting wires when connecting with a Mitsubishi Electric Standard PLC Q series (QJ71C24N-R2).
G9SP-series
RS-232C Serial Communications
Board
Mitsubishi Electric Q series
serial communication module
Connector Signal Pin No.
Pin No. Signal Connector
FG 1 1 CD SD 2 2 RD RD 3 3 SD RS 4 4 ER CS 5 5 SG 5V 6 6 DR DR 7 7 RS ER 8 8 CS
D-Sub
male
9-pin
SG 9 9 RI
D-Sub
male
9-pin
Sample Ladder Programming for Mitsubishi Electric PLC Q series
This section provides an example of programming to monitor Safety Input terminal data of a G9SP-series Controller from a Mitsubishi Electric Standard PLC Q series.
z RS-232C Serial Communications Sequence
The G9SP-series Controller returns a response to the command sent from the
Standard PLC.
Standard PLC G9SP-series Controller
Send processing
Initialization
Send/receive processing
Send/receive processing
Sent command
Reception response
Sent command
Reception response
Receive processing
Send processing
Receive processing
Send processing
Receive processing after 300 ms
Receive processing after 300 ms
Receive End
Receive End
2-6
z Mitsubishi Electric Standard PLC Q series Memory Allocations
Start address End address Contents Description
D11 D20 RS-232C send command Data sent by the Standard PLC to the
G9SP-series Controller
D110 D209 RS-232C reception response Data received by the Standard PLC from
the G9SP-series Controller
D330 D351 Checksum calculation work area Work area for RS-232 C communications.
Used to calculate the check-sum
X100 X11F G9SP communications reception data
(written to G9SP-series Controller)
Data written to G9SP-series Controller from Standard PLC. Stored in the communica­tions reception data of the G9SP-series Controller.
Y200 Y21F G9SP communications transmission data
(read from the G9SP-series Con­troller)
Communications data sent from the G9SP­series Controller is read.
Y220 Y24F G9SP Safety Input terminal data (read
from the G9SP-series Controller)
Safety Input terminal data of the G9SP­series Controller is read.
- G9SP Communications Reception Data
15 8 7 0 X100 bit
15
bit 14
bit13bit12bit11bit10bit09bit08bit07bit06bit05bit
04
bit 03
bit 02
bit01bit
00
X110 bit
31
bit 30
bit29bit28bit27bit26bit25bit24bit23bit22bit21bit
20
bit 19
bit 18
bit17bit
16
- G9SP Communications Transmission Data
15 8 7 0 Y200 bit
15
bit 14
bit13bit12bit11bit10bit09bit08bit07bit06bit05bit
04
bit 03
bit 02
bit01bit
00
Y210 bit
31
bit 30
bit29bit28bit27bit26bit25bit24bit23bit22bit21bit
20
bit 19
bit 18
bit17bit
16
- G9SP Safety Input Terminal Data
15 8 7 0 Y220 Si
15
Si 14 Si13Si12Si11Si10Si09Si08Si07Si06Si05
Si 04
Si 03
Si 02 Si01Si00
Y230 Reserved Si
19
Si 18 Si17Si16
Y240 Reserved
Loading...
+ 37 hidden pages