Panasonic fp2/fp2sh User Manual page 333

Programmable controller
Table of Contents

Advertisement

Num-
Name
ber
F63
32-bit data
DWIN
P63
band
PDWIN
compare
F64
Block data
BCMP
P64
compare
PBCMP
Logic operation instructions
F65
16-bit data
WAN
P65
AND
PWAN
F66
16-bit data
WOR
P66
OR
PWOR
F67
16-bit data
XOR
P67
exclusive
PXOR
OR
F68
16-bit data
XNR
P68
exclusive
PXNR
NOR
F69
16-bit data
WUNI
P69
unite
PWUNI
Data conversion instructions
F70
Block check
BCC
P70
code
PBCC
calculation
F71
Hexadecima
HEXA
l data →
P71
PHEXA
ASCII code
F72
ASCII code
AHEX
→ Hexadeci-
P72
PAHEX
mal data
F73
4-digit BCD
BCDA
data →
P73
PBCDA
ASCII code
F74
ASCII code
ABCD
→ 4-digit
P74
PABCD
BCD data
F75
16-bit binary
BINA
data →
P75
PBINA
ASCII code
: Available,
: Not available,
Ope-
Boo-
lean
rand
S1, S2,
(S1+1, S1)>(S3+1, S3)→R900A: on
S3
(S2+1, S2)< or=(S1+1, S1)< or=(S3+1,
S3)→R900B: on
(S1+1, S1)<(S2+1, S2)→R900C: on
S1, S2,
Compares the two blocks beginning with
S3
"S2" and "S3" to see if they are equal.
S1, S2, D
(S1) AND (S2)→(D)
S1, S2, D
(S1) OR (S2)→(D)
S1, S2, D
{(S1) AND (S2)} OR {(S1) AND (S2)}→(D)
S1, S2, D
{(S1) AND (S2)} OR {(S1) AND (S2)}→(D)
S1, S2,
([S1] AND [S3]) OR ([S2] AND [S3])→(D)
S3, D
When (S3) is H0, (S2)→(D)
When (S3) is HFFFF, (S1) →(D)
S1, S2,
Creates the code for checking the data
S3, D
specified by "S2" and "S3" and stores it in
"D".
The calculation method is specified by
"S1".
S1, S2, D
Converts the hexadecimal data specified
by "S1" and "S2" to ASCII code and stores
it in "D".
Example: HABCD→ H 42 41 44 43
S1, S2, D
Converts the ASCII code specified by "S1"
and "S2" to hexadecimal data and stores
it in "D".
Example: H 44 43 42 41
S1, S2, D
Converts the four digits of BCD data
specified by "S1" and "S2" to ASCII code
and stores it in "D".
Example: H1234→ H 32 31 34 33
S1, S2, D
Converts the ASCII code specified by "S1"
and "S2" to four digits of BCD data and
stores it in "D".
Example: H 34 33 32 31
S1, S2, D
Converts the 16 bits of binary data
specified
by "S1" to ASCII code and stores it in "D"
(area of "S2" bytes).
Example: K-100→ H 30 30 31 2D 20 20
: Not available partially
Description
B A D C
→ HCDAB
D C B A
2 1 4 3
→ H3412
4 3 2 1
0 0 1 -
13
7
7
7
7
7
9
9
7
7
7
9
7
11-65

Advertisement

Table of Contents
loading

Table of Contents