Data types

jcp

Member
Join Date
Feb 2010
Location
Multan
Posts
369
Hi friends;
i am confusing with GE funac. In rslogix we can define when create a tag style and data types.
In ge i want to declare constants and i am unable to understand the registers.
If i enter %r0001=11820
is it use only %R0001 or use %R0001 and R0002?
is the data types define any where? or system it self choose the how many register occupy to see the value?
If any one have example to use registers and documant about it in which explain with eaxples i am very thankful and pray for him.
Regards
 
Unlike Rockwell, GE does not define separate areas of memory for Integers, Double Integers, Floats, Timers, or Counters. Instead GE defines %R memory for all numeric data.

A %R address defines a 16-bit memory location. When you need to do calculations in double integer or floating point, the PLC will automatically use two consecutive %R locations, the one you implicitly define when you assign an address to the variable plus the next higher %R address.

When you define a variable as INT, that means the variable uses one %R address. When you define a variable as DINT or REAL, it uses two %R addresses. When you create a timer or counter, you automatically allocate three consecutive %R addresses.

i am confusing with GE funac.
Yes you are. The former GE partner in the joint venture is actually named "Fanuc", not "Funac". The joint venture with GE and Fanuc was ended in December 2009.
 
HI;
"When u define a variable as INT "
How can i define it?
Plz guide me. I know it is very basic but i do not know how to define in GE?
Regards
 
For an existing variable, look under properties for that variable. When you are creating a new variable you are given a choice. If you drop an instruction into ladder logic and then type in an address for which no variable already exists, the variable typr will be chosen based on the type of instruction you are applying it to. For example, if you are filling out a MUL_INT instruction, all new variables created for that instruction will automatically be INTs. If it a MUL_REAL instruction, all new variables will be REALs.

It is up to you as the programmer to be careful that you don't overlap register addresses when you create new varaibles. If there is already a DINT variable that uses %R101 and %R102, then don't create a new INT addressed to %R102.

As I have previously, I suggest you experiment on your bench system to familiarize yourself with the way GE handles these things. Deliberatly overlap addresses on the bench system so you can observe the behavior and be able to recognize similar symptoms on an actual system.
 

Similar Topics

Hello Friends, I am working on a new project to add in a NU-EP1 from Keyence to a 5069-L306ERS2. The EDS file registration goes just fine with no...
Replies
0
Views
220
Hi everyone, I have a 505 workshop program with PLC type of 555- 1106 and I was wondering how can I download the data documentation window as a...
Replies
11
Views
405
I have an expression in a structured text routine of a Logix controller that looks more or less like the following: ResultInteger := Integer1 *...
Replies
13
Views
593
I am using a Beckhoff PLC and trying to convert a REAL to 2 WORDS to send over Modbus. Does anyone know how to do this? Also how would I convert...
Replies
5
Views
930
Looking for information regarding what data types are supported in Crimson 3.1 programs. Cstring is self explanatory. Professor Google hasn't been...
Replies
1
Views
1,176
Back
Top Bottom