Datasheet

CJ1 series CPU Units 171
Programmable
Controllers
High-precision Approximations
Converting a level meter reading in mm to tank capacity in liters
according to the shape of the tank and other difficult linear extrapola-
tions requiring high data resolution can be performed. (Linear data can
be handled as 16-bit unsigned binary or BCD data, 16-bit or 32-bit
signed binary data, or floating-point decimal data.)
Applicable Instructions:
ARITHMETIC PROCESS (APR(069))
Convert between Floating-point and Text Data
Instructions are provided to easily convert floating-point decimal num-
bers (real numbers) to text strings (ASCII) for display on PTs. These
are display as character display objects on the PT.
You can also convert ASCII data (text strings) received from measure-
ment devices to floating-point decimal data for use in calculations.
Applicable Instructions:
Floating-point Decimal Math instructions
FLOATING- POINT TO ASCII (FSTR(448))
ASCII TO FLOATING-POINT (FVAL(449))
High-precision Positioning for XY Tables and Other
Applications
Floating-point decimal and double-precision calculation instruction
have been supported. These are essential for position control opera-
tions. Now more precise position control is possible than ever before.
Applicable Instructions:
Floating-point Decimal and Double-precision Math instructions
Easily Programmed Calendar Timers
(Unit Ver. 2.0 or Later)
Two sets of calendar data can be compared. The calendar data to be
compared can be restricted to the year, month, day, hour, minutes, or
seconds.
Example: The calendar timer function can be easily set for a specific
function to operate every day at 17:00:00 (H:M:S).
Applicable Instructions:
Comparison instructions
Time comparison:
= DT(341)
<> DT(342)
< DT(343)
<= DT(344)
> DT(345)
>= DT(346)
Simplified Execution of Subroutines with Different
Operands
Macro instructions can be used to execute the same subroutine pro-
gram with different operands from different locations in the programs.
Applicable Instructions:
Subroutine instruction: MACRO (MCRO(099))
Level Capacity
Conversion
Capacity
Level
High-resolution linear
extrapolation (input
data: 32-bitsigned
binary data possible)
500.00
PT
Text
string
(example) 500.00 353030E23030
Conversion
Character dis
p
la
y
ob
j
ec
t
Floating-
point data
Text
string
Conversion
Serial communications
Measurement device (example)
Floating-
point data
High-precision positioning
Floating-point
decimal
calculations
POWER
PA205R
DC24V
AC240V
OUTPUT
RUN
INPUT
AC100-240V
L2/N
L1
CONTROLLER
CJ1G-CPU44
SYSMAC
PROGRAMMABLE
ERR/ALM
RUN
COMM
INH
PRPHL
OPEN
PERIPHERAL
BUSY
MCPWR
PORT
=DT
Turn ON every day at 5:00 pm.
Operand
Operands
Subroutine
Y201-EN2-03.book Seite 171 Donnerstag, 30. Mรคrz 2006 1:52 13