EN GOC User Manual
EN GOC User Manual
EN GOC User Manual
____________________________________________________________________________
Revision:
1.5 Feb 2016 Updated with microSD card support and Data Logging support
1.9 April 2018 Added specifications for CC-Link IEF Basic Master & Slave
___________________________________________________________________________________
Thanks for choosing Graphical Operation Controller (GOC), the Micro Programmable
Logic Controller with built in display keyboard and illuminated keys offering high flexibility
in I/Os, features and functionality. Before using this controller, please read this manual
carefully for safety precautions, specifications, dimensional details, installation guidelines
and procedures, wiring guidelines and procedures.
Safety Recommendations
Read and understand the manual carefully before product use, to avoid damages to persons,
property & environments. Ensure safe & proper usage of this product.
The qualified personnel should only install & operate the product. The personnel should be
aware of all safety of automated products & completely familiar with all associated
documentation for the said product.
Manual should be located at the easily retrievable location for reference. Also, share this
manual with the end user of this product.
This controller to be considered as Industrial waste.
Protect the controller from conductive dust, corrosive gases, wire debris, flammable gases, rain
and fluid from entering into the controller through ventilation slits; this may cause malfunction,
damage, fire, electrical shock and deterioration to the controller.
The controller should not be exposed to direct sunlight, high explosive risk, excessive magnetic
interference & inflammable substances.
Do not modify, dismantle, re construct and repair the controller. For repair, contact the nearest
authorized Sales / Repair agency.
Do not paint the controller.
Provide external interlock circuit like emergency stop or protective circuit to keep the systems
safe, in case, there is problem in the controller.
For output, place fail safe protective circuit external to the controller to ensure machine
operates safely, in case of, the controller fault condition.
Also, it is recommended to build external output monitoring circuit to identify the output to which
the problem has occurred.
During installation and wiring or maintenance activities of the controller and extensions, switch
OFF the controller supply as well as all the phases of power supply for control panel. Failure to
do so may cause personnel injury or controller malfunction.
Do not touch any terminal while the controller power is ON. It may cause electric shocks and
malfunction due to static electricity.
Refer this manual before and during usage of either hardware or software key feature/s of
controller.
Use controller within the range of general and technical specifications.
____________________________________________________________________________
This page is kept blank intentionally
Content
Safety Recommendations.................................................................................. 1-3
1 Overview..................................................................................................... 7
1.1 Highlighting Features ....................................................................................... 7
1.2 Nomenclature ................................................................................................ 10
1.2.1 Main Unit .................................................................................................................... 10
1.2.2 I/O Extension Unit ...................................................................................................... 11
1.2.3 COM Extension Unit ................................................................................................... 12
1.2.4 Main Unit with Extension Units ................................................................................... 13
1.3 Ordering Information ...................................................................................... 14
1.4 General Specifications ................................................................................... 16
1.5 Technical Specifications ................................................................................ 17
2 Installation and Wiring............................................................................... 20
2.1 Dimensional Details ....................................................................................... 20
2.1.1 Main Unit .................................................................................................................... 20
2.1.2 I/O Extension Unit ...................................................................................................... 21
2.1.3 COM Extension Unit ................................................................................................... 21
2.1.4 Main Unit with Extension Units ................................................................................... 22
2.2 Installation...................................................................................................... 22
2.2.1 Installation Recommendations ................................................................................... 22
2.2.2 Precautions to be taken .............................................................................................. 24
2.2.3 Main Unit Installation .................................................................................................. 24
2.2.4 I/O Extension Unit Installation .................................................................................... 27
2.2.5 COM Extension Unit Installation ................................................................................. 30
2.2.6 microSD card Installation ........................................................................................... 33
2.3 Wiring............................................................................................................. 35
2.3.1 Recommendations ..................................................................................................... 35
2.3.2 Precautions to be taken .............................................................................................. 35
2.3.3 Guidelines for Earthing ............................................................................................... 36
2.3.4 Digital input sink/source operation.............................................................................. 36
2.3.5 Guidelines for using digital outputs ............................................................................. 37
2.3.6 Guidelines for using relay outputs .............................................................................. 37
_________________________________Page 2 of 241__________________________________
3.3.2 High Speed Input Configuration ................................................................................. 50
3.3.3 Interrupt Configuration ................................................................................................ 52
3.3.4 Special Input Functionality ......................................................................................... 55
3.3.4.1 Pulse Catch Configuration .................................................................................... 55
3.3.4.2 Frequency Measurement Input Configuration ....................................................... 57
3.3.4.3 Pulse ON Time Measurement Configuration ........................................................ 59
_________________________________Page 6 of 241__________________________________
Overview
1 Overview
PLC Function
Flexible Hardware Various options of main units and extension units depending upon
Configuration number and type of I/Os.
Functionality can be enhanced with addition of up to 2 I/O extension
units and up to 2 COM extension units
Offers 16 digital I/Os minimum to 48 digital I/Os maximum. Can
provide up to 8 analog I/Os.
Up to 2 serial ports by adding COM extension units
Programming via Ethernet and RS232 interface possible
Configurable Special Up to 2 single phase counters with software direction and start/stop
Functionality to Digital control
Inputs in Main Unit 2 counters (inputs I00 and I03) up to 20 KHz input frequency
Up to 2 Quadrature ABZ encoder interfaces (inputs I00, I01, I02 and
I03, I04, I05) with 10 KHz input frequency
2 inputs (inputs I02 and I05) can be individually configured for
hardware input interrupt (rising/falling edge)
Above functionality with enhancement is supported for extension unit
GC-4HSXPTY when fixed in IO1 slot on the back side of Main unit
Additionally, 2 Inputs (I02 and I05) can be individually configured for
pulse catch or frequency measurement or pulse ON time
measurement function. This functionality is supported for inputs on
Main unit only.
Supports Interrupt Provides fast and predictable response to external events from the
Events field such as. Digital input interrupt, counter count match, etc
One periodic interrupt event with 0.5/ 1 ms resolution. Periodic
interrupt can be set from 0.5/ 1ms to 1250/ 2500 ms.
Up to 2 high speed counter compare interrupts
Up to 2 hardware input rising edge and falling edge interrupts
Integrated Tool with Configuration and Parameterization of Main unit and Extension units
User Friendly GUI
Special functionality configuration:
Hardware Configuration
Tool
- Counter, Encoder, Counter compare interrupt, Hardware input
interrupt, Pulse catch, Frequency measurement and Pulse On
time measurement.
Serial port parameterization and protocol configuration
Analog I/O Configuration and Handling
_________________________________Page 7 of 241__________________________________
Overview
Highlighting Features…
HMI Function
Built-in LCD Display 128 x 64 pixel graphics LCD with backlit, View size: 70.7 x 38.8 mm
White characters with blue backlit
10 keys for display navigation, data entry and user settings
- 5 user configurable function keys with local/ global operation
8 illuminated keys; keys with dual colour (Green, Red) LEDs
User Defined LCD Up to 64 user defined screens
Screens
Programmable screen actions (Entry, Display, Exit) and screen
chaining
5 fonts, single size, double size, normal/bold, normal/ Inverse
selection, blinking option
Support of Static Text and Dynamic (ASCII) Text. Text with inclusion
of special characters
Screen objects like Static Text, ASCII, Numeric, Bit, Time, Date, Time
of Day, RTC
Monitor/ modify PLC data with different data types and formats
Alphanumeric data entry
Direct access of PLC variables with symbolic name
Advanced HMI Graphical symbols (32 x 32 pixel size and 48 x 48 pixel size)
Features
Multi-language support
Custom image import to show logo, special symbol on LCD
Screen level password
Data logging in SD memory card
Function Keys 5 HMI keys F1 to F5
User configurable operation Inch/ Toggle/ GoTo Screen
Local/ Global operation
Key legend on LCD for F2, F3, F4
Built-in Status and One Key I/O Monitor
Diagnostics
System Menu for
- Monitoring system status
- Monitoring input and output status
- System diagnostics
- System settings
- Log in, log out and modify password
Integrated Tool with Fast screen definition with drag n drop objects and properties
User Friendly GUI
Assign screen actions (Entry, Display, Exit)
HMI Configuration Tool
Define screen chaining
Configurable operation for function key configuration with local/global
scope
Configurable operation for illuminated keys and control of dual-colour
LEDs
Multi-language configuration
Custom image import
Configuration of data logging using SD memory card
_________________________________Page 8 of 241__________________________________
Overview
Highlighting Features…
Illuminated Keys
Illuminated Keys 8 Illuminated keys i.e. keys with Dual colour bright LEDs
User configurable operation Inch/ Toggle/ GoTo Screen
LED control Red/Green/Yellow ON/ OFF/ Blink Slow/ Blink Fast
Multi-fold usage combined with slide-in label
- PB Station, Alarm Annunciation. Process/ Machine Mimic
Easy Customization of Insertable slide-in label over illuminated keys
Front Looks
Customizable for OEM branding.
_________________________________Page 9 of 241__________________________________
Overview
1.2 Nomenclature
GOC consists of Main unit with built-in I/Os, display, keypad and illuminated keys.
User can attach I/O extension units (up to 2) and COM extension units (up to 2) to
add I/Os and enhance functionality.
This section provides nomenclature details as below.
̶ Main unit
̶ I/O extension unit
̶ COM extension unit
̶ Main unit with extension units
6
16 6
6 5 1 6 8 12 14
15
18 17
9 2 3 4 7 10 9 11 13
16
7
1. 128 x 64 pixels LCD with backlit 9. 2 nos., 10-pins output terminal block
2. Function keys [F1 to F5] 10. IO1 slot
3. HMI keys for display navigation and settings 11. IO2 slot
4. 8 illuminated keys 12. IO slot cover
5. LED indications [POWER, RUN] 13. COM1 slot
6. Slide-in label 14. COM2 slot
7. 24 VDC supply terminal block [+24VDC, 0V, Earth] 15. COM slot cover
8. 2 nos., 10-pins input terminal block 16. Slots for mounting clamp
17. Slot projection
18. microSD Card slot
MicroSD card slot is available only on GOC Main units dispatched from June 2016.
_________________________________Page 10 of 241__________________________________
Overview
3 2 2 1 3 4
6
7
2 1 3 4
5
3
Parts Description
1. I/O terminals
2. Latch
3. Clip
4. Unit fixing screw hole
5. 8-pin fixed I/O terminal block
6. Interface connector
7. Slot position holes
8. Printed circuit board (PCB)
Back side of I/O extension unit is open. Do not touch PCB and interface connector. It may
cause damage to electronic hardware due to electrostatic discharge.
_________________________________Page 11 of 241__________________________________
Overview
1 2 2
Parts Description
1. Connector for external communication interface
9-pin D male connector for GC-232-COM
5-pin removable terminal block for GC-422-COM
RJ45 connector for GC-ENET-COM
2. Locking clip
3. Interface connector
_________________________________Page 12 of 241__________________________________
Overview
14 6
6 5 1 6 8 13
15 9 2 3 4 7 10 9 11 12
14
7
1. 128 x 64 pixels LCD with backlit 8. 2 nos., 10-pins input terminal block
2. Function keys [F1 to F5] 9. 2 nos., 10-pins output terminal block
3. HMI keys for display navigation and data entry 10. IO1 extension unit
4. 8 illuminated keys 11. IO2 extension unit
5. LED indications [POWER, RUN] 12. COM1 extension unit
6. Slide-in label 13. COM2 extension unit
7. 24 VDC supply terminal block [+, -, Earth] 14. Slot for mounting clamp
15. microSD card slot
Ensure that slot covers are fixed for unused slots of I/O extension/s as well as COM
extension/s.
microSD card slot is available only on GOC main units manufactured from June 2016.
Month and year of manufacturing can be decoded from 11 digit product serial number.
In serial number of GOC, third and fourth digit designate year of manufacturing (16 for
year 2016) and fifth digit is month of manufacturing as 1 for Jan, 2 for Feb….9 for
September and ‘A’ as October, B as November and C as December.
_________________________________Page 13 of 241__________________________________
Overview
_________________________________Page 14 of 241__________________________________
Overview
Ordering Information…
_________________________________Page 15 of 241__________________________________
Overview
Item Description
Power Input voltage 24 VDC (18 to 30 VDC ripple included), 400 mA, 9.6 Watt.
supply
Inrush current 15 Amps maximum for 6 ms duration
Fuse protection Subminiature fuse T630 mA, 250V, Type 372, Littelfuse make
Fixed internally.
Reverse polarity Protected by series diode up to 40 V
Operating temperature Operating: 0 to 55 °C Storage: -20 to 75 °C
Humidity Operating: 10 to 90 % RH, Storage: 10 to 90 % RH,
No condensation No condensation
Altitude 2000 m or less
Pollution level 2 maximum. (only non-conductive pollution)
Operating atmosphere Corrosive gas must not be present
EMC – Immunity as required by IEC 61131-2, IEC 61000-6-2
Electro Static Discharge ±8 KV Air discharge, ±4KV contact discharge
(ESD) (IEC 61000-4-2)
Electrical Fast Transient Power line: ±2 KV,
(EFT) (IEC 61000-4-4) Digital I/O: ±1 KV,
Analog and communication I/O: ±1 KV
Radiation Susceptibility 80 MHz ~ 2.7 GHz, 10 V/m to 1 V/m, 80% AM at 1 KHz
(RS) (IEC 61000-4-3)
Conducted by Radio 0.15 MHz~80 MHz,10V/m, 80% AM at 1 KHz
Frequency (CRF)
(IEC 61000-4-6)
Surge (IEC 61000-4-5) Power line: ±0.5 KV, Digital I/O : ±1 KV,
Analog and communication I/O: ±1 KV
Power Frequency Magnetic 30 A/m, 50 /60 Hz
Field (IEC 61000-4-8)
_________________________________Page 16 of 241__________________________________
Overview
General specifications…
Item Description
EMC – Emission as required by IEC 61131-2, IEC 61000-6-4
Radiated Emission 30 MHz ~ 1000 MHz
(CISPR 16-2-3):
Over voltage category II (IEC 60664-1)
The surge voltage withstand level for up to the rated
voltage of 30V is ±500 V
Vibration, Shock IEC 60068 -2-6 (test Fc),
as required by EN- 61131-2 IEC 60068-2-27 test Ea
Class of equipment Front panel mount
IP protection IP65 from front. IP20 from rare
Dimensions (W x H x D) in mm Main unit: Front panel: 177.0 (W) x 123.0 (H) x 4 (D)
Rear side: 164.5 (W) x 106.5 (H) x 38.3 (D)
Recommended I/O wires 0.5 to 1 mm² copper, stranded (flexible) or solid wire
Termination lugs For 0.5 to 1 mm² wire, insertion length 6 mm
I/O wiring
Suggested tool Flat blade screwdriver 3 mm wide, 0.4 mm thick
Approvals CE
Item Description
Execution time BOOL: 0.3 sec
BYTE/ WORD/ DWORD/ REAL/ Move: 0.3 / 0.3 / 0.1 / 0.1 μs
Number of I/O points Main unit: up to 32 digital I/Os.
Can be extended up to 48 digital I/Os.
Digital I/O status indication on LCD.
Extensions units Up to 2 I/O extension units and Up to 2 COM extension units
Marker memory 4 Kbytes
Data memory 24 Kbytes
Retain memory 1 Kbytes
700 bytes of data memory and 300 bytes of marker memory
(%MB3700 to %MB3999)
Stored in FRAM type of memory. Battery free operation.
Application program 192 Kbytes Flash (for PLC application as well as HMI application)
memory 384 Program Organization Units (POUs) maximum
POU Max size allowed is 8192 bytes
App data memory 64000 bytes Flash memory. *1
Storage of HMI specific features like Multilingual data and Data logging
configuration.
External memory Yes *2
support microSD card
_________________________________Page 17 of 241__________________________________
Overview
Technical specifications…
Item Description
Source code memory 1.5 Mbytes Flash
Stores project file with symbolic names, comments, visualization
screens , libraries (optionally)
Application program Password protection supported for
security 1. Project file/ POU read or write
2. Source code upload
Timers Number of instances (TON, TOFF, TP) can be called. Limited by
available data memory only. *3
Counter Number of instances (CTU, CTD, CTUD) can be called.
(Limited by available data memory only) *3
Real Time Clock Onboard
Super capacitor backup: 2 weeks duration nominal at 25°C
ambient
Max error: ± 2 Secs max per day
Interrupt Periodic 1, 0.5/ 1ms resolution
events Settable from 0.5/ 1 ms to 1250/ 2500 ms.
Counter Up to 2
compare for counter/encoder configuration for inputs I00 and I03
Hardware input Up to 2 Rising edge and falling edge
for configuration of input I02 and I05
Pulse ON time: 100 µsec minimum
Pulse OFF time: 2 msec minimum
Special functionality for Single phase counter: 20 KHz – Up to 2
digital inputs on Main unit Counter0: I00
(User configurable) Counter3: I03
Encoder (A, B, Z) interfaces: 10 KHz – Up to 2
Encoder1: I00 (A), I01(B), I02(Z)
Encoder3: I03 (A), I04(B), I05(Z)
Pulse catch: Up to 2, for input02 and input05
Minimum pulse width: 500 µSec.
Frequency measurement: Up to 2, for input I02 and input I05
Input Frequency: 0.1 Hz to 20 KHz
Pulse ON / OFF time: 20 µsec minimum
Accuracy: 0.5 % of full scale
Pulse ON time measurement: Up to 2, for input I02 and input I05
Pulse duration: 200 µsec to 10 Sec
Accuracy: 2.5 % of full scale
Operating Modes RUN, STOP and Bootstrap (for new firmware download)
HMI Display 128 x 64 pixel graphics LCD with backlit
*4 LCD with white characters and blue backlit
View size: 70.7 x 38.8 in mm
Keypad 10 keys for display navigation and data entry
(User configurable functionality for 5 keys; F1 to F5)
Illuminated Keys 8 illuminated keys
4 x 2 key matrix with dual colored LED (Red, Green)
Slide-in label Insertable label over illuminated keys
*3 FB instance can be declared retentive and entire instance data is retained. (limited by
available retentive memory)
*4 Even though, maximum 64 user defined screens are allowed, it is limited by application
program memory (192 Kbytes) and POU size (8192 bytes) because display related logic i.e. HMI
screen definition and key configuration is a part of application program and is available in POU
HMI_PRG.
_________________________________Page 18 of 241__________________________________
Overview
Technical specifications…
Item Description
Programming
Port Through
- Ethernet COM extension unit (GC-ENET-COM) or
- RS232 serial COM extension unit (GC-RS232-COM) fixed
in COM1 slot.
Remote operation Remote programming and online monitoring via Ethernet port
Standard IEC 61131-3
Software Windows based ‘CoDeSys’ V2.3
Languages IL, LD, FBD, SFC, ST, CFC
Debugging and Online Visualization, Forcing, Writing, Watch and Receipt for PLC
Monitoring variables.
Online change Not supported
Offline simulation Not supported
Integtated configuration tools Hardware Configuration Tool for
(with programming software Configuration and parameterization of Main Unit, I/O
CoDeSys V2.3) extension, COM extension with user friendly GUI.
Special functionality configuration:
- Counter, encoder, counter compare interrupt, hardware
input interrupt, pulse catch, frequency measurement,
pulse on time measurement
Serial port parameterization and protocol configuration
Analog I/O configuration and handling
HMI Configuration Tool for
Fast screen development with drag n drop objects and
properties
Configurable operation for function keys
Configurable operation for illuminated keys and
control of dual-colour LEDs
Screen actions and chaining
Multi-language configuration
Custom image import
Configuration of data logging using SD memory card
Firmware update Possible on field by MEI authorized personnel.
Via PC based Bootstrap utility through programming
communication port
User can have HSC functionality and Hardware input rising/ falling edge interrupt functionality
either from Main unit (channel numbers 0/3) or I/O Extension unit (channel numbers 10/13) GC-
4HSXPTY at a time.
When any special input functionality like encoder with Z input etc. (excluding functionality like
pulse catch/ frequency measurement/ pulse ON time measurement) is configured on Main unit,
user should not fix I/O extension unit GC-4HSXPTY in IO1 slot. User is informed and care is
taken during configuration using Hardware Configuration Tool.
_________________________________Page 19 of 241__________________________________
Installation and Wiring
This chapter discusses about installation and wiring of Main unit, IO extension unit
and COM extension unit. It also explains installation and removal of microSD card
in the Main unit.
18.0 7.65
164.5
177.0
42.3
1
38.3
123.0 106.5
_________________________________Page 20 of 241__________________________________
Installation and Wiring
24.5
17.5
75
51.0 45.5
25.5 42.0
26. 48.0
0
_________________________________Page 21 of 241__________________________________
Installation and Wiring
76.1
177.0 76.1
67
123.0
2.2 Installation
This section provides recommendations and precautions to be observed during
installation of various units of GOC.
_________________________________Page 22 of 241__________________________________
Installation and Wiring
Frontal of
Main unit
40
40
40 40
40
40
90
130
SD card slot is provided on right side when viewed from the backside i.e. on COM
extension slot side. Keep sufficient free space (minimum 10-15 cm) on right side for
insertion and removal of microSD card, if microSD is in use.
_________________________________Page 23 of 241__________________________________
Installation and Wiring
_________________________________Page 24 of 241__________________________________
Installation and Wiring
_________________________________Page 25 of 241__________________________________
Installation and Wiring
_________________________________Page 26 of 241__________________________________
Installation and Wiring
_________________________________Page 27 of 241__________________________________
Installation and Wiring
Do not use any other screw of different size to fix the I/O extension unit on Main unit.
Incorrect handling and installation of I/O extension unit may cause malfunctioning and/or
damage to the hardware.
_________________________________Page 28 of 241__________________________________
Installation and Wiring
_________________________________Page 29 of 241__________________________________
Installation and Wiring
_________________________________Page 30 of 241__________________________________
Installation and Wiring
Incorrect handling and installation of COM extension unit may cause malfunctioning
and/or damage to the hardware/plastic enclosure.
_________________________________Page 31 of 241__________________________________
Installation and Wiring
_________________________________Page 32 of 241__________________________________
Installation and Wiring
microSD card slot is available only on GOC main units manufactured from June 2016.
Month and year of manufacturing can be decoded from 11 digit product serial number.
In serial number of GOC, third and fourth digit designate year of manufacturing (16 for
year 2016) and fifth digit is month of manufacturing as 1 for Jan, 2 for Feb….9 for
September and ‘A’ as October, B as November and C as December.
3. After correct insertion, SD card is detected and mounted automatically. Status can
be monitored in system menu. Refer chapter ‘System menu’.
Incorrect insertion of microSD card may cause malfunctioning and/or damage to the
Main unit hardware or card itself.
_________________________________Page 33 of 241__________________________________
Installation and Wiring
Accidental removal of SD card before un-mounting may cause malfunctioning, loss of log
data and/or damage to microSD card.
_________________________________Page 34 of 241__________________________________
Installation and Wiring
2.3 Wiring
This chapter provides recommendations and precautions to be observed during
wiring of entire controller. GOC consists of Main unit, IO extension unit and COM
extension unit. For wiring of individual unit, refer subsequent chapters specific to
individual unit type and model.
2.3.1 Recommendations
Cable
Terminal block pitch size is 5.08 mm. Cable insulation
Use stranded (flexible) or solid wire of size
0.5 to 1 mm² (AWG 22 to 18). Strip Copper
insulation of stranded wire and twist the wire
strands to prevent it from spreading and 7mm
crimp the lug.
Insulation
Lug
The adjacent figure shows recommended Crimp part
size of lug.
6mm
Screw driver
Terminal block screw size is M3. For
3mm wide
tightening terminal, use flat blade screw
driver. The figure shows desired size of
screwdriver blade.
0.4mm thick
The tightening torque should not exceed
0.50 Nm.
_________________________________Page 35 of 241__________________________________
Installation and Wiring
10. 50 to 100 meter long wiring for input/output will not cause any problems of noise
but, generally, the wiring length should not exceed 30 meters to ensure the safety.
For longer distance, route the input and output signal lines separately.
11. Ensure that length of wire that connects 24 VDC power supply to I/O unit is less
than 3 meters. Locate 24 VDC power supply near to the controller.
4. Ensure that EARTH cable is thick and short as far as possible to provide low
impedance path.
5. If EARTH is not connected, it may result in electric shock or erroneous
operation.
_________________________________Page 36 of 241__________________________________
Installation and Wiring
Noise suppressors
It is extremely important to connect noise suppressors directly across all inductive
load (relays, contactors, solenoid valves, etc.) irrespective of whether it is
actuated by PLC output section or actuated externally. The inductive loads
generate strong electrical noise that may affect PLC operation.
The noise suppressor should be mounted close to the load, as a rule, should not
be away more than 0.5 meters. This helps in attenuating noise at the source it
self.
In case of resistive loads (incandescent lamps, LED lamps, heating resistors,
etc.), It is not necessary to use noise suppressors.
- ~
_________________________________Page 37 of 241__________________________________
I/O Extension Unit GC-8EX-ES
3 Main Unit
6 models of Main unit are available depending upon number of I/Os and type of
outputs.
Item Description
Number of inputs 16 for GC35MH-32MT-DS, GC35MH-32MT-DSS, GC35MH-32MR-D
8 for GC35MH-16MT-DS, GC35MH-16MT-DSS, GC35MH-16MR-D
Voltage rating 24 VDC (18 to 30 V including ripple)
Type Sink or Source in group of 4, with one common per group
ON voltage level 18 VDC minimum
OFF voltage level 5 VDC maximum
ON/ OFF Current ON current: 6 mA at 24 VDC OFF current: 3.8 mA at 24 VDC
Input impedance 5.2 KΩ
Transition delay 10 ms (filter time)
Isolation Optical 1.5 KV between input and internal circuit
1.5 KV between groups.
Nil between individual input points in a group.
I/O terminal blocks Two 10-pin, screw type removable terminal blocks for
GC35MH-32MT-DS, GC35MH-32MT-DSS and GC35MH-32MR-D
One 10-pin, screw type removable terminal block for
GC35MH-16MT-DS, GC35MH-16MT-DSS and GC35MH-16MR-D
_________________________________Page 38 of 241__________________________________
I/O Extension Unit GC-8EX-ES
_________________________________Page 39 of 241__________________________________
I/O Extension Unit GC-8EX-ES
Item Description
Number of outputs 16 for GC35MH-32MT-DS
8 for GC35MH-16MT-DS
Type of output Transistor sink type
Voltage rating 24 VDC (18 to 30 VDC including ripple)
Current rating 300 mA per point
1 common per group of 8 outputs
On voltage drop 0.6 VDC maximum
Off state leakage current 5 µA maximum
Response time OFF to ON 82 µs
ON to OFF 92 µs
Isolation Optical 1.5 KV between input and internal circuit
Protection Output short circuit protection
Fast demagnetization for inductive loads
Load supply 24 VDC (18 to 30 VDC including ripple)
Reverse polarity protection
I/O terminal blocks For GC35MH-32MT-DS, 2 nos., 10-pin terminal block,
removable screw type, located at lower side of unit.
For GC35MH-16MT-DS, 1 no., 10-pin terminal block,
removable screw type, located at left lower side of unit.
_________________________________Page 40 of 241__________________________________
I/O Extension Unit GC-8EX-ES
Item Description
Number of outputs 16 for GC35MH-32MT-DSS
8 for GC35MH-16MT-DSS
Type of output Transistor source type
Voltage rating 24VDC (18 to 30 VDC including ripple)
Current rating 300 mA per point
1 common per group of 8 outputs
Paralleling of outputs is possible
On voltage drop 0.6 VDC maximum
Off state leakage current 10 µA maximum
Response time OFF to ON 250 µs
ON to OFF 300 µs
Isolation Optical 1.5 KV between input and internal circuit
Protection Output short circuit protection
Fast demagnetization for inductive loads
Load supply 24 VDC (18 to 30 VDC including ripple)
Reverse polarity protection
I/O terminal blocks For GC35MH-32MT-DSS, 2 nos., 10-pin terminal block,
removable screw type, located at lower side of unit.
For GC35MH-16MT-DSS, 1 no., 10-pin terminal block,
removable screw type, located at left lower side of unit.
_________________________________Page 41 of 241__________________________________
I/O Extension Unit GC-8EX-ES
Item Description
Number of outputs 16 for GC35MH-32MR-D
8 for GC35MH-16MR-D
Type of output Non latching normally open (NO) contact
Electro-mechanical relay
Voltage rating 24 to 250 VAC, 47-63 Hz, 5-30 VDC
Current rating 500 mA at 250 VAC and 30 VDC per point
1.5 A per common
Minimum load 1 mA
Contact life Electrical life Refer table and Life curve *
Mechanical life min 20, 000, 000 (180 cpm)
AC 250V
COS Ø=0.4
AC 125V resistive load
DC 30V resistive load
AC 250V resistive load
Switching capacity, A
_________________________________Page 42 of 241__________________________________
I/O Extension Unit GC-8EX-ES
3.2 Wiring
Wiring of Main unit comprises of 24 VDC input supply wiring and I/O wiring.
+
-
Marked as , Power ON LED glows when proper 24 VDC input power supply is
connected and internal 5 VDC supply is generated. It is OFF if internal 5 VDC is not
generated or input power 24 VDC not connected or incoming fuse blown off.
Subminiature fuse protection (630 mA) is provided onboard to protect incoming 24 VDC
supply. This fuse is soldered on PCB internally and should not be replaced on the field. It is
recommended to connect a Miniature Circuit Breaker (MCB) of proper rating in series with
mains as additional protection and to serve as a manual isolator.
Main unit model No. of inputs No. of 10-pin terminal blocks for
input connection
GC35MH-32MT-DS 16 2
GC35MH-32MT-DSS 16 2
GC35MH-32MR-D 16 2
GC35MH-16MT-DS 8 1
GC35MH-16MT-DSS 8 1
GC35MH-16MR-D 8 1
For Main unit, 8 input points are connected to one 10-pin input terminal block. Input
terminal block/s are provided at upper side.
Unit provides; 1 common each for a group of 4 inputs. Any group can be wired for
sink or source operation independently.
Refer section Digital input sink/source operation to understand sink/ source operation,
_________________________________Page 43 of 241__________________________________
I/O Extension Unit GC-8EX-ES
The wiring diagram below shows how to connect field input devices like potential free
push buttons and limit switches for sink and source operation. The diagram also
shows connection of PNP type of switch connected for sink type of operation and
NPN type of switch connected for source type of operation.
SOURCE type input SINK type input
- + + -
24VDC 24VDC
24VDC, Digital input, Sink/Source type 24VDC, Digital input, Sink/Source type
Here, input group I00 to I03 connected for source type of operation and input group
I08 to I11 connected for sink type of operation.
Some of the input devices like proximity switches may malfunction due to inherent off state
leakage current. Ensure that proper bleeder resistor is connected as a load considering
maximum OFF current specified.
Main unit model No. of transistor No. of 10-pin terminal blocks for
outputs (sink) output connection
GC35MH-32MT-DS 16 2
GC35MH-16MT-DS 8 1
For Main unit, 8 output points are connected to one 10-pin input terminal block.
Output terminal block/s are provided at lower side. As transistor output is of sink type,
connect one end of output device to output point on terminal block and connect other
end of output device to 24 VDC load supply.
It is mandatory to connect 24 VDC output load supply as shown below.
24VDC, Transistor Output, Sink type, 300mA 24VDC, Transistor Output, Sink type, 300mA
L L L L L L L L L L L L L L L L 24VDC Load
supply
_________________________________Page 44 of 241__________________________________
I/O Extension Unit GC-8EX-ES
GC35MH-16MT-DSS 8 1
For Main unit, 8 output points are connected to one 10-pin input terminal block.
Output terminal block/s are provided at lower side. As transistor output is of source
type, connect one end of output device to output point on terminal block and connect
other end of output device to GND terminal of 24 VDC load supply.
It is mandatory to connect 24 VDC output load supply as shown below.
L L L L L L L L L L L L L L L L
24VDC Load
supply
GOC Main unit model GC35MH-32MT-DSS provides 2 output terminal blocks. Model
GC35MH-16MT-DSS provides 1 output terminal block.
_________________________________Page 45 of 241__________________________________
I/O Extension Unit GC-8EX-ES
Main unit model No. of relay outputs No. of 10-pin terminal blocks
for outputs connection
GC35MH-32MR-D 16 2
GC35MH-16MR-D 8 1
Before wiring relay outputs, refer section Guidelines for using relay output.
For Main unit, 8 outpoint points are connected to one 10-pin input terminal block.
Output terminal block/s are provided at lower side. 2 common points are provided per
10-pin output terminal block i.e. 1 common point for 4 outputs.
The figure below shows how to connect output devices to terminal block.
30VDC/250VAC, Relay Output, 500mA 30VDC/250VAC, Relay Output, 500mA
Load supply
GOC Main unit model GC35MH-32MR-D provides 2 output terminal blocks. Model
GC35MH-16MR-D provides 1 output terminal block.
_________________________________Page 46 of 241__________________________________
I/O Extension Unit GC-8EX-ES
_________________________________Page 47 of 241__________________________________
I/O Extension Unit GC-8EX-ES
Default configuration provides predefined symbolic naming for each input and output.
There is no other configuration required if user requires functionality as normal digital
input and output.
For input I00, symbolic name is _DI_MAIN_0 and address is %IX0.0.
Prefix is _DI_ and text MAIN_0 indicates that it is input I00 of Main unit.
User can change the name with fixed prefix as _DI_ e.g. _DI_CycleStart after
selecting input and clicking on respective highlight.
Similarly, symbolic names of any input and output can be changed as per application
requirement. Based on this configuration, generates a
Global Variable List which provides declaration of all the I/O points
for configured units as well as predefined variables as per the feature configured
depending of type of unit configured. Screen shot below shows I/O list for Main unit
model GC35MH-32MT-DS which provides 16 Pt. 24 VDC Digital Input, sink/source +
16 Pt. 24 VDC Transistor Output, Sink type, 300mA.
_________________________________Page 48 of 241__________________________________
I/O Extension Unit GC-8EX-ES
The table below provides the details of I/O bits related to GC35H-32MT-DS.
_________________________________Page 49 of 241__________________________________
I/O Extension Unit GC-8EX-ES
_________________________________Page 50 of 241__________________________________
I/O Extension Unit GC-8EX-ES
The list below shows declaration of predefined variables for configuration of encoder
at digital inputs I00, I01 without Z marker input.
The list below shows declaration of predefined variables for configuration of encoder
with Z marker at digital inputs I00, I01, I02.
The table below provides the details of predefined global variables related to high
speed counter/ encoder interface.
=0 for counter configuration for input I00 and encoder configuration at input I00, I01
and I02
=3 for counter configuration for input I03 and encoder configuration at input I03, I04
and I05
Single Phase Encoder Encoder Data Description
Counter Without Z With Z Type
_HSC_En _ENC_En _ENC_En BOOL If TRUE, counter starts
counting incoming pulses and
updates counter value CV.
If FALSE, counter does not
count pulses and CV holds
last counter value.
_HSC_Dir Not applicable Not applicable BOOL If TRUE, counter counts in
upward direction.
If FALSE, counter counts in
downward direction.
_HSC_Reset _ENC_Reset _ENC_Reset BOOL If TRUE, CV is reset to 0.
_HSC_Load _ENC_Load _ENC_Load BOOL If TRUE, counter value gets
modified to a value defined by
PV and CV shows modified
counter value.
_HSC_PV _ENC_PV _ENC_PV DINT If Load is TRUE, counter
value gets modified to a value
defined by PV.
Not applicable Not applicable _ENC_Z_En BOOL If FALSE, Z marker pulse is
ignored
If TRUE, counter is reset to 0
on occurrence of Z marker
pulse.
_HSC_CV _ENC_CV _ENC_CV DINT Returns counter current value
if En is TRUE. CV holds last
value as long as RUN is
FALSE.
_________________________________Page 51 of 241__________________________________
I/O Extension Unit GC-8EX-ES
The table below explains various options available for different parameters.
Parameter Options Description
Interrupt Event 1. EVENT_PERIODIC Interrupt event occurs periodically after
specified time period.
2. EVENT_IX2_R_TRIG Interrupt event occurs on rising and/or
falling edge of digital input I02
3. EVENT_IX2_F_TRIG
4. EVENT_IX5_R_TRIG Interrupt event occurs on rising and/or
falling edge of digital input I05
5. EVENT_IX5_F_TRIG
6. EVENT_HSC0_CMP Interrupt event occurs when high speed
counter value reaches target value.
7. EVENT_HSC3_CMP
8. EVENT_WARM Interrupt event occurs on particular
CPU initialization
9. EVENT_COLD
10. EVENT_BEFORE_INPUTSCAN Interrupt event occurs at particular time
slot in PLC scan.
11. EVENT_AFTER_INPUTSCAN
12. EVENT_AFTER_LOGICSCAN
13. EVENT_BEFORE_OUTPUTSCAN
14. EVENT_AFTER_OUTPUTSCAN
Priority 0 to 15 Select priority of execution in case of
occurrence of multiple interrupt events.
Priority 0 has higher precedence.
Priority should be unique for each
event.
_________________________________Page 52 of 241__________________________________
I/O Extension Unit GC-8EX-ES
_________________________________Page 53 of 241__________________________________
I/O Extension Unit GC-8EX-ES
The table below provides the details of global variables related to interrupt event
configuration.
= Name of the interrupt event configured,
Global Variables Data Type Description
_ClearInterruptQueue BOOL Clears queue of pending interrupt
events.
_HoldAllInterrupts BOOL Holds processing of all attached
interrupt events.
_Attach BOOL If TRUE, enables specified interrupt
and configured interrupt action will be
executed on occurrence of event.
If FALSE, ignores interrupt event even
if it is configured.
_ATCH_Done BOOL TRUE : Interrupt attached successfully
FALSE : Interrupt not attached
_________________________________Page 54 of 241__________________________________
I/O Extension Unit GC-8EX-ES
User can configure Pulse Catch functionality for digital input I02 and I05 by selecting
respective input from “Digital Input” configuration tab and clicking on respective
highlight.
_________________________________Page 55 of 241__________________________________
I/O Extension Unit GC-8EX-ES
User can select special input functionality as “Pulse Catch” and can set parameter
“Filter Time” in Hz with default value as 10000 µs using drop-down list.
Filter time defines minimum width of pulse to be captured. Pulses with duration less
than filter time are not captured.
Filter time options available for selection are 200 µs, 400 µs, 800 µs, 1000 µs, 2000
µs, 5000 µs and 10000 µs. Default selection is 10000 µs.
_________________________________Page 56 of 241__________________________________
I/O Extension Unit GC-8EX-ES
The table below provides the details of global variables related to pulse catch
functionality.
=2 for pulse catch configuration for input I02,
=5 for pulse catch configuration for input I05
Select respective input from “Digital Input” configuration tab and click on respective
highlight.
_________________________________Page 57 of 241__________________________________
I/O Extension Unit GC-8EX-ES
User can select “Frequency Measurement” and then set parameter “Minimum
Frequency” in Hz from 0.1 to 50 Hz. Default value as 10.0 Hz.
_________________________________Page 58 of 241__________________________________
I/O Extension Unit GC-8EX-ES
The table below provides the details of global variables related to frequency
measurement functionality configuration.
=2 for frequency measurement configuration for input I02,
=5 for frequency measurement configuration for input I05
Global Variables Data Type Description
_Frequency REAL This variable holds actual frequency of input pulses.
User can then set parameter “Pulse Timeout” in ms from 10 to 10000 ms. Default
value as 10000 ms.
_________________________________Page 59 of 241__________________________________
I/O Extension Unit GC-8EX-ES
Note: Section explains configuration and variable declaration for input I02. User can configure
input I05 in similar manner with dialogue “GC35MH-32MT-DSS_I05”.
_________________________________Page 60 of 241__________________________________
I/O Extension Unit GC-8EX-ES
This is 8 Pt. 24 VDC Digital Input extension unit. User can attach up to 2 I/O
extension units on the back side of Main unit.
4.1 Specifications
Item Description
Number of Inputs 8, 2 groups of 4 inputs each
Mode of operation Sink or source in group of 4 inputs; depends on connections
Voltage rating 24 VDC (18 to 30 V including ripple)
ON / OFF voltage ON voltage: 18 VDC minimum
OFF voltage: 5 VDC maximum
Current rating 6 mA at 24 VDC
OFF Current 3.8 mA max
Input impedance 5.2 KΩ
Transition delay 10 ms (Digital filter)
Isolation Optical 1.5 KV between input and internal bus,
1.5 KV between groups,
Nil between input points in a group.
Method of termination 2 nos. 8-pin terminal blocks, fixed, screw type
Status indication On LCD screen on Main unit
Dimensions (in mm) 61.5 (W) x 75 (H) x 24.5 (D)
Weight (in grams) 60
4.2 Wiring
I/O extension unit provides two 8-pin fixed terminal blocks for wiring I/O devices. One
is located at lower side of unit and another is located at upper side of unit.
I/O extension unit provides 2 commons; 1 common each for a group of 4 inputs.
Either group can be wired for sink or source operation independently. For an
example, the wiring diagram shows input group I00 to I03 connected for sink type of
operation and input group I04 to I07 connected for source type of operation.
Refer section Digital input sink/source operation to understand sink/ source operation.
Refer section Wiring, before wiring digital inputs to I/O extension unit.
_________________________________Page 61 of 241__________________________________
I/O Extension Unit GC-8EX-ES
The wiring diagram shows how to connect field input devices like potential free push
buttons and limit switches for sink and source operation. The diagram also shows
connection of typical proximity switch. PNP switch is connected for source type of
operation and NPN switch is connected for sink type of operation.
24 VDC
input
Sink type of supply
operation
Some of the input devices like proximity switches may malfunction due to inherent off state
leakage current. Ensure that proper bleeder resistor is connected as a load considering
maximum OFF current specified.
_________________________________Page 62 of 241__________________________________
I/O Extension Unit GC-8EX-ES
Default configuration provides predefined symbolic naming for each input. There is no
other configuration required.
For input I00, symbolic name is _DI_IOE1_0 and address is %IX12.0.
Prefix is _DI_. Text IOE1_0 indicates that unit is fixed in IO1 slot and input is I00.
User can change the name with fixed prefix as _DI_ e.g. _DI_StartPushButton
after selecting input and clicking on respective highlight.
_________________________________Page 63 of 241__________________________________
I/O Extension Unit GC-8EX-ES
Screen shot below shows Input list for GC-8EX-ES unit fixed in IO1 slot.
The table below provides the details of global variables related to GC-8EX-ES.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
The table below provides the details of I/O bits related to GC-8EX-ES.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
Address
I/O Variables Description
IO1 Slot IO2 Slot
_DI_IOE_0 %IX12.0 %IX14.0 Holds ON/OFF status of extension unit input I00
_DI_IOE_1 %IX12.1 %IX14.1 Holds ON/OFF status of extension unit input I01
_DI_IOE_2 %IX12.2 %IX14.2 Holds ON/OFF status of extension unit input I02
_DI_IOE_3 %IX12.3 %IX14.3 Holds ON/OFF status of extension unit input I03
_DI_IOE_4 %IX12.4 %IX14.4 Holds ON/OFF status of extension unit input I04
_DI_IOE_5 %IX12.5 %IX14.5 Holds ON/OFF status of extension unit input I05
_DI_IOE_6 %IX12.6 %IX14.6 Holds ON/OFF status of extension unit input I06
_DI_IOE_7 %IX12.7 %IX14.7 Holds ON/OFF status of extension unit input I07
For GC-8EX-ES, input byte %IB13 and %IB15 as well as output bytes %QB12 to
%QB15 are not used.
_________________________________Page 64 of 241__________________________________
I/O Extension Unit GC-6EYR-ES
This is 6 Pt. Relay output extension unit. User can attach up to 2 I/O extension units
on the back side of Main unit.
5.1 Specifications
Item Description
Number of Outputs 6, 2 groups of 3 outputs each
Type of output Non latching normally open (NO) contact
Electro-mechanical relay
Voltage rating 24 to 250 VAC, 47-63 Hz, 5-30 VDC
Current rating 500 mA at 250 VAC and 30 VDC per point
1.5 A per common
Minimum load 1 mA
Contact life Electrical life Refer table and Life curve*
Mechanical life min 20, 000, 000 (180 cpm)
Response time OFF to ON 10 ms
ON to OFF 5 ms
Isolation Galvanic between output and internal circuit
Dielectric strength 3 KVrms (between coil and contact circuit)
0.75 KVrms (for open contact)
Method of termination 2 nos. 8-pin terminal blocks, fixed, screw type
Status indication On LCD screen on Main unit
Dimensions (in mm) 61.5 (W) x 75 (H) x 24.5 (D)
Weight (in grams) 60
Switching capacity,
A
_________________________________Page 65 of 241__________________________________
I/O Extension Unit GC-6EYR-ES
5.2 Wiring
I/O extension unit provides two 8-pin fixed terminal blocks for wiring I/O devices. One
is located at lower side of unit and another is located at upper side of unit.
Refer section Guidelines for using relay output, before wiring relay outputs,
Refer section Wiring, before wiring output devices to I/O extension unit.
I/O extension unit provides 2 commons; 1 common each for a group of 3 relay
outputs. Unit requires external 24 VDC supply for relay coil operation. The wiring
diagram shows how to connect field output devices to the unit.
220 VAC
load supply
External fuse
protection
220 VAC
Load supply
_________________________________Page 66 of 241__________________________________
I/O Extension Unit GC-6EYR-ES
Default configuration provides predefined symbolic naming for each output. There is
no other configuration required.
For output Q00, symbolic name is _DO_IOE1_0 and address is %QX12.0.
Prefix is _DO_. Text IOE1_0 indicates that unit is fixed in IO1 slot and output is Q00.
User can change the name with fixed prefix as _DO_ e.g. _DO_MOTOR1.after selecting
output and clicking on respective highlight.
_________________________________Page 67 of 241__________________________________
I/O Extension Unit GC-6EYR-ES
Screen shot below shows output list for GC-6EYR-ES unit fixed in IO1 slot.
The table below provides the details of global variables related to GC-6EYR-ES.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot.
Data
Global Variables Description
Type
_IOEUnitState BYTE Holds current state IO Extension unit as
0: No unit is fixed in IO slot or No unit is detected in IO slot by
CPU
1: Mismatch between configured unit and attached unit in IO
slot.
2: Configured unit is detected and it is in configuration state
100: Configured unit is detected, configured successfully and is
in running condition.
The table below provides the details of I/O bits related to GC-6EYR-ES.
Address
I/O Variables Description
IO1 Slot IO2 Slot
_IOE1No24V %IX12.7 %IX12.7 Becomes TRUE if 24 VDC relay coil supply to
extension unit is absent.
_DO_IOE_0 %QX12.0 %QX14.0 Holds ON/OFF status of extension unit output Q00
_DO_IOE_1 %QX12.1 %QIX14.1 Holds ON/OFF status of extension unit output Q01
_DO_IOE_2 %QX12.2 %QX14.2 Holds ON/OFF status of extension unit output Q02
_DO_IOE_3 %QX12.3 %QX14.3 Holds ON/OFF status of extension unit output Q03
_DO_IOE_4 %QX12.4 %QX14.4 Holds ON/OFF status of extension unit output Q04
_DO_IOE_5 %QX12.5 %QX14.5 Holds ON/OFF status of extension unit output Q05
%QX12.6 %QX14.6 Not available
%QX12.7 %QX14.7 Not available
For GC-6EYR-ES, input byte %QB13 and %QB15 as well as input bytes %IB13 to
%IB15 are not used
_________________________________Page 68 of 241__________________________________
I/O Extension Unit GC-8ET-ESS
This I/O extension unit (GC-8ET-ESS) provides 4 point 24 VDC digital inputs and 4 point
24VDC transistor outputs. It allows sink or source type connections for 4 inputs and source
type of connections for 4 outputs. It can be fixed in any IO slot on the back side of Main
unit.
6.1 Specifications
Item Description
Digital Inputs (Sink/ Source type)
Number of Inputs 04
_________________________________Page 69 of 241__________________________________
I/O Extension Unit GC-8ET-ESS
General
6.2 Wiring
I/O extension unit provides two 8-pin fixed terminal blocks for wiring I/O devices. One is
located at lower side of unit is for transistor (source type) outputs and another is located at
upper side of unit is for digital (sink/ source type) inputs.
As 1 common is provided for a group of 4 inputs, all the inputs can be either connected-
for
source type of operation or sink type of operation at a time as shown in figure below.
Figure also shows connection of transistor outputs Q00 to Q03 as source type of outputs.
- + -
+ -
24VDC 24VDC
2
4
V
D
C
GC-8ET-ESS GC-8ET-ESS
24 VDC 24 VDC
Load Load
+ - + -
supply supply
Note: Similarly, GC-8ET-ESS consumes %IB14 and %QB14 when fixed in IO2 slot.
.
Default configuration provides predefined symbolic naming of each input and output. There
is no other configuration required.
For input I00, name is _DI_IOE1_0 and address is %IX12.0.
Prefix is _DI_. Text IOE1_0 indicates that unit is fixed in slot1 and input is I00. Similarly, for
output, name is _DO_Text IOE1_0 and address is %QX12.0.
Following screen shot shows I/O list for GC-8ET-ESS unit fixed in slot1.
_________________________________Page 71 of 241__________________________________
I/O Extension Unit GC-8ET-ESS
After adding, GC-8ET-ESS I/O extension unit using Hardware Configuration Tool, click on
CoDeSys tab “Resources” , then by default, following variable list can be
viewed.
The table below provides the details of global variables related to GC-8ET-ESS.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot.
_________________________________Page 72 of 241__________________________________
I/O Extension Unit GC-8ET-ESS
The table below provides the details of I/O bits related to GC-8ET-ESS.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
Address
Input Variables Description
IO1 Slot IO2 Slot
_DI_IOE_0 %IX12.0 %IX14.0 Holds ON/OFF status of extension unit input I00
_DI_IOE_1 %IX12.1 %IX14.1 Holds ON/OFF status of extension unit input I01
_DI_IOE_2 %IX12.2 %IX14.2 Holds ON/OFF status of extension unit input I02
_DI_IOE_3 %IX12.3 %IX14.3 Holds ON/OFF status of extension unit input I03
_IOENo24V %IX12.7 %IX14.7 Becomes TRUE if 24 VDC supply to extension unit is
absent.
Output Address
Description
Variables IO1 Slot IO2 Slot
_DO_IOE_0 %QX12.0 %QX14.0 Holds ON/OFF status of extension unit output Q00
_DO_IOE_1 %QX12.1 %QIX14.1 Holds ON/OFF status of extension unit output Q01
_DO_IOE_2 %QX12.2 %QX14.2 Holds ON/OFF status of extension unit output Q02
_DO_IOE_3 %QX12.3 %QX14.3 Holds ON/OFF status of extension unit output Q03
_________________________________Page 73 of 241__________________________________
I/O Extension Unit GC-4AD-12
This is 4 Channel analog voltage/current input extension unit that provides 12-bit
resolution. User can attach up to 2 I/O extension units on the back side of Main unit.
7.1 Specifications
Item Description
4 channels voltage/current, differential, non-isolated, 12-bit
Number of inputs
resolution
Input types Voltage Current
(individual channel is
software configurable) 0 to 10 VDC -10 to 10 VDC 0 to 20 mA 4 to 20 mA
Output data 0 to 4000 -2000 to 2000 0 to 4000 0 to 4000
1-bit resolution 3 mV 6 mV 6 µA 6 µA
Overall accuracy At 25°C ±0.4 ±0.4 ±0.5 ±0.5
(% of full scale)
*1 At 55°C ±0.6 ±0.6 ±0.7 ±0.7
Input impedance 1 MΩ 250 Ω
Unit updation time Channel data updation = Controller scan time x Number of
(Depends on no. of avg. averaging samples.
samples or digital filter time
constant but in synchronization
Channel data updation = Controller scan time + (Digital Filter
with PLC scan) Time Constant*5) minimum
Absolute maximum input ±30 VDC/ 30 mA
Isolation No isolation
Method of termination 2 nos. 8-pin terminal blocks, fixed, screw type
Status indication On LCD screen
Dimensions (in mm) 61.5 (W) x 75 (H) x 24.5 (D)
Weight (in grams) 60
_________________________________Page 74 of 241__________________________________
I/O Extension Unit GC-4AD-12
7.2 Wiring
I/O extension unit provides 3 terminals per channel Vin, Iin and C.
Voltage input is connected between terminals Vin and C.
Current input is connected between terminals Iin and C with Vin and Iin connected
together externally.
Refer section Wiring, before wiring analog input sensors to I/O extension unit.
For current input, make sure to connect terminals Vin and Iin together.
It is recommended to use 2-core shielded twisted pair cable for carrying analog signal.
Connect cable shield at extension unit end directly to a good quality earth in the control
panel. It is recommended to keep cable shield at sensor end unconnected.
The Earthing resistance should be 100 Ω or less.
For unused channels, connect Vin and C terminals together.
The wiring diagram shows how to connect field input devices to unit. For an example,
channel 0 and 1 are connected to voltage input and channel 2 and 3 are connected to
current input.
Connecting
current input
Connecting
V V voltage input
+ +
_________________________________Page 75 of 241__________________________________
I/O Extension Unit GC-4AD-12
It provides default configuration and user can change it as per application requirement
by selecting channel and clicking on respective highlight.
_________________________________Page 76 of 241__________________________________
I/O Extension Unit GC-4AD-12
The dialogue below shows Analog Input configuration for individual channel.
The table below provides the details of configuration required for analog input
channel.
Parameters Options Description
Analog Input configuration
Enable Checkbox checked Analog input channel is enabled.
Checkbox unchecked Analog input channel is disabled. *1
Name _AI_IOE_00 to The variable with user defined symbolic name holds
_AI_IOE_03 analog input channel data. These global variables
(= _AI_IOE_00 to _AI_IOE_03 are declared in
1 for unit fixed in IO1
slot Global Variable List if
2- for unit fixed in IO2 respective channel is enabled.
slot) User can change the name with fixed prefix as
_AI_ e.g. _AI_TemeperatureZone1.
*1 For unused channel, ensure that channel inputs Vin and C are connected together.
_________________________________Page 77 of 241__________________________________
I/O Extension Unit GC-4AD-12
_________________________________Page 78 of 241__________________________________
I/O Extension Unit GC-4AD-12
The table below provides the details of global variables related to GC-4AD-12.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
_________________________________Page 79 of 241__________________________________
I/O Extension Unit GC-4AD-12
_________________________________Page 80 of 241__________________________________
I/O Extension Unit GC-4AD-12
The table below provides the details of I/O bits related to GC-4AD-12.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
Address
I/O Variables Description
IO1 Slot IO2 Slot
_IOECH0OK %IX12.0 %IX14.0 TRUE:
_IOECH1OK %IX12.1 %IX14.1 - Respective channel is enabled and healthy.
FALSE:
_IOECH2OK %IX12.2 %IX14.2
- Respective channel is disabled.
_IOECH3OK %IX12.3 %IX14.3 - Enabled channel has invalid configuration.
- Open circuit detected for input type 4 to 20mA
_IOEADCFault %IX12.6 %IX14.6 ADC fault is detected on unit.
_IOECH0Enable %QX12.0 %QX14.0 TRUE
_IOECH1Enable %QX12.1 %QX14.1 - Enable respective channel through Hardware
Configuration Tool.
_IOECH2Enable %QX12.2 %QX14.2
FALSE:
_IOECH3Enable %QX12.3 %QX14.3 - Disable respective channel through Hardware
Configuration Tool.
_________________________________Page 81 of 241__________________________________
I/O Extension Unit GC-4DA-12
This is 4 Channel analog voltage/current output extension unit that provides 12-bit
resolution. User can attach up to 2 I/O extension units on the back side of Main unit.
8.1 Specifications
Item Description
Number of outputs 4 channels voltage/current, non-isolated, 12-bit resolution
Output types Voltage Current
(individual channel is
software configurable) 0 to 10 VDC -10 to +10 VDC 0 to 20 mA 4 to 20 mA
Input data 0 to 4000 -2000 to 2000 0 to 4000 0 to 4000
1-bit resolution 5 mV 2.5 mV 5 µA 5 µA
Overall At 25°C ±0.3 ±0.3 ±0.3 ±0.3
accuracy
(% of full scale) At 55°C ±0.4 ±0.4 ±0.4 ±0.4
Load > 5 KΩ 0 to 500 Ω
Unit updation time In sync with output scan
Output settling time 2 ms
Isolation No isolation
Output protection Short circuit protection for voltage output
Unit supply 24 VDC (18 to 30 VDC including ripple)
Method of termination 2 nos. 8-pin terminal blocks, fixed, screw type
Status indication On LCD screen
Dimensions (in mm) 61.5 (W) x 75 (H) x 24.5 (D)
Weight (in grams) 60
8.2 Wiring
I/O extension unit provides 3 terminals per channel Vo, Io and C. Voltage output is
generated between terminals Vo and C. Whereas current output is generated between
terminals Io and C.
Refer section Wiring, before wiring analog output devices to I/O extension unit.
It is recommended to use 2-core shielded twisted pair cable for carrying analog signal.
Connect cable shield at extension unit end directly to a good quality earth in the control
panel. It is recommended to keep cable shield at sensor end unconnected.
The Earthing resistance should be 100 Ω or less.
_________________________________Page 82 of 241__________________________________
I/O Extension Unit GC-4DA-12
The wiring diagram shows how to connect field output devices to extension unit. For an
example, channel 0 and 1 are configured for voltage output and channel 2 and 3 are
configured for current output.
Using current
output
Using voltage
output
+ V + V
_________________________________Page 83 of 241__________________________________
I/O Extension Unit GC-4DA-12
It provides default configuration and user can change it as per application requirement
by selecting channel and clicking on respective highlight.
The dialogue below shows Analog Output configuration for individual channel.
_________________________________Page 84 of 241__________________________________
I/O Extension Unit GC-4DA-12
The table below provides the details of configuration required for analog output
channel.
Parameters Options Description
Analog Output configuration
Enable Checkbox checked Analog output channel is enabled.
Checkbox unchecked Analog output channel is disabled.
Name _AO_IOE_00 to The variable with user defined symbolic name holds
_AO_IOE_03 analog output channel data. Global variables
(= _AO_IOE_00 to _AO_IOE_03 are declared in
1 for unit fixed in IO1 slot
2 for unit fixed in IO2 slot) global variable list if respective
channel is enabled.
User can change the name with fixed prefix as
_AO_ e.g. _AO_Velocity.
Output Type Voltage 0 to 10V(Default) Selection for type of output as per application
Voltage -10V to 10V requirement.
Current 0 to 20mA
Current 4 to 20mA
Enable Scaling Checkbox unchecked Channel data (hold by global variables
_AO_IOE_00 to _AO_IOE_03) can have value
as per basic resolution
e.g. 0 to 4000 to generate 0 to 10 VDC for output
type 0 to 10VDC.
Checkbox checked Channel data (hold by global variables
_AO_IOE_00 to _AO_IOE_03) scaling to
engineering units as per user defined values of Min
and Max.
Engineering Default value is 0 Enter channel data value necessary to generate
Scaling Min - 0V output for output type 0 to 10VDC
- -10V output for output type -10 to 10VDC
- 0mA output for output type 0 to 20mA
- 4mA output for output type 4 to 20mA
Engineering Default value is 100 Enter channel data value necessary to generate
Scaling Min - 10V output for output type 0 to 10VDC, -10 to
10VDC
- 20mA output for output type 0 to 20mA, 4 to
20mA
_________________________________Page 85 of 241__________________________________
I/O Extension Unit GC-4DA-12
The table below provides the details of global variables related to GC-4DA-12.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
_________________________________Page 87 of 241__________________________________
I/O Extension Unit GC-4DA-12
The table below provides the details of I/O bits related to GC-4DA-12.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
Address
I/O Variables Description
IO1 Slot IO2 Slot
_IOECH0OK %IX12.0 %IX14.0 TRUE:
_IOECH1OK %IX12.1 %IX14.1 - Respective channel is enabled and healthy.
FALSE:
_IOECH2OK %IX12.2 %IX14.2
- Respective channel is disabled.
_IOECH3OK %IX12.3 %IX14.3 - Enabled channel has invalid configuration.
- Open circuit or short circuit detected at output
_IOENo24V %IX12.7 %IX14.7 TRUE:
- Unit supply absent
- Unit supply polarity reversed
- Unit supply below specified 18 VDC
_IOECH0Enable %QX12.0 %QX14.0 TRUE
_IOECH1Enable %QX12.1 %QX14.1 - Enable respective channel through Hardware
Configuration Tool.
_IOECH2Enable %QX12.2 %QX14.2
FALSE:
_IOECH3Enable %QX12.3 %QX14.3 - Disable respective channel through Hardware
Configuration Tool.
_________________________________Page 88 of 241__________________________________
I/O Extension Unit GC-4UAD-10
Item Description
4 channels voltage/current/ 3-wire PT100 (385),
Number of inputs
single ended, non-isolated, 10-bit resolution
Input types Voltage Current 3-Wire PT100
(Configurable through DIP
switch setting on unit 0 to 10 VDC 0 to 20 mA -50 to 150°C
backside)
Output data 0 to 1000 0 to 1000 -50.0 to 150.0
1-bit Resolution 10 mV 20 µA 0.24°C
Overall accuracy At 25°C ±0.3 ±0.3 ±0.4
(% of full scale)
*1 At 55°C ±0.4 ±0.4 ±1.5
CH1 CH0
_________________________________Page 89 of 241__________________________________
I/O Extension Unit GC-4UAD-10
For any other undefined settings of DIP switch, for all input types (3-wire PT100, voltage,
current) channel data holds maximum count of respective configured input type
User should ensure that DIP switch settings are set as per input type configuration
through Hardware Configuration Tool. In case of mismatch or invalid setting, channel
data behavior will be as explained in the table below
Input Type configuration DIP Switch Behaviour of analog input
through Tool setting channel
0 to 10V Current [0 to 20 mA] Channel data holds minimum count of
configured input type
PT 100 [-50° to 150°C] Channel holds maximum count of
configured input type
Any other setting
0 to 20mA Voltage [0 to 10 VDC] Channel holds minimum count of
configured input type
PT 100 [-50° to 150°C] Channel holds maximum count of
configured input type
Any other setting
3-wire PT 100 Current [0 to 20 mA] Channel holds minimum count of
[-50° to 150°C] configured input type
Voltage [0 to 10 VDC]
Any other setting Channel holds maximum count of
configured input type
_________________________________Page 90 of 241__________________________________
I/O Extension Unit GC-4UAD-10
9.2 Wiring
I/O extension unit provides 4 terminals per channel CS, V, I and C.
1. Voltage input is connected between V and C.
2. Current input is connected between I and C.
3. 3-wire PT100 sensor is connected between V and C with lead compensation
cable connected to CS.
The wiring diagram shows how to connect field input devices to I/O extension unit.
For an example, channel 0 is connected to voltage input, channel 2 is connected to
current input and channel 3 is connected to 3-wire PT100 sensor.
Refer section Wiring, before wiring analog input sensors to I/O extension unit.
It is recommended to use 2-core shielded twisted pair cable for carrying analog signal.
For analog sensors, PT100 sensors, use cable provided/recommended by the sensor
manufacturer. Follow the recommendations provided by sensor manufacturer
Connect cable shield at I/O extension unit end directly to a good quality earth. It is
recommended to keep cable shield at sensor end unconnected.
The Earthing resistance should be 100 Ω or less.
Connecting 3
wire PT100
Connecting Connecting
Voltage Input Current Input
+ V
For PT100 [-50 to 150°C] type of input, sensor is connected between terminals V and C with
lead compensation cable connected to CS.
If user connects voltage/ current input to CS terminal, then it damages connected input
channel.
_________________________________Page 91 of 241__________________________________
I/O Extension Unit GC-4UAD-10
_________________________________Page 92 of 241__________________________________
I/O Extension Unit GC-4UAD-10
The dialogue below shows Analog Input configuration for individual channel.
The table below provides the details of configuration required for analog input
channel.
Parameter Options Description
Analog Input configuration
Enable Checkbox checked Analog input channel is enabled.
Checkbox unchecked Analog input channel is disabled.
Name _AI_IOE_00 to The variable with user defined symbolic name holds
_AI_IOE_03 analog input channel data. Global variables
(= _AI_IOE_00 to _AI_IOE_03 are declared in
1 for unit fixed in IO1 slot
2 for unit fixed in IO2 slot) global variable list if respective
channel is enabled.
User can change the name with fixed prefix as
_AI_ e.g. _AI_TemeperatureZone1.
_________________________________Page 93 of 241__________________________________
I/O Extension Unit GC-4UAD-10
_________________________________Page 94 of 241__________________________________
I/O Extension Unit GC-4UAD-10
The table below provides the details of global variables related to GC-4UAD-10.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
_________________________________Page 95 of 241__________________________________
I/O Extension Unit GC-4UAD-10
The table below provides the details of I/O bits related to GC-4UAD-10.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
Address
I/O Variables Description
IO1 Slot IO2 Slot
_IOECH0OK %IX12.0 %IX14.0 TRUE:
_IOECH1OK %IX12.1 %IX14.1 - Respective channel is enabled and healthy.
FALSE:
_IOECH2OK %IX12.2 %IX14.2
- Respective channel is disabled.
_IOECH3OK %IX12.3 %IX14.3 - Enabled channel has invalid configuration.
- Open circuit for PT100 sensor
_IOECH0Enable %QX12.0 %QX14.0 TRUE
_IOECH1Enable %QX12.1 %QX14.1 - Enable respective channel through Hardware
Configuration Tool.
_IOECH2Enable %QX12.2 %QX14.2
FALSE:
_IOECH3Enable %QX12.3 %QX14.3 Disable respective channel through Hardware
Configuration Tool.
_________________________________Page 96 of 241__________________________________
I/O Extension Unit GC-4UAD-10E
CH1 CH0
_________________________________Page 97 of 241__________________________________
I/O Extension Unit GC-4UAD-10E
For any other undefined settings of DIP switch, for all input types (3-wire PT100, voltage,
current) channel data holds maximum count of respective configured input type
User should ensure that DIP switch settings are set as per input type configuration
through Hardware Configuration Tool. In case of mismatch or invalid setting, channel
data behavior will be as explained in the table below
Input Type configuration DIP Switch Behaviour of analog input
through Tool setting channel
0 to 10V Current [0 to 20 mA] Channel holds minimum count for
configured input type
PT 100 [-50° to 450°C] Channel holds maximum count for
configured input type
Any other setting
0 to 20mA Voltage [0 to 10 VDC] Channel holds minimum count for
configured input type
PT 100 [-50° to 450°C] Channel holds maximum count for
configured input type
Any other setting
3-wire PT 100 Current [0 to 20 mA] Channel holds minimum count for
[-50° to 450°C] configured input type
Voltage [0 to 10 VDC]
Any other setting Channel holds maximum count for
configured input type
_________________________________Page 98 of 241__________________________________
I/O Extension Unit GC-4UAD-10E
10.2 Wiring
I/O extension unit provides 4 terminals per channel CS, V, I and C.
1. Voltage input is connected between V and C.
2. Current input is connected between I and C.
3. 3-wire PT100 sensor is connected between V and C with lead compensation
cable connected to CS.
The wiring diagram shows how to connect field input devices to I/O extension unit.
For an example, channel 0 is connected to voltage input, channel 2 is connected to
current input and channel 3 is connected to 3-wire PT100 sensor.
Refer section Wiring, before wiring analog input sensors to I/O extension unit.
It is recommended to use 2-core shielded twisted pair cable for carrying analog signal.
For analog sensors, PT100 sensors use cable provided/recommended by the sensor
manufacturer. Follow the recommendations provided by sensor manufacturer
Connect cable shield at I/O extension unit end directly to a good quality earth. It is
recommended to keep cable shield at sensor end unconnected.
The Earthing resistance should be 100 Ω or less.
Connecting 3 wire
PT100
Connecting Connecting
Voltage Input Current Input
+ V
For PT100 [-50 to 450°C] type of input, sensor is connected between terminals V and C with
lead compensation cable connected to CS.
If user connects voltage/ current input to CS terminal, then it damages connected input
channel.
_________________________________Page 99 of 241__________________________________
I/O Extension Unit GC-4UAD-10E
The dialogue below shows Analog Input configuration for individual channel.
The table below provides the details of configuration required for analog input
channel.
Parameter Options Description
Analog Input configuration
Enable Checkbox checked Analog input channel is enabled.
Checkbox unchecked Analog input channel is disabled.
Name _AI_IOE_00 to The variable with user defined symbolic name holds
_AI_IOE_03 analog input channel data. Global variables
(= _AI_IOE_00 to _AI_IOE_03 are declared in
1 for unit fixed in IO1 slot
2 for unit fixed in IO2 slot) global variable list if respective
channel is enabled.
User can change the name with fixed prefix as
_AI_ e.g. _AI_TemeperatureZone1.
The table below provides the details of global variables related to GC-4UAD-10E.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
The table below provides the details of I/O bits related to GC-4UAD-10E.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
Address
I/O Variables Description
IO1 Slot IO2 Slot
_IOECH0OK %IX12.0 %IX14.0 TRUE:
_IOECH1OK %IX12.1 %IX14.1 - Respective channel is enabled and healthy.
FALSE:
_IOECH2OK %IX12.2 %IX14.2
- Respective channel is disabled.
_IOECH3OK %IX12.3 %IX14.3 - Enabled channel has invalid configuration.
- Open circuit for PT100 sensor
_IOECH0Enable %QX12.0 %QX14.0 TRUE
_IOECH1Enable %QX12.1 %QX14.1 - Enable respective channel through Hardware
Configuration Tool.
_IOECH2Enable %QX12.2 %QX14.2
FALSE:
_IOECH3Enable %QX12.3 %QX14.3 Disable respective channel through Hardware
Configuration Tool.
11.2 Wiring
I/O extension unit provides 4 terminals per channel RT+, RT-, VI+ and VI-.
1. Voltage input is connected between VI+ and VI-.
2. Current input is connected between VI- and RT-, along with short link between
terminals VI+ and RT-.
3. 3-wire PT100/ PT1000 sensor is connected between RT+ and RT- along with
lead compensation wire connected to VI-.
4. Thermocouple/ mVolts input is connected between RT+ and RT-.
The wiring diagram shows how to connect field input devices to I/O extension unit.
For an example, channel 0 is connected to voltage input, channel 1 is connected to
current input, channel 2 is connected to 3-wire PT100 sensor and channel 3 is
connected to thermocouple input.
Refer section Wiring, before wiring analog input sensors to I/O extension unit.
It is recommended to use 2-core shielded twisted pair cable for carrying analog signal.
For sensors especially for thermocouple and PT100/ PT1000, use cable provided/
recommended by the sensor manufacturer. Follow the recommendations provided by
sensor manufacturer.
Connect cable shield at I/O extension unit end directly to a good quality earth. It is
recommended to keep cable shield at sensor end unconnected.
The Earthing resistance should be 100 Ω or less.
It is recommended to use thermocouple with isolated tip. Accuracy will be hampered, if
non isolated type of thermocouple element is used and if it gets connected to improper
earth.
Ensure that input signal is connected to relevant terminals as per configured input type.
Unit may get damaged with wrong connections.
+ _
Connecting Connecting
Voltage Input Current Input
V _
+
Figure 24: Wiring GC-4UAD-16
_________________________________Page 106 of 241__________________________________
I/O Extension Unit GC-4HSXPTY
The table below provides the details of configuration required for analog input
channel.
Parameter Options Description
Analog Input configuration
Enable Checkbox checked Analog input channel is enabled.
Checkbox unchecked Analog input channel is disabled.
Name _AI_IOE_00 to The variable with user defined symbolic name holds
_AI_IOE_03 analog input channel data. Global variables
(= _AI_IOE_00 to _AI_IOE_03 are declared in
1 for unit fixed in IO1 slot
2 for unit fixed in IO2 slot) global variable list if respective
channel is enabled.
User can change the name with fixed prefix as _AI_
e.g. _AI_TemeperatureZone1.
Input Type Voltage: 0 to 10Vdc Selection for type of input as per application
(Default) requirement.
-10 to +10Vdc
-100 to +100mV
Current:
0 to 20mA
4 to 20mA
PT100:
200 to 600°C
-200 to 250°C
PT1000 : -200 to 250°C
Thermocouple:
J type
K type
Filter type No Filter Selection for signal conditioning by software
Averaging
Digital Filter (Default)
Number of 4, 8, 16, 32 Selection for number of samples for moving average.
Samples Channel data updation = Controller scan time x
Number of averaging samples.
Apply averaging for slowly varying analog input signal
Time Constant Default value 50 ms Enter digital filer time constant value from 10 to 5000
ms
Channel data updation = Controller scan time + (Time
Constant*5).
Apply digital filter for analog input signal with
erroneous fast variations.
Scaling Enable Checkbox unchecked Channel data holds value as per basic resolution
e.g. 0 to 64000 if input signal is 0 to 10 VDC for input
type 0 to 10VDC.
Checkbox checked Channel data scaling to engineering units as per user
defined values of Min and Max.
User defined Engineering Scaling is not supported for
thermocouple and 3-wire PT100/ PT1000 input types.
Engineering Default value=0 Enter channel data value as per the application
Scaling Min requirement.
- 0 for input type 0 to 10VDC
- -100 for input type ±10VDC, ±100mV
- 0 for input type 0 to 20mA, 4 to 20mA
Engineering Default value=100 Enter channel data value as per the application
Scaling Max requirement.
- 100 for input types 0 to 10VDC, ±10VDC, ±100mV,
for input type 0 to 20mA, 4 to 20mA
Sensor Fault/ 0 (Default) Applicable for thermocouple, 4 to 20mA and
Open circuit Minimum Value 3-wire PT100/ 1000 input types.
Value Defines value of channel data in case if sensor fault
Maximum Value
is detected at input channel *1
Last Value
Minimum value and maximum depends upon
Engineering scaling selected.
*1 Sensor fault detection is provided for thermocouple, 4 to 20mA and 3-wire PT100/ 1000 input types
Sensor fault is detected in case if sensor is open/ gets disconnected/ in case of malfunctioning.
Extended Settings
Enable Checked : Extended channel If checked, enables status reading for all
extended status reading enabled channels.
channel status Unchecked : Extended Channel status read from unit is available in
reading channel status reading global variable array _IOEChannelStatus.
disabled
Status reading Every scan (Default) Defines channel status reading interval.
rate 100ms
1000ms
The table below provides the details of global variables related to GC-4UAD-16.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
0 to 20mA 0 to 64000
4 to 20mA 0 to 64000
User defined setting for “Engineering Scale” is applicable only for voltage and current input
types. (i.e. 0 to 10Vdc, ±10Vdc, ±100 mV, 0 to 20mA and 4 to 20mA input types).
Note: CJC data i.e. terminal temperature is updated when any channel is configured for
any input type.
The table below provides the details of I/O bits related to GC-4UAD-16.
=1 for unit fixed in IO1 slot, =2 for unit fixed in IO2 slot,
Address
I/O Variables Description
IO1 Slot IO2 Slot
_IOECH0OK %IX12.0 %IX14.0 TRUE:
_IOECH1OK %IX12.1 %IX14.1 - Respective channel is enabled and healthy.
FALSE:
_IOECH2OK %IX12.2 %IX14.2
- Respective channel is disabled.
_IOECH3OK %IX12.3 %IX14.3 - Enabled channel has invalid configuration.
- Open circuit for PT100/ PT1000 sensor,
thermocouple and, 4 to 20mA input types.
Note: In module memory, CJC data gets updated for any input channel irrespective of
input type configuration. It is recommended to consider CJC count for
thermocouple input type configuration only.
This I/O extension unit (GC-4HSXPTY) provides 2 Ch. High Speed Counter/Encoder,
24VDC Sink/Source type inputs and 2 Ch. Pulse Train Output differential type
outputs. It can be fixed only in IO1 slot on the backside of Main unit.
12.1 Specifications
Item Description
High Speed Counter
No of Channels 2
Specifications of GC-4HSXPTY…
Item Description
Z Input
Z INTERRUPT EVENT
EVENT_IX12_R_TRIG, Interrupt event execution on rising edge of Z pulse for
EVENT_IX15_R_TRIG input I02, input I05.
EVENT_IX12_F_TRIG, Interrupt event execution on falling edge of Z pulse for
EVENT_IX15_F_TRIG input I02, input I05.
Pulse Train Output
No of Channels 2
Current 40 mA max
Pulse output: P1+, P1- for Ch1, P2+, P2- for Ch2
Direction output: D1+, D1- for Ch1, D2+, D2- for Ch2
Output Terminals
1 no. at upper side for input
8-pin terminal block
(fixed, screw type) 1 no. at lower side for output
User can have HSC functionality and Hardware input rising/ falling edge interrupt
functionality either from Main unit (channel numbers 0/3) or I/O Extension unit (channel
numbers 10/13) at a time.
When any functionality is configured on Main unit, user should not fix I/O Extension unit
GC-4HSXPTY in IO1 slot. User is informed and care is taken during configuration using
Hardware Configuration Tool.
12.2 Wiring
I/O extension unit provides two 8-pin fixed terminal blocks for wiring I/O devices. One
is located at lower side of unit is for pulse train outputs (Differential type 5 VDC) and
another is located at upper side of unit is for high speed (sink/ source type) inputs.
I/O extension unit provides 1 common for a group of 3 inputs. For an example, as
shown below in figure the wiring diagram shows inputs I00 to I02 connected for Sink
and Source type of operation..
At output side, load is connected between differential outputs P1+, P1- for pulse
output and between D1+, D1- for direction output.
The wiring diagram shows how to connect field input devices like sink and source
operation.
Sink Type Interface (PNP type of input) Source Type Interface (NPN type of input)
+ - - +
24VDC 24VDC
GC-4HSXPTY GC-4HSXPTY
Avoid short circuit at pulse train output. It may damage hardware permanently
Default configuration i.e. Digital Input, provides predefined symbolic naming of each
input.
For input I00, name is _DI_IOE1_0 and address is %IX12.0.
Prefix is _DI_. Text IOE1_0 indicates that unit is fixed in IO1 slot and input is I00.
Based on this configuration, integrated tool generates
Global Variable List, which provides declaration of all inputs for
configured unit.
After adding, GC-4HSXPTY I/O extension unit to IO1 slot, click on CoDeSys tab
“Resources” , then by default, following variable list can be viewed.
Global
Data Type Description
Variables
_IOE1UnitState BYTE Holds current state IO Extension unit as
0: No unit is fixed in IO slot or No unit is detected in IO
slot by CPU
1: Mismatch between configured unit and attached unit in
IO slot.
2: Configured unit is detected and it is in configuration
state
100: Configured unit is detected, configured successfully
and is in running condition.
The table below provides the details of I/O bits related to GC-4HSXPTY.
Address
I/O Variables Description
IO1 Slot
_DI_IOE1_0 %IX12.0 Holds ON/OFF status of extension unit input I00
_DI_IOE1_1 %IX12.1 Holds ON/OFF status of extension unit input I01
_DI_IOE1_2 %IX12.2 Holds ON/OFF status of extension unit input I02
_DI_IOE1_3 %IX12.3 Holds ON/OFF status of extension unit input I03
_DI_IOE1_4 %IX12.4 Holds ON/OFF status of extension unit input I04
_DI_IOE1_5 %IX12.5 Holds ON/OFF status of extension unit input I05
User can have HSC functionality and Hardware input rising/ falling edge interrupt
functionality either from Main unit (channel numbers 0/3) or I/O Extension unit (channel
numbers 10/13) at a time.
When any functionality is configured on Main unit, user should not fix I/O Extension unit
GC-4HSXPTY in IO1 slot. User is informed and care is taken during configuration using
Hardware Configuration Tool.
User can configure counter functionality for digital input I00 and I03 by selecting
respective input from digital input configuration tab and clicking on respective
highlight.
The list below shows declaration of predefined variables for configuration of single
phase counter with software direction control.
The list below shows declaration of predefined variables for configuration of single
phase counter with hardware direction control.
The list below shows declaration of predefined variables for configuration of encoder
at digital inputs I00, I01 without Z marker input.
The list below shows declaration of predefined variables for configuration of encoder
with Z marker at digital inputs I00, I01, I02.
The table below provides the details of predefined global variables related to high speed counter/ encoder interface.
=10 for counter configuration for input I00 and encoder configuration at input I00/A1, I01/B1 and I02/Z1
=13 for counter configuration for input I03 and encoder configuration at input I03/A2, I04/B2 and I05/Z2
Single Phase Single Phase Encoder Encoder Data Description
Counter with Counter with Without Z With Z Type
Software Direction Hardware Direction
_HSC_En _HSC_En _ENC_En _ENC_En BOOL If TRUE, counter starts counting incoming pulses and
updates counter value CV.
If FALSE, counter does not count pulses and CV holds
last counter value.
_HSC_Dir Not applicable Not applicable Not applicable BOOL If TRUE, counter counts in upward direction.
If FALSE, counter counts in downward direction.
_HSC_Reset _HSC_Reset _ENC_Reset _ENC_Reset BOOL If TRUE, CV is reset to 0.
_HSC_Load _HSC_Load _ENC_Load _ENC_Load BOOL If TRUE, counter value gets modified to a value defined
by PV and CV shows modified counter value
_HSC_PV _HSC_PV _ENC_PV _ENC_PV DINT If Load is TRUE, counter value gets modified to a value
defined by PV.
Not applicable Not applicable Not applicable _ENC_Z_En BOOL If FALSE, Z marker pulse is ignored
If TRUE, counter is reset to 0 on occurrence of Z marker
pulse.
_HSC_CV _HSC_CV _ENC_CV _ENC_CV DINT Returns counter current value if En is TRUE. CV holds
last value as long as RUN is FALSE
The table below explains various options available for different parameters.
Parameter Options Description
Interrupt EVENT_IX12_R_TRIG Interrupt event occurs on rising and/or falling edge of
Event digital input I02
EVENT_IX12_F_TRIG
EVENT_IX15_R_TRIG Interrupt event occurs on rising and/or falling edge of
digital input I05
EVENT_IX15_F_TRIG
EVENT_HSC10_CMP Interrupt event occurs when high speed counter
value reaches target value.
EVENT_HSC13_CMP
Priority 0 to 15 Select priority of execution in case of occurrence of
multiple interrupt events.
Priority 0 has higher precedence. Priority should be
unique for each event.
The table below provides the details of global variables related to interrupt event
configuration.
= Name of the interrupt event configured, # HSC number 10/13,
Data Description
Global Variables
Type
_ClearInterruptQueue BOOL Clears queue of pending interrupt events.
_HoldAllInterrupts BOOL Holds processing of all attached interrupt events.
_Attach BOOL If TRUE, enables specified interrupt and configured
interrupt action will be executed on occurrence of
event. If FALSE, ignores interrupt event even if it is
configured.
_ATCH_Done BOOL Holds status of interrupt attach command. This is read
only variable.
TRUE : Interrupt attached successfully,
FALSE : Interrupt not attached.
_HSC#SetCompareValue BOOL Applicable only for interrupt event EVENT_HSC#_CMP
If TRUE, respective high speed counter compare value
is set to value defined by _HSC#CompareValue .
_HSC#CompareValue DINT Applicable only for interrupt event
EVENT_HSC#_CMP.
Holds value for high speed counter comparison and
this value is set when Boolean variable
_HSC#SetCompareValue is TRUE.
_OPMASK BYTE Displays which outputs are updated on occurrence of
selected interrupt event. This is set by hardware
configuration tool based on interrupt configuration
done.
_OPSET BYTE Displays output states to be updated on occurrence of
selected interrupt event. This is set by hardware
configuration tool based on interrupt configuration
done.
MC_MoveAbsolute
MC_MoveRelative
Motion
MC_MoveVelocity
MC_Stop
MC_ReadActualPosition
MC_ReadBoolParameter
Administrative MC_ReadParameter
MC_WriteBoolParameter
MC_WriteParameter
MC_Inch
Derived
Position_Profile
This is RS232 serial communication extension units. User can attach up to 2 I/O
extension units on the back side of Main unit.
13.1 Specifications
Item Description
No. of serial ports 1
Hardware interface RS232C
Signals TxD, RxD, GND, Carrier detect *1
Baud rate (bps) 9600, 19200, 38400, 57600, 115200
Communication Data bits 7, 8
parameters Parity Odd, Even, None
Stop bits 1, 2
Communication type Full duplex or half duplex
Connector type 9-pin D male
Isolation No isolation from main circuit
Dimensions (in mm) 26.0 (W) x 51.0 (H) x 48.0 (D)
Weight (in grams) 40
*1 RS/CS control is not supported
13.2 Wiring
This is 1 port RS232 serial communication unit. It provides 9-pin D male connector on
its front side.
The figure below shows front view of COM extension unit with connection details.
Tighten both screws on 9-pin D female connector to avoid malfunctioning due to loose
connections.
Do not try to pull out communication cable connector before un-tightening 2 screws. It may
cause damage to the electronic hardware /plastic enclosure of COM extension unit.
9-pin D male
Connector
1 Carrier Detect
NC 6
2 RxD
NC 7
3 TxD
Reserved 8
4 NC
NC 9
5 GND
It provides default configuration and user can change it as per application requirement
by selecting parameter and clicking on respective highlight.
The dialogue below shows General and Extended Parameters for RS232 serial com
extension unit.
The table below provides the details of parameters required for RS232 serial com
extension unit.
Parameters Options Description
General
Baud Rate 9600, 19200, 38400, Baud rate in bps
57600, 115200
Data Bits 8, 7 Number of data bits
Parity Odd, None, even Parity
Stop Bits 1, 2 Number of stop bits
Communication Half Duplex, Full Duplex Communication mode as half duplex or full duplex.
Mode
Extended
Transmit Delay 0 to 255 ms (5 ms Hold value of delay in msec between transmission
default) and last reception.
Receive Delay 0 to 255 ms (3 ms Holds value of expected minimum inter frame delay
default) in msec during reception. This helps in deciding
start of a new frame especially for binary protocols
like Modbus RTU. Any byte received after an
interval greater than Rx_Delay is considered as a
start of frame.
FB ReceiveByte Ex returns data and status (like
start of frame, frame error, parity error) of received
byte.
TimeOut 0 to 60000 ms (250 ms Timeout in reception of expected response. If
default) expected numbers of bytes are not received before
elapse of TimeOut period, then TimeOut Error is
declared for built-in protocols like Modbus RTU
Master and Master retries.
For custom protocols, user can program suitable
logic.
Retry Count 0 to 255 (1 default) Number of retries to be executed in case of
communication error. Applicable for Master FB.
The table below provides the details of global variables related to GC-RS232-COM.
=1 for unit fixed in COM1 slot, =2 for unit fixed in COM2 slot,
The table below provides the details of I/O bits related to GC-RS232-COM.
=1 for unit fixed in COM1 slot, =2 for unit fixed in COM2 slot,
Address
I/O Variables Description
IO1 Slot IO2 Slot
_COMPortOpen %IX4.0 %IX6.0 TRUE: Port is opened with defined
communication parameters.
FALSE: Port is not opened.
_COMTxBufEmpty %IX4.1 %IX6.1 TRUE: Transmission not on /Completed /
Transmit buffer empty
FALSE: Transmission on.
_COMTxBufOVF %IX4.2 %IX6.2 TRUE: Transmit buffer overflow. Number of byte
to be transmitted exceeding 255.
FALSE: Transmit buffer not overflow.
_COMRxBufEmpty %IX4.3 %IX6.3 TRUE: Receive buffer not empty. User can read
received bytes from receive buffer by executing
FB ReceiveByte/ ReceiveByteEx
FALSE: Receive buffer empty
_COMRxBufOVF %IX4.4 %IX6.4 TRUE: Receive buffer overflow. Number of byte
to be not read from system buffer is exceeding
255 so extra bytes received are lost. Ensure
that received bytes are read by executing FB
ReceiveByte/ ReceiveByteEx at proper interval.
FALSE: Receive buffer not overflow
_COMCD %IX4.7 %IX6.7 Becomes TRUE if carrier detect signal from
modem is ON.
_COMReset %QX4.0 %QX6.0 Reset and restart communication function on
rising edge of output bit.
_COMClrTxBuff %QX4.1 %QX6.1 Clear transmit buffer on rising edge of output bit.
_COMClrRxBuff %QX4.2 %QX6.2 Clear receive buffer on rising edge of output bit.
14.1 Specifications
Item Description
No. of serial ports 1
Hardware interface RS422/ 485, depending upon external connections
Signals Transmit+, Transmit-, Receive+, Receive-, Ground
For RS485 interface,
D+ connect signals ‘Transmit+’ and ‘Receive+’ together
on terminal block
D - connect signals ‘Transmit+’ and ‘Receive+’ together
on terminal block
User can connect terminating resistors externally as
applicable.
Communication Baud rate (bps) 9600, 19200, 38400, 57600, 115200
parameters Data bits 7, 8
Parity Odd, Even, None
Stop bits 1, 2
Communication type Full duplex or half duplex
Connector type 5-pin removable terminal block
Isolation No isolation from main circuit
Dimensions (in mm) 26.0 (W) x 51.0 (H) x 51.2 (D)
Weight (in grams) 40
14.2 Wiring
COM extension unit provides 5-pin removable terminal block on its front side. The
figure below shows front view of COM extension unit with connection details.
It provides default configuration and user can change it as per application requirement
by selecting parameter and clicking on respective highlight.
The dialogue below shows General and Extended Parameters for RS422 serial com
extension unit.
The table below provides the details of parameters required for RS422 serial com
extension unit.
Parameters Options Description
General
Baud Rate 9600, 19200, 38400, Baud rate in bps
57600, 115200
Data Bits 8, 7 Number of data bits
Parity Odd, None, even Parity
Stop Bits 1, 2 Number of stop bits
Mode RS485, RS422 Physical interface RS485 or RS422
Communication Half Duplex, Full Duplex Communication mode as half duplex or full duplex
Mode (not applicable for RS485).
Extended
Transmit Delay 0 to 255 ms (5 ms default) Hold value of delay in msec between transmission
and last reception.
Receive Delay 0 to 255 ms (3 ms default) Holds value of expected minimum inter frame delay
in msec during reception. This helps in deciding
start of a new frame especially for binary protocols
like Modbus RTU. Any byte received after an
interval greater than Rx_Delay is considered as a
start of frame.
FB ReceiveByte Ex returns data and status (like
start of frame, frame error, parity error) of received
byte.
TimeOut 0 to 60000 ms (250 ms Timeout in reception of expected response. If
default) expected numbers of bytes are not received before
elapse of TimeOut period, then TimeOut Error is
declared for built-in protocols like Modbus RTU
Master and Master retries.
For custom protocols, user can program suitable
logic.
Retry Count 0 to 255 (1 default) Number of retries to be executed in case of
communication error. Applicable for Master FB.
The table below provides the details of global variables related to GC-RS422-COM.
=1 for unit fixed in COM1 slot, =2 for unit fixed in COM2 slot,
The table below provides the details of I/O bits related to GC-RS422-COM.
=1 for unit fixed in COM1 slot, =2 for unit fixed in COM2 slot,
Address
I/O Variables Description
IO1 Slot IO2 Slot
_COMPortOpen %IX4.0 %IX6.0 TRUE: Port is opened with defined
communication parameters.
FALSE: Port is not opened.
_COMTxBufEmpty %IX4.1 %IX6.1 TRUE: Transmission not on /Completed /
Transmit buffer empty
FALSE: Transmission on.
_COMTxBufOVF %IX4.2 %IX6.2 TRUE: Transmit buffer overflow. Number of byte
to be transmitted exceeding 255.
FALSE: Transmit buffer not overflow.
_COMRxBufEmpty %IX4.4 %IX6.3 TRUE: Receive buffer not empty. User can read
received bytes from receive buffer by executing
FB ReceiveByte/ ReceiveByteEx
FALSE: Receive buffer empty
_COMRxBufOVF %IX4.5 %IX6.4 TRUE: Receive buffer overflow. Number of byte
to be not read from system buffer is exceeding
255 so extra bytes received are lost. Ensure
that received bytes are read by executing FB
ReceiveByte/ ReceiveByteEx at proper interval.
FALSE: Receive buffer not overflow
_COMReset %QX4.0 %QX6.0 Becomes TRUE if carrier detect signal from
modem is ON.
_COMClrTxBuff %QX4.1 %QX6.1 Reset and restart communication function on
rising edge of output bit.
_COMClrRxBuff %QX4.2 %QX6.2 Clear transmit buffer on rising edge of output bit.
This is Ethernet communication extension units. User can attach 1 unit in COM1 slot
for programming purpose (i.e. CoDeSys) or Modbus TCP communication and CC-
Link IEF Basic interface (Master or slave).
Modbus TCP server or CC-Link IEF Basic (master or slave) protocol can be
configured by programming function blocks.
15.1 Specifications
15.1.1 Specifications: GC-ENET-COM
Item Description
Number of Ethernet ports 1*
Physical Level 10/100 Base-TX
Connector type RJ45 female, shielded
Auto crossover Yes
Cable type Category 5e or higher
STP (Shielded Twisted Pair) or UTP (Unshielded Twisted Pair),
Max. cable distance 100 meters
Application level 1. Controller programming protocol or
Modbus TCP server by programming FB MBUSTCP_Server in
application program.
2. CC-Link IEF Basic master by programming FB
CCLIEFBasic_Master_Config in application program or
CC-Link IEF Basic slave by programming FB
CCLIEFBasic_Slave_Config in application program
No. of simultaneous 2
connections
Diagnostics Green and Yellow LEDs (On RJ45 connector)
Isolation 1500 Vac / 1 minute
Dimensions (in mm) 26.0 (W) x 51.0 (H) x 42.2 (D)
Weight (in grams) 40
Item Description
No. of simultaneous 1 (either CoDesys or single Modbus TCP client at a time)
connections
Buffer memory 260 bytes transmit buffer and 260 bytes receive buffer
Modbus commands Function Code Meaning
supported 01 Read Coil Status
05 Force Single Coil
15 Force Multiple Coils
02 Read Input Status
04 Read Input registers
03 Read Holding Registers
06 Preset Single Register
16 Preset Multiple Registers
23 Read/Write Multiple Registers
Modbus TCP server protocol can be configured using function blocks provided in
GOCUtil library.
Following function block is supported to configure GOC as a Modbus TCP server.
1. FB MBUSTCP_Server
User can either connect programming software CoDeSys or Modbus TCP client at a
time.
Refer “ED-2002-541_GOCUtil_LibraryManual.pdf” for more details of usage.
Item Description
Station type Master station
Number of stations 4 maximum.
Ensure that total number of occupied stations does not exceed 4.
e.g. if user connects 1 slave device then it can occupy up to 4
stations. If user connects 4 slave devices, each can occupy only 1
station.
IO Data Size Depends on number of stations occupied
No. of occupied stations RX RY RWr
1 64 bit 64 bit 32 word
2 128 bit 128 bit 64 word
3 192 bit 192 bit 96 word
4 256 bit 256 bit 128 word
Communication protocol UDP
Port number No. 61450 (Cyclic data)
CC-Link IEF Basic master protocol can be configured using function blocks provided in
GOC35 library.
Following function blocks are supported to configure GOC as a master station.
1. FB CCLIEFBasic_Master_Config
2. FB CCLIEFBasic_Master_Diag
3. FB CCLIEFBasic_Slave_Info
User can configure GOC as CC-Link IEF Basic master or slave at a time.
Refer “ED-2002-540_GOC35_LibraryManual.pdf” for more details of usage.
Item Description
Station type Slave station
Number of occupied stations 1-4 stations (user configurable)
IO Data Size Depends on number of stations occupied
No. of occupied stations RX RY RWr
1 64 bit 64 bit 32 word
2 128 bit 128 bit 64 word
3 192 bit 192 bit 96 word
4 256 bit 256 bit 128 word
Communication protocol UDP
Port number No. 61450 (Cyclic data)
No. 61451 (Node Search and IP Address Set dedicated for
CC-Link IE Field Network Basic)
CC-Link IEF Basic functionality can be configured using function blocks provided in
GOC35 library.
Following function blocks are supported to configure GOC as a slave station.
1. FB CCLIEFBasic_Slave_Config
2. FB CCLIEFBasic_Slave_Diag
User can configure GOC as CC-Link IEF Basic master or slave at a time.
Refer “ED-2002-540_GOC35_LibraryManual.pdf” for more details of usage.
15.2 IP address
Ethernet port is assigned with default IP address so that the use of Ethernet port is
possible. The table below shows network parameters those are factory settings. These
parameters can be changed using system menu screen.
IP Address 192.168.15.1
Subnet Mask 255.255.255.0
15.3 Wiring
COM extension unit provides RJ45 female connector on its front side. The figure
below shows front view of COM extension unit with connection details.
If Ethernet cable is removed while CoDeSys is logged-in to the controller, CoDeSys provides
message as Communication Error (#0): Log Out performed. If connection is restored
immediately, CoDeSys takes 25 sec to Login again.
It is recommended to keep Communications timeout (Project Options Desktop
Communications timeout) in CoDeSys > 4 secs to download/ upload source code through
Ethernet COM extension unit via LAN. Timeout may need to be increased depending on data
traffic in the LAN or internet.
Default time out of 2.2 sec works fine if PC is connected to the controller directly.
User can configure Modbus RTU slave or master protocol for serial com extension
unit (GC-RS232-COM, GC-RS422-COM) fixed in any COM (COM1, COM2) slot.
For Modbus RTU slave functionality, user has to assign a station number. It provides
default station number as 1 and user can change it as per application requirement by
selecting parameter and clicking on respective highlight.
Screen shot below shows default variable list for Modbus RTU Slave protocol
configured for unit fixed in COM2 slot.
The table below provides the details of global variables related to Modbus RTU slave
protocol.
=1 for unit fixed in COM1 slot, =2 for unit fixed in COM2 slot,
Click ‘Slave Devices’ tab from configuration pane and click icon in upper left
corner. Add Station dialogue opened as
The table below provides the details of configuration required for Modbus scan
record.
The table below provides the details of global variables related to Modbus RTU
master protocol.
=1 for unit fixed in COM1 slot, =2 for unit fixed in COM2 slot,
RTU_RecStruc Structure
Main unit provides 2 LED indications and LCD display on front panel to provide status
and diagnostic information useful for troubleshooting. GOC provides system menu
screen that provides more information.
*1 When CPU is in STOP mode, LCD screen shows system menu SYSTEM INFO.
For more details, refer section System Info
CPU goes in Stop mode permanently, when input supply falls below 18 VDC but
above 10 VDC. It continues in Stop mode even though input supply is recovered
above 18 VDC for safety purpose. Blinking ^ LED associated with Home key, indicates
this condition. To recover the system, it is necessary to power cycle the Main unit.
Refer section System Variables, for more details of system variables.
IP
SUBNET
GATEWAY
MAC ID
DISPLAY SETUP
BACKLIT TIME
CONTRAST
LANGUAGE SETUP
SD CARD
SD CARD STATUS
DATA LOGGING
From any user screen, press and hold for 3 sec time duration, display will show
SYSTEM MENU screen.
System Menu is available even when CPU is in stop mode due to any reason. During
source code download / upload, LCD screen is not updated.
Note:
In menu screen, symbol < located at top left corner, indicates that user can go to previous
menu by pressing Back key. Symbol > located at top right corner, indicates that user
can go to next menu by pressing Next key.
_________________________________Page 146 of 241__________________________________
Status and Diagnostics
User Screen
Long press
Refer section Real Time Clock to know the steps to modify RTC time and date values
using HMI keys. When time and date entered is out of range, screen shows Error
message momentarily as below.
17.2.2.2 IP Set Up
User can monitor and modify IP address, subnet mask and gateway address if
Ethernet COM extension unit is attached at COM1 slot. User can monitor MAC
address also. These settings are stored in Ethernet COM extension unit itself.
User Screen
Long press
User Screen
Long press
Refer section HMI Keys to know the steps to modify display parameter values using HMI
keys.
Modify settings as required and press Enter key to store settings.
User Screen
Long press
17.2.2.5 SD Card
This section of system menu shows status of SD card and Data logging.
In SD card status screen allows user to check status of SD card, total memory
available on SD card and free memory in percentage of total memory.
From SD card screen user can un-mount SD card by pressing F3 key.
Data Logging screen allows user to monitor status of data logging, logging file name
and number of records logged in current logging file.
User Screen
Long press
17.2.3.1 Log In
User can assign different passwords for different levels. Follow the steps below to
login to a particular level.
User Screen
Long press
Refer section PSW Modify to know the steps to enter password level and password value
using HMI keys.
User can modify individual digit. Selected digit is displayed and all other digits are masked
by *.
Enter correct level and password and press Enter key to complete login.
User Screen
Long press
After password login, if user does not carry any key operation for 3 minutes duration,
then password is logout automatically.
User can login one password level at a given time. Whenever user login any
password level, previously login level is logout.
User Screen
Long press
Refer section Log In to know the steps to enter password level and enter current password
and new password using HMI keys.
User can enter individual digit of password. Selected digit is displayed and all other digits are
masked by *.
If current password for selected level is not matched after entry, message ‘CURPSW
Invalid’ is displayed momentarily.
If new password and confirm password does not match, then message ‘Failed’ is
displayed momentarily.
18 Programming
GOC Toolkit is used for programming of the controller. Installation of GOC toolkit
installs following components on your computer
IEC61131-3 compatible programming software CoDeSys V2.3
Integrated tool Hardware Configuration Tool
Integrated tool HMI Configuration Tool
User documentation
The purpose of integrated tools is to make GOC features easy to use and reduce
application program development time. Tools provide user friendly GUI to configure
and parameterize various controller features as per the application requirement.
Integrated tool Hardware Configuration is used for
Configuration and parameterization of Main unit and Extension units
Special functionality configuration for digital inputs on main unit which includes high speed
counter, Encoder, counter compare interrupt, hardware input interrupt, pulse catch etc.
Serial port parameterization and protocol configuration : Assigning Modbus RTU slave/
master protocol and generating query list for Modbus RTU master
Analog I/O configuration and handling which includes selecting analog I/O type, filtering and
engineering scaling, etc
Integrated tool HMI Configuration is used for
Fast screen definition with drag n drop objects and selecting object properties
Assign screen actions (Entry, Display, Exit)
Define screen chaining
Configurable operation for function key configuration with local/global scope
Configurable operation for illuminated keys and control of dual-colour LEDs
Thus, GOC offers single programming platform for programming PLC function and
HMI function.
Tools create PROGRAM type of POUs and global variable list in CoDeSys application
program and configures relevant tasks as shown below.
Use programming software from ‘GOC Toolkit CD’. This CD is available for purchase with
ordering code ‘GC-TOOLKIT’.
For software installation guidelines refer ‘ ED-2002-118 Installation and Start-up guideline
for GOC Tool Kit’.
18.1 Set up
Programming is possible through COM extension unit GC-ENET-COM (Ethernet
interface) and GC-232-COM (serial RS232 interface) installed in COM1 slot on the
backside of the controller. Refer installation Manual PD-2002-106 GOC Main Unit
(GC35MH-□□M□-D□) Installation Manual.
Ethernet
RS232
Select ‘GOC target from Configuration drop down list and click on OK button as
GOC35 Tm.n (Here, ‘m’ is 1 and ‘n’ is 0) as shown below.
New POU’ window is popped up for program type POU ‘PLC_PRG’. Select language
of POU and click on OK button.
Ladder program
Message window
Ensure that setting Dump symbol entries and Dump XML symbol table are checked
Also ensure that Online Simulation Mode is not selected.
Save project with suitable name for file.
User can then invoke integrated tools like Hardware Configuration Tool and HMI
User can configure Hardware like Main unit, I/O extension units and COM extension
units.
Tool box provides necessary units and user can drag n drop units and parameterize it
as per application requirement as shown below
Parameterization of
selected unit
Once basic application program with sequence of operation for machine or process is
ready, user can develop screens for LCD display, configure user functionality for HMI
keys (F1 to F5) and illuminated keys.
Once application code download is complete, <Project Name>_App. Data file which
consists of data like multilingual object data is downloaded.
User has to download source code at appropriate time (e.g. application program
development is completed up to desired level). Source code is a compressed project
file that consists of application project with project information like comments,
symbolic names, libraries (optional), etc. If source code is downloaded to the
controller, it can be uploaded and retrieved.
Click on Yes button to download source code to the controller that may take
considerable time depending upon size of source code. Downloading of source
code is mandatory.
19 Controller Memory
When programming a PLC and HMI, it is important to understand the different types
of memory available and how to access it. In GOC, two types of memory is used;
RAM (volatile memory) and Flash (permanent memory). RAM type of memory holds
PLC variable data (input, output, marker, data and system variable) whereas Flash
type of memory holds application program code, source code and application data.
The table below shows utilization of RAM and Flash memory.
* User can declare some part of marker memory and data memory as retentive as per
application need. Retentive data is stored in FRAM.
%MXmmmm.n
% denotes fixed Bit position within byte.
memory address It can be 0 to 7.
The figure below shows memory mapping and significance of BOOL, BYTE, WORD
and DWORD data type for marker memory as an example.
Bit addressing
7 6 5 4 3 2 1 0
0000 ↕%MB0 %MW0 %MD0
0001 ↕%MB1
0002 ↕%MB2 %MW2 %MD2
0003 ↕%MB3
%MX3999.0
%MX3999.1
%MX3999.7
Points to remember
1. In GOC, memory mapping is byte wise. All the 8 bits (0 to 7) within a byte can be
addressed.
2. When memory is addressed as word, then two consecutive bytes are accessed.
Byte at start address is lower byte and next byte is higher byte. Memory words
can be accessed only with even address e.g. %MW0, %QW2, %MW4 and not
%IW1, %MW3.
3. When memory is addressed as double word, then two consecutive words (i.e.
four consecutive bytes) are accessed. Word at start address is lower word and
next word is higher word. Memory double words can be accessed only with even
address e.g. %ID0, %QD2, %MD4, %MD3996 and not %ID1, %QD3, %MD3991.
4. Addressing double words like %MD2, %MD4 in same application program will
certainly overlap 2 bytes (%MB4 and %MB6 in this case) and should be avoided.
%IX31.0 to %IX31.7
Input BYTE I B %IB0, %IB1, %IB2 to %IB31
Input WORD I W %IW0, %IW2, %IW4 to %IW30
Input DWORD I D %ID0, %ID4, %ID8 to %ID28
%QX0.0 to %QX0.7
%QX1.0 to %QX1.7
Output BOOL Q X
%QX31.0 to %QX31.7
Output BYTE Q B %QB0, %QB1, %QB2 to %QB31
Output WORD I W %QW0, %QW2, %QW4 to %QW30
Output DWORD I D %QD0, %QD4, %QD8 to %QD28
%MX0.0 to %MX0.7
%MX1.0 to %MX1.7
Marker BOOL M X
%MX3999.0 to %MX3999.7
Marker BYTE M B %MB0, %MB1, %MB2 to %MB3999
Marker WORD M W %MW0, %MW2, %MW4 to %MW3998
Marker DWORD M D %MD0, %MD2, %MD4 to %MD3996
Retained data is stored in FRAM type of memory. Cold initialization resets entire
memory (including retentive memory) to 0 or user defined initial value.
Points to remember
1. User can define PLC variable as retentive using keyword VAR RETAIN. Local as
well as global variable can be declared as retentive.
e.g.
VAR RETAIN
Data1: WORD;
END_VAR
Here, variable declared with symbolic name Data1 is retained.
2. Marker memory form %MB3700 to %MB3999 is retained by default if user accesses
it directly by marker memory address (and not declared with some symbolic
name). Whereas remaining marker memory from %MB0 to %MB3699 is cleared at
warm initialization.
3. If any variable with symbolic name is mapped at marker memory address from
%MB3700 to %MB3999, it is cleared at warm initialization if declared as shown
below
VAR
Data1 AT%MW3700: WORD;
END_VAR
To retain this variable, user has to declare it as retentive as below
VAR RETAIN
Data1 AT%MW3700: WORD;
END_VAR
4. Any variable mapped outside specified marker memory is not retained even
though declared as retentive.
e.g.
VAR RETAIN
Data10 AT%MW1000: WORD;
Op2 AT%QB2: BYTE;
END_VAR
Here, variables Data10 and Op2 will not be retained.
5. If user declares function block instance as retentive, then the complete instance of
the function block (all the data of function block instance) is retained.
e.g.
VAR RETAIN
T1: TON;
END_VAR
If instance T1 of ON delay timer TON is declared as retentive, then 15 bytes of
data memory is retained.
6. During application program compilation, programming software ‘CoDeSys’ checks
PLC variables declared by symbolic name (and not mapped at I/Q/M memory) for
retained size limit of 700 bytes. If retained size exceeds 700 bytes, it displays
compilation error as
Error 3802: <POU Name>(<line number>): Out of retain memory. Variable
‘<name>’, <number> bytes
But for PLC variables mapped at marker memory (as well as for input and output
memory), it does not check for retained size limit of 300 bytes. It does not display
any compilation error for user mistake.
Points to remember
1. Application program code (boot project) is not retrievable i.e. cannot be uploaded as
‘CoDeSys’ project file.
2. CoDeSys downloads application program code in flash memory. In case of unresolved
external POUs (POUs in external library those are not supported by CPU firmware),
CoDeSys prompts programmer at the end of download and PLC remains in STOP mode
indicating memory error. At this point, programmer must download a valid application
program code and put PLC in RUN mode.
Instead if programmer recycles PLC power, PLC may start executing application
code containing unresolved external POUs and may malfunction.
Application Data
64000 bytes of memory is reserved for application specific data that contains
information of multilingual data objects and configuration information of data logging
using SD memory card. HMI Configuration Tool creates application data file named
as ‘<ProjectName>_App.dat’.
This data is downloaded in continuation with application program download. This data
cannot be uploaded back from controller. However app data is recreated by HMI
configuration tool once tool is opened from uploaded CoDeSys project.
Download of application data to controller can be enabled / disabled by following
setting in target setting
Points to remember
1. Download source code is mandatory so that entire application project remains with GOC
main unit and can be retrieved later on whenever required.
2. Programmer can restrict unauthorized uploading of source code by programming read
protection password and write protection password.
3. During source code download / upload, HMI LCD screen is not updated.
4. During Update OS or downloading New OS using PC based Bootstrap utility, application
program code (User Ladder Code) can be erased as per choice but source code cannot
be erased.
The block diagram below shows CoDeSys menu commands to download and upload
application program.
GOC has a built-in real time clock (RTC).Clock time resolution is 1 sec.Clock time
updation rate is 500 ms. RTC is backed up by super capacitor and back up time is 2
weeks nominal at 25⁰C ambient.RTC error is ±2 Secs maximum per day.
If RTC is currupted due to loss of back up or due to any reason, then it is initialized to
date of January 1, 1970 and time of 00H:00M:00S:00MS. In such case user has to
ensure that super capacitor back up is restored and proper value of RTC is set again.
In case of RTC error, system variable bit _SysvarRTC.BRTCInvalid is set and
RTC Status is displayed in system info screen from system menu. Also, system
variable _SysvarCPU.WSTATUS.4 is set to indicate RTC error status.
Current clock time is available in system variables structure _SysvarRTC as shown in
the table below and can be referred in the application program.
GOC35 library supports various functions to read from and write to Real Time Clock
through application program as shown below.
Description
Returns RTC Date in IEC data type DATE format
Returns RTC Date and TOD in IEC data type format
Returns RTC Time in IEC data type TOD format
Writes new Date to RTC
Writes new Date and TOD to RTC
Writes new TOD to RTC
Refer ED-2002-540 GOC35 library manual to know more about usage of such
functions in the application program.
Additionally, user can set and monitor Real Time Clock on HMI LCD. System menu
provides the screen as shown below.
User Screen
Long press
Refer chapter Status and Diagnostics for more details related to system menu which
displays system status and dignostic information and allows settings of few system
parameters.
In case of RTC error due to loss of super capacitor back up, below screen is
dispalyed for 5 Sec duration after power ON.
GOC main unit and I/O extension unit GC-4HSXPTY provides high speed inputs. By
default, these inputs function as general purpose digital inputs. These inputs can be
configured for different modes of counter operations. The numbering of counters and
different modes of operation with maximum frequency allowed as well as necessary
program blocks is explained in the table below.
For Main Unit (channel numbers 0 and 3):
Inputs I00 I01 I02 I03 I04 I05
Description
RESET
5 4
4 3 1
Count 3 1 2 1 3
CV 2 1 1 1 2
1 0 1
1 0 -2
1
At rising edge (OFF to ON) at input, count increments by 1 if counting direction set is
FALSE. At rising edge (OFF to ON) at input, count decrements by 1 if counting
direction set is TRUE.
Counter current value is reset to 0 as long as Reset is TRUE.
RESET
Hardware
I00,I03
DIR I01, I04Hardware
DIR I01, I04 5 4
I00,I03
4 3 1
1 5 2 4 3
1
2 4 1 3 1 1 2
1 3 1 2 1 3 1
Count 2 1 1 1 2 0 -2
CV 1 0 1 1
Count 1 0 -1-2
CV 1
-1
RESET
I00/I03
A phase
I01/I04
B phase
11
11
5
5
Count
1 0
CV
1 0
-3
-4
At rising edge (OFF to ON) as well as falling edge (ON to OFF) at A phase and at
rising edge (OFF to ON) as well as falling edge (ON to OFF) at B phase, count
increments by 1 if A phase is leading B phase.
At rising edge (OFF to ON) as well as falling edge (ON to OFF) at A phase and at
rising edge (OFF to ON) as well as falling edge (ON to OFF) at B phase,count
decrements by 1 if A phase is lagging B phase.
Counter current value is reset to 0 as long as Reset is TRUE.
RESET
Z_En
I02/I05
Z pulse
I00/I03
A phase
I01/I04
B phase
12
6
5
Count 1
0
CV
-1
On occurrence of Z, Current value CV is
reset if Z_EN is active
If RUN is TRUE, counter starts counting. If RUN is FALSE, counter does not count
and counter current value CV holds last value.
At rising edge (OFF to ON) as well as falling edge (ON to OFF) at A phase and at
rising edge (OFF to ON) as well as falling edge (ON to OFF) at iB phase, count
increments by1 if A phase is leading B phase.At rising edge (OFF to ON) as well as
falling edge (ON to OFF) at A phase and at rising edge (OFF to ON) as well as falling
edge (ON to OFF) at B phase,count decrements by 1 if A phase is lagging B
phase.Counter current value is reset to 0 as long as Reset is TRUE.
If user enables Z action then counter current value gets reset to 0 on occurrence of Z
pulse. It remains 0 as long as Z marker pulse in ON.
User can modify counter current value at any time and counter starts counting from
modified value afterwards.
22 Interrupt Events
In the design of a real time system, the designer requires flexible and configurable
control over the execution of different Program Organization Units (POUs) of the
application program. Program type POU PLC_PRG is executed in freewheeling
mode. Some POUs may get executed cyclically after predefined time interval. For
some POUs, execution can be in response to the particular high priority interrupt
event which is non-cyclic. Interrupt event can be periodic timer interval elapse,
hardware input changing its state, high speed counter value matching the preset
value, etc. Interrupt events require immediate action. It stops normal freewheeling
execution called as PLC scan, performs specific POU execution, returns back to
suspended point and resumes from the point where normal freewheeling execution
was interrupted.
GOC supports several interrupt events through Main unit or I/O extension unit GC-
4HSXPTY. In case of multiple interrupt events, execution needs to be prioritized.
Such interrupt events are queued and executed one by one depending upon the
priority.
1
No. of periodic interrupt
Event number ENUM
events
1 EVENT_PERIODIC
Resolution _EVENT_BPERIODIC_RESOLUTION
EVENT_PERIODIC
POU execution
2
Main unit
4
Main unit
User can have HSC functionality and Hardware input rising/ falling edge interrupt
functionality either from Main unit (channel numbers 0/3) or I/O Extension unit (channel
numbers 10/13) at a time.
When any functionality is configured on Main unit, user should not fix I/O Extension unit
GC-4HSXPTY in IO1 slot. User is informed and care is taken during configuration using
Hardware Configuration Tool.
23 microSD Memory
All the Main units are equipped with a microSD card slot on its right side wall (i.e. on the
side of COM extension slot) when looking from the backside. Refer section ‘Data
Logging’ for more information on usage of SD memory card.
23.1 SD Card
microSD cards with following specifications can be used
Item Description
Type Micro SD card
SD Card Standard SDHC
Speed Class Supported Class 4 (4MB/S) , Class 6 (6MB/S) , Class 10 (10MB/S)
Memory Capacity 4GB to 32GB *1
File System FAT32 *2
SD card Dimentions 11 x 15 x 1.0 mm
For optimum performance, make sure that SD card installed is not more than 80% full.
Regularly check free space on SD card to avoid data loss. Make sure that entire SD card
memory is available for GOC use and no unnecessary files are present on card.
Do not remove the microSD card before manually un-mounting SD card when Main unit is
power is ON. Accidental removal of SD card may lead to corruption of files. Refer section
‘System Menu’ for un-mounting procedure.
Status and diagnostic information for microSD card is provided in ‘System Variables’ and in
‘System Menu’. Refer respective chapters for more details.
In few situations, after accessing SD from PC, card may take few minutes time for mounting
on first insertion.
Status and diagnostic information for microSD card is provided in ‘System Variables’ and in
‘System Menu’. Refer respective chapters for more details.
While GOC is accessing to microSD card, do not remove the microSD card or power off the
GOC. Failure to do so may cause microSD card failures or malfunctions. The file system on
SD card may get corrupt in such cases.
Status of SD card access is provided in card status in system variable ‘_SysvarSDCard.
bCardStatus’. Refer section ‘System Variables’ for more details.
It is advised to disable data logging before GOC power is switched off.
Do not try to edit folders/ files created while accessing files from PC using card reader.
While retrieving files from SD card, copy them from SD card and paste them to local drive of
your computer.
In few situations SD card may take several minutes of time for mounting on first insertion
after formatting.
24 Data Logging
Data logging feature allows user to log PLC application variable values with time stamp
in to microSD card in a CSV file format. User can retrieve these logged records by
reading .CSV files by removing card and reading files on PC or using PC based
software tool (GOC File Explorer) to upload files via communication interface. The
logged data from CSV files can be further used for analysis, records and diagnostic
purpose by user.
24.1 Specifications
Following table lists the functional specifications for data logging feature.
Item Description
Number of data log groups 1
Number of data elements 32
Data Types Bit, WORD, DWORD, INT, DINT, REAL, String (up to 80
characters)
Maximum size of log record 512 Bytes
Sampling method Time Trigger : Periodic time sampling
Condition Trigger : Application trigger based sampling
Minimum sampling time 500ms for log record size less than 256 bytes
1 sec for log record size more than 256 bytes and less
than 512 bytes
File format .CSV
File switching Based on date (New file every day)
Based on number of log records
From PLC application
Maximum number of files 1000
Maximum file size 100MB
Maximum 32000 log records in file.
File access By removing card from GOC and reading .CSV files
directly in PC
By using PC based software tool (GOC File Explorer) to
upload .CSV files via serial/ Ethernet communication
interface without removing card from GOC.
Refer Appendix1 for more details
Configuration Using HMI Configuration Tool*2
*1 Though user can generate condition trigger in alternate PLC scan, practically minimum
sampling time depends on number of data elements, size of log record and PLC scan time.
Writing to microSD card is relatively slow process compared to application program execution.
Always make sure that you are not triggering data log records too frequently i.e. faster than
minimum sampling time.
For data logging, internal buffer of 1024 bytes is reserved. Log records are stored in this buffer
before writing to microSD card. Once buffer reaches 512 bytes, 512 bytes of data records are
written to microSD card. This helps in reducing number of write cycles to microSD card. If
internal buffer is filled with log records faster than SD card writing time, data loss may occur.
This situation is indicated by bit 5 of system variable ‘_SysVarSDCard.bCardStatus’.
Refer section ‘System Variables’ for more details.
*2 Data logging configuration data is stored in app data memory along with multilingual objects
data. Make sure that app data download is enabled. For more details refer section ‘Application
Program Memory’.
_________________________________Page 189 of 241__________________________________
microSD Memory
…
Year/Month/Day HH:MM:SS , Data , Data , , Data CR LF
…
Year/Month/Day HH:MM:SS , Data , Data , , Data CR LF
…
Year/Month/Day HH:MM:SS , Data , Data , , Data CR LF
…
Year/Month/Day HH:MM:SS , Data , Data , , Data CR LF
No Content Description
No Content Description
4 Data Contains value of data element (PLC variable) at the time of log.
Bit : 1 character (0 or 1)
WORD : 5 characters max
DWORD : 10 characters max
INT : 6 characters max
DINT : 11 characters max
REAL: 14 characters max
STRING: Depend on string size, up to 80 characters allowed
Note :
1. Leading 0s are not included for numerals
2. ‘+’ sign not included for positive integer values.
3. String is not added with null character.
5 CR LF Return code at the line end
One line in data log file with set of time stamp, values of all the log elements and
separator characters is referred as ‘Log Record’. Size of single log record is limited to
512 bytes. Hardware Configuration Tool restricts user from exceeding the limit.
Note that data logging functionality is executed by GOC at the end of every PLC scan.
Hence there may be delay of maximum of one scan time .in processing of log trigger.
Data log files created are named as ‘LOGNNNNN.CSV’. LOG is fixed prefix and
NNNNN is file number from 00001 to 01000.
System variable ‘_SYSVARDATALOG.wLogFileNumber’ holds file number and it is
read/write type of variable. When condition for creating new log file is detected, file
number is incremented by 1 and file is generated with incremented file number value.
After reaching 1000 file number reset to 1.
User can modify file number to required value by directly writing to the system variable
from the application program when data log is disabled. Writing of log file number when
data logging is enabled is not allowed.
24.3 Configuration
HMI Configuration Tool allows user to configure data logging functionality as per the
application requirement.
Menu command ‘Tools Data Logging’ facilitates user configuration for data logging.
Following dialogue appears for data logging configuration.
There are two tabs available in configuration dialogue; ‘Data’ and ‘Settings’.
Data tab is used to manage log elements and ‘Settings’ tab allows user to set various
configuration parameters related to log file content , log trigger source and file
switching.
Data tab
Following buttons are provided to manage log element list
Button Details
Name
Add Opens dialogue to add new data log element.
Settings tab
Following is the view of setting tab
Setting tab
While GOC accessing to microSD card, do not remove the microSD card or power off the
GOC. Failure to do so may cause microSD card failures or malfunctions. The file system on
SD card may get corrupt in such cases.
Status of SD card access is provided in card status in system variable ‘_SysvarSDCard.
bCardStatus’. Refer section ‘System Variables’ for more details.
It is advised to disable data logging before GOC power off.
25 System Variables
The system variables are predefined global variables, which exchange the information between the CPU and the application program. Each
system variable has a unique Name, which starts with underscore ‘_Sysvar’. System variables are categorized depending on functionality and
presented in a predefined structure format.
The table below explains the significance of system variable structures based on functionality –
Individual structure variables can be accessed using dot (.) operator e.g. _SysvarVersionInfo.SRTSVERSION which holds firmware version.
The table below explains the significance of system variables category wise –
.SHWVERSION STRING Read only String holds CPU (main unit) hardware version.
_SysvarCPU
.SYSTEMBITS WORD Read only
These are special bits available to the application program. Bit number and details are provided as below.
Bit Details
0 Bit remains on always.
1 Bit is on for the first scan cycle. This bit can be used to call an initialization subroutine.
2 Bit is ON in case of warm start initialization. It remains ON for 1 scan only.
3 Bit is ON in case of cold start initialization. It remains ON for 1 scan only.
4 Bit provides a clock pulse with ON OFF duration of 5 ms
5 Bit provides a clock pulse with ON OFF duration of 50 ms.
6 Bit provides a clock pulse with ON OFF duration of 500 ms.
7 Bit provides a clock pulse with ON OFF duration of 30 sec.
8 Bit toggles its status in consecutive scans.
9 - 15 Reserved
System variables…
System variables…
_SysvarCPU
.BCPUSTOPCAUSE BYTE Read only Indicates the reason for CPU to go in STOP mode. It is cleared when CPU goes to 'RUN' mode.
Bit Significance Details Corrective Action
1 Memory Error Invalid application program. Download a valid application program
It is also indicated by LED indications.
Refer section ’13.1 LED Indications’ for
more details.
2 Scan Error Scan time in ms exceeds the value of Find out cause of scan error (e.g.
_SYSVARCPU.WLIMITMAXSCAN. infinite loop) in application program
It is also indicated by LED indications. and download a valid and corrected
Refer section ’13.1 LED Indications’ for application program.
more details.
3 PFNMI Error Low input power (< 18 VDC) to the Switch off the controller power and
controller main unit. restore it again such that input power
It is also indicated by LED indications. is > 18 VDC.
Refer section ’13.1 LED Indications’ for
more details.
In this case, controller doesn’t
communicate with programming
software CoDeSys and System Menu
on LCD in not active.
4 User Stop User initiated STOP mode command User should put CPU in RUN mode
through programming software through programming software
CoDeSys.
It is also indicated by LED indications.
Refer section ’13.1 LED Indications’ for
more details.
5 Address error Odd address is assigned to data type Find out the cause of invalid address
other than BOOL and BYTE. assignment in application program
It is also indicated by LED indications. and download a valid and corrected
Refer section ’13.1 LED Indications’ for application program
more details.
System variables…
Name of System Variable Data Type Access Description
_SysvarCPU
.BINITSTATUS BYTE Read only Holds the status of CPU initialization. This byte is updated whenever related action is executed.
Hot Initialization
_SysvarCPU.BINITSTATUS holds 1, if system detects a power break for less than 15 ms but greater than
10 ms. In this case controller functioning is normal as if there is no power disturbance.
Warm Initialization
_SysvarCPU.BINITSTATUS holds 2 on healthy power ON, if system detects a power break for more than
15 ms. It results resetting of data, which is not retained.
CoDeSys menu command Online Reset causes warm initialization
Cold Initialization
_SysvarCPU.BINITSTATUS holds 3,
1. If system detects any change in the application program. If a new application program is downloaded,
cold start is observed.
2. Destroying of retentive data because of hardware fault.
3. Any related fault in power supply section
4. CoDeSys menu command Online Reset Cold
.WCOLDSTARTCOUNTER WORD Read Only Holds number of cold start initialization occurrences. This variable is persistent.
.WWARMSTARTCOUNTER WORD Read Only Holds number of warm start initialization occurrences. This variable is persistent.
.WCURSCANTIME WORD Read Only Holds scan time of last scan (in ms). The value is updated at the end of each scan.
.WMINSCANTIME WORD Read Only Holds minimum scan time (in ms) in all previous PLC scans after power ON or warm or cold initialization.
The value is updated at the end of each scan.
.WMAXSCANTIME WORD Read Only Holds maximum scan time (in ms) in all previous PLC scans after power ON or warm or cold initialization
with 1ms resolution.
.WLIMITMAXSCAN WORD Read Write
This is the maximum limit for scan time.
If current scan exceeds this limit, CPU is put in STOP mode by declaring ‘scan error’. It is also indicated by
LED indications. Refer section ’13.1 LED Indications’ for more details.
Default value is 250 ms and it is loaded before logic-scan.
If user needs change in scan time limit, he can modify the value at the beginning of logic scan. Maximum
scan time limit allowed is 1 sec. The new value is applicable for that scan only. Next scan is checked for
default value unless this system variable is modified again to a new limit.
If you want to change scan limit for every scan then you must write this variable in every scan.
System variables…
Name of System Variable Data Type Access Description
_SysvarCPU
.W_REG_STATUS WORD Read Holds extension unit registration status as per the slots. The table below explains significance of bit
only depending upon hardware units and slot numbers.
Bit Details
0 Bit becomes TRUE, if CPU detects presence of main unit
1 Bit becomes TRUE, if CPU detects presence of COM extension unit in COM1 slot
2 Bit becomes TRUE, if CPU detects presence of COM extension unit in COM2 slot
3,4 Reserved
5 Bit becomes TRUE, if CPU detects presence of IO extension unit in IO1 slot
6 Bit becomes TRUE, if CPU detects presence of IO extension unit in IO2 slot
7 to 15 Reserved
.W_IOERR WORD Read Holds hardware units error status as per the slots. After power ON during initialization, CPU detects
only hardware units and starts I/O data exchange. Later on if CPU does not get response from extension unit for
2 sec duration due to physical disconnection/loose connection or hardware fault etc, then IO error is
declared for that slot.
Once IO error is declared it will not be cleared even if hardware is restored. I/O error is declared only for the
hardware unit which is registered during controller power ON.
IO Error is also indicated by LED indications. Refer section ’13.1 LED Indications’ for more details.
Bit Details
0 Reserved
1 Bit becomes TRUE, if CPU detects IO error for COM extension slot COM1.
2 Bit becomes TRUE, if CPU detects IO error for COM extension slot COM2.
3,4 Reserved
5 Bit becomes TRUE, if CPU detects IO error for IO extension slot IO1.
6 Bit becomes TRUE, if CPU detects IO error for IO extension slot IO2.
7 to 15 Reserved
System variables…
Name of System Variable Data Type Access Description
_SysvarCPU
.AMODULEORDERINGCODE ARRAY Read Only This array holds ordering code of hardware units detected.
[0..15] OF _SysvarCPU.AMODULEORDERINGCODE[0]:Ordering code of Main unit
STRING
_SysvarCPU.AMODULEORDERINGCODE[1]:Ordering code of COM Extension unit fixed in COM1 slot
_SysvarCPU.AMODULEORDERINGCODE[2]:Ordering code of COM Extension unit fixed in COM2 slot
_SysvarCPU.AMODULEORDERINGCODE[3]:Reserved
_SysvarCPU.AMODULEORDERINGCODE[4]:Reserved
_SysvarCPU.AMODULEORDERINGCODE[5]:Ordering code of IO Extension unit fixed in IO1 slot
_SysvarCPU.AMODULEORDERINGCODE[6]:Ordering code of IO Extension unit fixed in IO2 slot
_SysvarCPU.AMODULEORDERINGCODE[7]to _AMODULEORDERINGCODE[15]:Reserved
_SysvarRTC
.BRTCINVALID BYTE Read only RTC is backed up by super capacitor and back up time is 2 weeks nominal.
This bit is TRUE if RTC is corrupted due to loss of back up due to any reason. RTC is then initialized to
date of January 1, 1970 and time of 00H:00M:00S:00MS. In such case user has to ensure that super
capacitor back up is restored and set proper value of RTC again.
If user wants to use RTC data in application, programmer should consider this bit to check validity of RTC
and inform user to take necessary action.
System variables…
Name of System Variable Data Type Access Description
_SysvarMemPtr
.ASEGMENTPTR ARRAY Read only
Holds start address of various memory blocks –
[0..5] OF
_SysvarMemPtr.ASEGMENTPTR[0]: Start address of input memory
DWORD
_SysvarMemPtr.ASEGMENTPTR[1]: Start address of output memory
_SysvarMemPtr.ASEGMENTPTR[2]: Start address of marker memory
_SysvarMemPtr.ASEGMENTPTR[3]: Start address of data memory
_SysvarMemPtr.ASEGMENTPTR[4]: Reserved
_SysvarMemPtr.ASEGMENTPTR[5]: Start address of LCD data buffer
.ADRRXPORT1 DWORD Read only This variable holds start address of receive buffer of COM1 slot. Buffer size is 256 bytes.
.ADRTXPORT1 DWORD Read only This variable holds start address of transmit buffer of COM1 slot. Buffer size is 256 bytes.
.ADRRXPORT2 DWORD Read only This variable holds start address of receive buffer of COM2 slot. Buffer size is 256 bytes.
.ADRTXPORT2 DWORD Read only This variable holds start address of transmit buffer of COM2 slot. Buffer size is 256 bytes.
_SysvarHMI
.STW WORD Read write Screen Trigger Word. _SysvarHMI.STW holds screen number to be displayed on LCD.
.PRESENTSCREENNUM WORD Read only Read only variable. Reserved for internal use only.
.NEWSCREENNUM WORD Read only
.SCREENSTATE BYTE Read only
.REFRESHSCREEN BOOL Read only
System variables…
Name of System Variable Data Type Access Description
_SysvarHMI
.WKEYSTATUS WORD Read only This variable holds status of HMI keys. Bit becomes TRUE is respective key is pressed. It becomes
FALSE if key is not pressed or key is released. HMI key status is updated in every input scan.
0 Enter 8 F5
1 Next 9 F4
2 Esc 10 F3
3 Back 11 F2
4 Home/Shift 12 F1
5 to 7 Reserved 13 to 15 Reserved
.WIKEYSTATUS WORD Read only This variable holds status of illuminated keys. Bit becomes TRUE is respective illuminated key is pressed.
It becomes FALSE if key is not pressed or key is released. Illuminated key status is updated in every
input scan.
0 K1 4 K5
1 K2 5 K6
2 K3 6 K7
3 K4 7 K8
8 to 15 Reserved
System variables…
Name of System Variable Data Type Access Description
_SysvarHMI
.WIKEYLEDGREEN WORD Read only Variable holds status of green LEDs provided in illuminated keys. Respective bit is TRUE when green
LED glows and it becomes OFF when LED is off. Variable is updated by firmware based on value of LED
control word defined in illuminated key configuration in ‘HMI Configuration Tool’
0 K1 4 K5
1 K2 5 K6
2 K3 6 K7
3 K4 7 K8
8 to 15 Reserved
.WIKEYLEDRED WORD Read only Variable holds status of red LEDs provided in illuminated keys. Respective bit is TRUE when red LED
glows and it becomes OFF when LED is off. Variable is updated by firmware based on value of LED
control word defined in illuminated key configuration in ‘HMI Configuration Tool’
0 K1 4 K5
1 K2 5 K6
2 K3 6 K7
3 K4 7 K8
8 to 15 Reserved
Note: GOC front panel provided 8 keys with dual LEDs (Green and Red) behind it. When both LEDs glow, key is illuminated with yellow colored light.
System variables…
Name of System Variable Data Type Access Description
_SysvarHMI
.WKEYSSIMULATED WORD Read write This variable is used to simulate the HMI keys through application program. User can modify status of
HMI key to ON/OFF through application program without actually pressing it.
Refer SysvarHMI.WKEYSTATUS description for bit to HMI key relation.
.BACKLITTIMEOUT BYTE Read write Defines LCD backlit timeout in minutes. Default value is 30 minutes
User can change value either between 20 to 40 or 0. If timeout set is 0, LCD backlit is on permanently.
.LCDCONTRAST BYTE Read write Defines LCD contrast value. Default value is 75.
Value should be in range 0 -100; 0: Minimum contrast, 100: Maximum contrast
.PSWLOGINLEVEL BYTE Read only Holds user login password Level as 1 to 4. If user has not login any password level, then it holds 0.
.BUPPERCASE BOOL Read only Read Only variable. Hold status of ‘˄’ LED near home key.
_SysvarInterrupt
.EVENT_WPERIOD WORD Read write Holds time interval of periodic interrupt event. Resolution can be 1 ms or 0.5 ms. The value should be from
1 to 2500 corresponding to 1/0.5 ms to 2500/1250 ms.
.EVENT_BPERIODICRESO BYTE Read write Decides resolution of time interval of periodic interrupt event. If FALSE, resolution is 1 ms. If TRUE,
LUTION resolution is 0.5 ms
.EVENT_BCUR_EVENT BYTE Read only Holds event number under execution.
.EVENT_BLOG_INDEX BYTE Read only This byte holds index of array _SysvarInterrupt.EVENT_ALOG which is the event number recently
executed.
.EVENT_ALOG ARRAY Read only This is array of 32 bytes which holds event number executed sequentially. The event number of executed
[0..31] OF events is logged in the array starting from _SysvarInterrupt.EVENT_ALOG[0]
BYTE to_SysvarInterrup.EVENT_ALOG[31]. If array is full, executed events are logged again from
_SysvarInterrupt.EVENT_ALOG[0]. The last event executed can be found using array index provided
by system variable _SysvarInterrupt.EVENT_BLOG_INDEX
.EVENT_BLOST_COUNTER ARRAY Read only This is array of 256 bytes which corresponds to the interrupt event numbers from 0 to 255. Individual byte
[0..255] holds number of interrupt events lost. e.g. _SysvarInterrupt.EVENT_BLOST_COUNTER[1] holds
OF BYTE number of periodic events lost.
System variables…
Name of System Variable Data Type Access Description
_SysVarSDCard
.BCARDREADY BOOL Read only This bit provides card healthy status.
TRUE : SD card is present, mounted, correctly formatted, not full and ready for operation
FALSE: Any of above condition is not met.
.BCARDFULL BOOL Read only Bit becomes TRUE if SD card memory is 90% full. If this bit is TRUE, as per user configuration either data
logging will be stopped or GOC will over write older files.
.BCARDSTATUS BYTE Read only Displays bitwise SD card status information
Bit Details
0 SD card detected.
Bit is TRUE when microSD card is detected.
1 Mount / Unmount status
Bit is TRUE when microSD card is mounted.
2 Invalid format
Bit is TRUE when format of microSD card is unknown. (other than FAT32)
3 TRUE : File Delete Operation In progress
4 SD card busy
Bit is TRUE when Read /Write operation is in progress.
5 SD card interface buffer full. Data loss may occur.
Since writing to microSD card is relatively slow operation, data log records are written to the
internal buffer, before writing to microSD card. If buffer gets full, further data is lost. Application
should monitor this bit for possible data loss while writing to microSD card. In such case
reducing data logging frequency or number of log elements could be possible remedy.
6 Bit is TRUE if SD card mounting is in progress.
7 SD card is 80% full
Bit is TRUE when microSD card memory is 80% full. This bit can be used in application
program to generate prior intimation for operator before card is 100% full.
.WSIZE WORD Read only Displays microSD card memory size in MB. e.g. for 4GB card, it displays 4096
.BFREESIZE BYTE Read only Displays % of free memory on micoSD card.
.Unmount BOOL Read write Unmounts SD card on rising edge of this BOOLean variable.
After unmounting, SD card is mounted after power recycle or reinsertion of card.
System variables…
Name of System Variable Data Type Access Description
_SysvarDataLog
.BLOGSTATUS BYTE Read only Byte variable displays status of data logging as
Value Details
0 Data logging not configured by user.
1 Storage media not ready for writing. Refer _SysVarSDCard.BCARDSTATUS for the details
of error. In this case, logging data is lost.
2 Invalid data logging configuration found. Data logging will not start in this case. Invalid data
logging configuration in <CoDeSys project name>_APP.dat file.
3 Maximum size (100MB) of logging file reached. Logging stopped.
Logging stops in case of Custom file name format, if log file size reaches 100MB.
100 Logging is in progress without any error.
.BENABLELOGGING BOOL Read write This BOOL variable allows enabling of data logging from application program.
By default, this variable is set to TRUE at power ON. User can change value in application program
afterwards for conditional Enable /Disable of data logging.
.BLOGTRIGGER BOOL Read write This BOOL variable accepts logging trigger from application program. On rising edge of this variable, data
record is logged in file. Logging trigger is accepted only if ‘Condition Trigger’ is enabled.
.BCREATENEWFILE BOOL Read write This BOOL variable accepts file switching trigger from application program.
If file switching from application is enabled from configuration, then on rising edge of this variable, new log
file is created in SD card. Name of new file depends on file name format selected by user as…
File Name format New File Name
New file is created with incremented file number. e.g. If current file number is 100,
LOGNNNNN.csv then on receiving rising edge at ‘SysvarDataLog.BCREATENEWFILE’, new
file is created with file name LOG00101.csv
_SysvarDataLog
DWORD Read write Log file number used to generate log file name when ‘LogNNNNN’ file name format is selected by user.
.DWLOGFILENUMBER
File number is incremented by 1 every time new file is created.
.DWLOGRECNO DWORD Read only Holds count of number of records written in current file.
26 HMI Function
LCD display
8 illuminated keys
arranged in 4 x 2
matrixes
Display and keypad is designed to add functionality and value to the micro range of
controller. It provides the operator interface required for many small size applications.
It has moderate display and setting capability and advanced features. However, it is
limited if compared with a true HMI. Programmer should go through the features of
PLC function and HMI capability to offer cost effective solution to many applications.
Out of 10 HMI keys, 5 keys can be configured for user functionality like momentary
action, toggle action, Go to screen action. User can also define scope of key
functionality as local to a screen and global. This helps in assigning multiple
functionalities to a single key and enhances operation input and control capability.
Illuminated key panel along with slide-in label enhance usability. This part consists of
8 keys with dual colour (red, green) LEDs. Dual colour LEDs offer tri-colour effect with
colors as red, green and yellow (red + green). Keys can be configured for operation
like momentary, toggle and Go to screen. LEDs can be switched on/off through
application.
Unit is dispatched with default label with key nomenclature as K1 to K2. Label can be
designed and printed by customers especially OEMs. Label combined with illuminated
keys helps in customizing controller to suit application. It can be used as operator
station with push buttons and lamps, alarm annunciation and machine/process mimic.
Highlighting Features…
HMI Function
Advanced HMI Graphical symbols (32 x 32 pixel size and 48 x 48 pixel size)
Features
Multi-language support
- 3 languages, local and foreign.
- Provides all the fonts supported by Windows
Custom image import to show logo, special symbol on LCD
- Can import up to 8 images
- Consumes data memory
Screen level password
- 4 digits numerical password to restrict any unauthorized access to
critical parameter settings / screen.
- 4 password levels from 1 to 4 with 4 as highest priority level.
Configuration of data logging in SD memory card
- Selection of up to 32 log variables
- Defining logging interval
- Define user controlled log trigger and file switching
Function Keys 5 HMI keys F1 to F5
User configurable operation Momentary/ Toggle/ GoTo Screen
Local/ Global operation
Key legend on LCD for F2, F3, F4
Built-in Status and One Key I/O Monitor
Diagnostics
System Menu for
- System Status like scan time, current password level logged in,
firmware version
- Monitoring Input and Output status of Main unit and Extension units
- System Diagnostics like CPU status, extension unit status, RTC
error, etc
- System Settings like RTC, IP Config, LCD settings like backlit
timeout and contrast, Multi language selection
- To log in, log out and modify password
Integrated Tool with Assign screen actions (Entry, Display, Exit)
User Friendly GUI
Define screen chaining and navigate using Back and Next key
HMI Configuration Tool
Configurable operation for function keys
*1
Configurable operation for illuminated keys and control of dual-colour
LEDs
HMI screen definition and key configuration is a part of application
*1 Even though, maximum 64 user defined screens are allowed, it is limited by application
program memory (192 Kbytes) and POU size (8192 bytes) because display related logic i.e. HMI
screen definition and key configuration is a part of application program and is available in POU
HMI_PRG.
26.2 Screens
HMI function in GOC supports up to 64 user screens where in user can monitor and
set application data and show machine/ process status and alarm messages.
HMI screens can be designed and keys can be configured using ‘HMI Configuration
Tool’. Tool facilitates Fast screen definition with drag n drop objects. Based on user
design and configuration, ‘HMI Configuration Tool’ creates PRG HMI_PRG in PLC
application program. So HMI application is part of PLC application program and
consumes application program memory which has size of 192 Kbytes. For more
details, refer Help of HMI Configuration Tool.
HMI can handle PLC data of different data types. User can monitor/ modify timer
delays, counters, temperatures, speed of the machine, production count, machine
running hours and various machine/ process parameters. User can select mode of
operations like auto/ manual selection, start/ stop any sequence, enable/ disable
machine accessories. User can schedule and control activities day wise, week wise
dependent on built-in Real Time Clock.
Refer chapter ‘Screen Objects’ for list of supported screen objects by GOC.
Screen updation time is 100 ms minimum.
Display mode
By default, HMI is in display mode i.e. user is navigating through user screens or
system menu using keys and monitoring it. Function keys F1 to F5 acts as per user
configuration e.g. Momentary, Toggle, GoTo Screen and behavior depends upon
local and global configuration. Refer section HMI Keys for more details of function
keys
Modification mode
HMI LCD display is switched to modification mode when user wants to modify any
screen object or system parameter on a screen.
Transition from display mode to modification mode takes place when
User presses Enter key with line cursor displayed at modifiable object in a
screen.
Transition from modification mode to display mode takes place when
Enter key is pressed to validate data entry. Exits modification mode on valid
entry.
Esc key pressed to exit modification mode without data entry.
Key timeout is occurred i.e. any HMI key is not pressed for 30 sec duration.
HMI key operation depends upon mode of operation as explained in next section.
HMI keypad provides 10 keys arranged in 2 rows for screen navigation and data
entry.
User cannot access status of the keys namely Home, Back, Down, Next and Enter
(placed in second row) through application program.
Keys F1, F2, F3, F4 and F5 (placed in the first row) are useful to enter numbers (0 to 9)
and text characters. These keys can be configured as function keys when display is
not in modification mode. For more details, refer section xxx Function Keys.
There are two modes of a key pressing as explained in the table below.
Short press Press key for less than 2 sec duration. Desired action is performed after
key release i.e. at falling edge of key short press.
Long press Press key for more than 2 sec duration. Desired action is performed
when key is kept pressed and 2 sec duration is elapsed i.e. at rising edge
of key long press.
All these keys have multiple functionalities depending on display mode of operation
as explained in section Modes of Operation. The table below explains key operation
in display mode and modification mode.
Points to note
1. When user is monitoring System Menu, change in Screen Trigger Word;
(_SysvarHMI.STW) via application program is ignored. To monitor screens triggered
by application program, user has to switch to User Home first.
2. Modification mode is exit automatically, if no key operation is carried out for 30 sec
duration.
3. During password entry and password modification, selected digit is displayed and
all other digits are masked by .
4. F1 to F5 keys are useful for data entry.
During text (alphanumeric character) entry, F1 key behaves as explained below
when it is pressed in succession. Behavior is explained considering lower case
alphabets i.e. Shift key is not pressed. F2 to F5 keys operation is identical but
alphanumeric characters are different.
F1 key operation for text entry
First key press alphabet ‘a’ is inserted at cursor position.
Second key press
alphabet ‘b’ is inserted at cursor position.
(within <1 sec time)
During numeric (0 to 9, sign +/-) entry, F1 key behaves as explained below when it
is pressed in succession. On pressing F1 key in succession, it inserts 1 and 6
alternately. F2 to F5 keys operation is identical but numbers are different.
F1 key operation for numeric entry
First key press digit 1 is inserted at cursor position.
Second key press
digit 6 is inserted at cursor position.
(within <1 sec time)
Third key press
digit 1 is inserted at cursor position.
(within <1 sec time)
Third key press
digit 6 is inserted at cursor position.
(within <1 sec time)
Key not pressed
cursor moves to next digit (on left side) automatically.
within 1 sec
2 strokes
During numeric data modification,
F5 key enters 4 at first stroke and
9 at second immediate stroke.
During data modification for any object (showing blinking block cursor at any digit),
user can press Down key to come out of modification ignoring entry of new value.
This will show line cursor blinking at first digit of the object under modification.
3 strokes
8 strokes
6 strokes
Points to Note
User can assign various properties and associate memory address (%I, %Q,
%M) or PLC variable with symbolic name.
For bit type of objects, user can assign direct address like %MX10.2, PLC BOOL
data with symbolic name or bit within PLC data with symbolic name with
BYTE/WORD/DWORD data type.
User can allow modification of value of a object using keypad. User can also set
minimum limit and maximum limit for value.
User can decide sequence of navigation of modifiable objects in screen. With the
help of DOWN key, user can scroll through the modifiable objects with pre-
defined sequence. Selected object shows line cursor at first digit/character.
Virtually there is no limit for number of objects to be displayed on a screen. But
size of LCD display and font limits no. of objects in a screen.
HMI supports up to 64 screens. HMI application which includes screen definition,
object properties and key configuration consumes application program memory.
So application memory available for HMI application limits number of screens
and no. objects per screen.
Apart from configuring properties of display objects, user can configure
properties of screen, functions keys, illuminated keys and dual-colour LEDs.
HMI Configuration Tool creates PROGRAM type POU HMI_PRG in CoDeSys
application program. POU HMI_PRG contains program code in Structured Text
as per user configuration and is Read only type. This POU should not be
changed. It will cause malfunctioning of HMI application or loss of HMI
configuration.
Screen updation time is 100 ms minimum.
User configured functionality of function keys is not available when operator enters into
modification mode by pressing Enter key.
In modification mode, these keys act as alphanumeric keys for data entry for numeric and
text objects.
Key Legend F3
8 illuminated keys
arranged in
4 x 2 matrix
By default, scope of action of illuminated key is global. So illuminated key with desired
functionality is active irrespective of screen displayed on LCD screen.
LED Control
LED Status Color
Byte Value
0 or >9 OFF No color
1 Red
2 ON Green
3 Yellow
4 Red
Blinking Slow
5 Green
(500 ms ON, 500 ms OFF)
6 Yellow
7 Red
Blinking Fast
8 Green
(250 ms ON, 250 ms OFF)
9 Yellow
Slide-in label can be inserted from backside of controller front panel. Remaining part of
side-in label should be folded to ensure plain surface over illuminated keys especially
over K1 and K2 keys. Insertion slit is located at left top on the backside of front panel.
Insert label from side opposite to the fold such that fold line is aligned with slit edge.
Shape of folded part is designed such that it doesn’t obstruct mounding clamp and I/O
terminal block.
Refer section Main Unit Installation to know how to insert and remove slide-in label.
Overview
PC based ‘GOC File Explorer’ tool can be used to upload files on SD card inserted in
GOC Main unit. Installation of GOC File Explorer is available in GOC Toolkit CD.
However user needs to install it separately. It will not be installed automatically along
with GOC Toolkit.
After installation, user can start the tool from Start menu path as
‘Start > All Programs > GOC File Explorer > GOC File Explorer’
Following is the GUI of the tool
Device
explorer
Command buttons
As shown in above screen shot, following are sections of GOC File Explorer
Section Details
Toolbar The Tool Bar offers quick access buttons for frequently used commands.
Following command buttons are available
Card Info: Reads SD card information. Button is active only if selected
device is connected. If SD card is not present in the GOC Main unit then card
size is displayed as 0.
Connect: Establishes communication with selected device and lists files in
SD card view.
Setting: Displays device properties (Name, Connection type, Local directory
path, etc.) of selected device.
Add Device/Group: Adds device to selected group. If group is not selected
then adds new group.
Delete Device: Deletes selected Device / Group.
Com Settings: Opens dialogue to set communication settings like timeout,
retries.
Help: Opens Help file.
Section Details
Tool Displays version of GOC File Explorer
Version
Device Device explorer displays all the devices (GOC) configured in tool.
Explorer Currently tool allows configuration of only one device and one group.
SD Card When connected, shows files / folders from SD card of connected device.
View Displays nothing when SD card is not present in connected device.
Local Local directory explorer view displays files and folders from local directory
Directory assigned for selected device in device explorer
Command Command buttons are used for various file operations like move files
buttons between SD card and local folder, delete file, etc.
Status Bar Status bar displays connection status and other status messages.
Progress Displays progress of file / folder reading operation.
Bar
Setting Description
Name Identification name for device (GOC). User can assign any identification
name of length 32 characters.
Communication Select connection type
Serial:
Selected COM port from PC that is used for RS232 connection with
device.
Device will communicate with tool via GC-RS232-COM extension unit
inserted in COM1 port of Main unit using standard programming cable.
_________________________________Page 232 of 241__________________________________
Appendix1: GOC File Explorer
Setting Description
Ethernet:
Tool will establish Ethernet communication with device. Device will
communicate via GC-ENET-COM extension unit inserted in COM1 slot
on Main unit. Mention target IP address.
Local Directory Tool allows assigning particular directory from computer’s local drive to a
device.
This directory is used to store uploaded data log files from the device.
This local directory path is remembered by tool.
Connecting to Device
Select device from device explorer and click on Connect button from toolbar or right
click on selected device and select option ‘Connect’.
Tool establishes communication with selected device with connection type set in device
properties.
After successful connection with device, tool reads content of ‘ROOT’ directory of SD
card and display content in SD card view as shown below
Circle showing
communication status
SD Card view shows
content of ROOT
directory
Communication
status of device in
status bar
Note the circle in front of device in device explorer is now GREEN showing device is
connected. Following table shows possible colors of the circle.
Colour Significance
Not connected
Communication error
Trying to connect
Connected
Status bar shows status as ‘Device Name: Connected: Reading DATALOGS directory’
and progress bar shows % of reading process.
After reading is finished, files in folder are displayed in SD card view as shown below
Uploading File
Select a file from SD card view and click right arrow button to upload file from SD card
and copy to local directory.
Select a file to
upload and copy
Click on button
If required, change the file name and click OK button to start uploading file from
connected device and transferring to the local folder.
Button Details
10KB 20 sec
1MB 9 min
10MB 1 hr 50 min
For copying large size log files it is advised to use card reader.