24 Bit Words???

jameskelly.ie

Member
Join Date
Apr 2007
Location
IRELAND
Posts
2
hey guys i've only been using plc's a few months for my final yr project in mech eng.
i'm using an omrom cpm2a and mad11 expansion unit to implement and antisway controller on a gantry crane!!

anyhoooo my q is this
the omron has a 16 bit word which is fine except when using signed binary i'm limited to +/- 32000 ish
which unfortunatly aint good enough to do the job perfectly

the plc dosnt support floating point numbers.. so
what i'm wondering is if there is a plc out there (any manufacturer)
that uses 24bit words (5 hexadecimal numbers) or do all plc's use 16 bit words??? thanks for any info!
 
Some use 32 bits, I think Allen-Bradley calls them Double Integers, I dunno what the other brands call their similar datatypes.

I've not been exposed to many brands (Automation Direct, Allen Bradley, and Siemens are pretty much all I've seen). But 24 bits doesn't seem to be a standard at all (very odd number I believe).
 
jameskelly.ie said:
hey guys i've only been using plc's a few months for my final yr project in mech eng.
i'm using an omrom cpm2a and mad11 expansion unit to implement and antisway controller on a gantry crane!!

anyhoooo my q is this
the omron has a 16 bit word which is fine except when using signed binary i'm limited to +/- 32000 ish
which unfortunatly aint good enough to do the job perfectly

the plc dosnt support floating point numbers.. so
what i'm wondering is if there is a plc out there (any manufacturer)
that uses 24bit words (5 hexadecimal numbers) or do all plc's use 16 bit words??? thanks for any info!

I've got a crane that does antisway that uses all calculations in INT, 16 bit. The pendelum length is CM, the speed ref is +-10000, FWIW.
 
I dont think u can have 24 bit words. Dont they just go in powers of 2.

1..2..4..8..16..32...................
 
You can, and do. It's more common in motion control than PLCs, Trio is one example. Actually, kind of a pain in the butt, I'd rather have 32-bit, but it was their call when they designed the architecture. I'll forgive them - they make good motion controllers.

Aside from that, most PLCs have something for 32bit these days. Double-Word, Memory Long (ML), Long Integers, etc. Depends on the brand.

TM
 
You are using a PLC with fairly old technology and low resolution analogues. Suggest you go up to the CP1 which will use the same expansion I/O but has 64 bit floating point and other maths, and 32 bit of course.

Time is leaving the older shoeboxes behind now.
 

Similar Topics

The topic of reading or writing floating-point values via Modbus seems to come up regularly, and it is to my mind not that difficult. That said...
Replies
0
Views
1,387
I have an application in which I am communicating with an Ethernet/IP generic module. The data exchange is 32 8-bit input words and 32 8-bit...
Replies
1
Views
2,044
Has anyone concatenated two 16-bit (B3) words into one 32-bit (L) word in a Micrologix 1400? I do not want to add the values. I need to maintain...
Replies
4
Views
4,372
Can the "S" bits and words from the SLC-500 be monitored and written over, like for example the Hour, minute, seconds or the max scan time allowed...
Replies
5
Views
2,277
:rolleyes: I have been trying to figure out how to address a 32bit word in rslogix 500. What i am doing is trying to multiply a number and move it...
Replies
9
Views
10,129
Back
Top Bottom