Symax instruction help req

milindpatel

Member
Join Date
Sep 2010
Location
baroda
Posts
3
Hi Everyone,

I am converting one of the SYMAX 400 Processor to AB. I want to know about the function of one of the instruction in the attached pic. I tried to find out the docs for Instruction Manual for SQD-SY/MAX processors but nothing available.

symax.jpg
 
This appears to be one of several Special (SPEC) instructions supported by the SY/MAX Model 400 processors...

Screenshot_20190927-140621_Adobe%20Acrobat.jpg


LET is a Data Transfer instruction which transfers data from one register to another. BIN refers to the conversion described above. SPEC simply tells us this is a Special instruction.

In the example above, S10 is a Binary Coded Decimal value and is being converted to a Binary value and stored in S20.

"AB" is quite a generic reference to a large family of Allen Bradley controllers. But aside from all that, may I ask at least which controller architecture you are converting to (Logix 500 or 5000)? It may matter "if" you require further assistance with handling BCD conversion in the "AB" World.

Regards,
George
 
Hi GEO.. Thanks for the reply. But what does that ^16383 mean...? I do not get that part. I am working on L73 Controllers using STUDIO 5000...
 
This appears to be one of several Special (SPEC) instructions supported by the SY/MAX Model 400 processors...

Screenshot_20190927-140621_Adobe%20Acrobat.jpg


LET is a Data Transfer instruction which transfers data from one register to another. BIN refers to the conversion described above. SPEC simply tells us this is a Special instruction.

In the example above, S10 is a Binary Coded Decimal value and is being converted to a Binary value and stored in S20.

"AB" is quite a generic reference to a large family of Allen Bradley controllers. But aside from all that, may I ask at least which controller architecture you are converting to (Logix 500 or 5000)? It may matter "if" you require further assistance with handling BCD conversion in the "AB" World.

Regards,
George

Hi, I think in the example, S20 is the BCD value, which is being converted to binary and the binary value is held in the register S10....

Andy
 
Hi GEO.. Thanks for the reply. But what does that ^16383 mean...? I do not get that part. I am working on L73 Controllers using STUDIO 5000...

Hi,

Fairly sure this is like Bitwise code....

So what you have is LET register S0165 (BCD) = S0001 AND 16383

(The ^ symbol in your code means AND)

So it’s bitwise AND, where you multiply the bits in each column to make a resultant 16 bit word. In your example you are masking the last two columns.

Remember everything is in binary

Register S0001 let’s say might equal 1011 1010 1111 0001 (just as an example)

So you AND this to the binary value of 16383 which is 0011 1111 1111 1111

The resultant word is the product of each column multiplied so:

1011 1010 1111 0001
And
0011 1111 1111 1111
Equals
0011 1010 1111 0001

This final value would then be converted to BCD and stored in register S0165



Hope that helps

Andy
 

Similar Topics

Hey. So, we are upgrading an old Symax PLC to CLX and I've come across a "SHORT" instruction in one of the ladder rungs. I've downloaded the...
Replies
10
Views
3,215
Hello everybody! I am working on upgrading an exisiting PLC system comprising of a Symax Model 300 PLC. I am replacing it with an Allen-Bradley...
Replies
10
Views
6,209
Square-D Symax SFI-324 I have used the SFI-510 card for many projects, but I came across a SFI-324. Does anyone have ant tech info on it?
Replies
0
Views
73
I have a few program files that I need to convert into a printable format. We don't have a dot matrix printer available to us. Would anyone be...
Replies
1
Views
738
I have been tasked to upgrade some SquareD PLCs at our plant. I have done several of these upgrades without any issues. However, I have now met my...
Replies
4
Views
2,438
Back
Top Bottom