Analog PLC Programming

Meyers Mills

Member
Join Date
Dec 2019
Location
Accra
Posts
37
I am beginner in plc programming, I want to know the salient points /topics in analog PLC programming a starter must know .

Meyers Mills
 
Here is a chart that helps show all the bits and pieces of analog input signals.

attachment.php
 
The last post is a good representation of how it works. the analog output is just the reverse.
It depends on the PLC on how the value is received or sent to/from the PLC (code-wise). for example, Siemens use Peripheral words (PW) so the card converts it into a value i.e. 0-2048 and then in your code you load the PW and scale it to what you want. Mitsubishi uses FROM/TO instructions to retrieve the raw data and store it in a memory word, from there you can scale it as required. Many PLC platforms have either functions to retrieve & scale the data or the card can be configured via the programming utility to process the data into meaningful values. You really need to read the datasheet on each particular platform to understand the ways to read/send values from/to cards.
 
If I remember correctly in S5 the value was 16384 but the lower bits were diagnostic bits for the card so you had to shift right. I could be mistaken as it was some time ago and it could be 4096, however, they were 12-bit conversion in a 16-bit word and as the lower 3 bits were diagnostic and there was of course the sign bit and this was just the siemens older cards. just remembered they were 2047 max.
 
It is very specific to what hardware you are using. Even with one piece of hardware, there are sometimes options to configure it in different ways to provided different numbers and diagnostic information in the input table.

These are the possible configurations for a Phoenix Contact
IB IL AI 2/SF-PAC (2861302)
For the 0-10V input range.

This card can also be configured for +/10V, 0-20mA, +/-20mA, 4-20mA.

So you really have to read the data sheet for hardware as mentioned above.

AnalogInputs.png
 

Similar Topics

Dear Friends i am beginner of analog programming.please guide me how i make first analog program in Keyence PLC.I will be thank full for him.i...
Replies
1
Views
1,614
Dear friend,I want to basic tip how i can analog programming of keyence PLC. what is DM0001,DM002..DM00I0 2008 #03000...
Replies
0
Views
2,066
Hi all, I only do PLC Programming on and off and have never done programming analog stuff therefor I need a pointer in the right direction. We...
Replies
3
Views
4,610
We are using Micrologix 1500 plc in high temperature furnace where temperature to be reachd is approx 2000 celcius. heaters cant be continuously...
Replies
0
Views
1,364
Hello I need to message read the entire 16 channel raw analog inputs from a 1769-L33ER Compact Logic controller to another 1769-L33ER Compact...
Replies
8
Views
250
Back
Top Bottom