Crimson 3 - extracting bits from a modbus 4xxxx register

TedC

Member
Join Date
Jul 2012
Location
Kansas
Posts
2
Hello, I am new to using Crimson 3 with Modbus TCP/IP Master protocol. I have a register 47101 that is packed with 16 bits for various on/off conditions; I am just using simple primitives to change color. I am not able (do not know how) to link a tag to the approriate bit.

Network
Protocol 1 - Modbus TCP/IP Master
Device
Block1
Start address - 407101 with expanded bits
407101.00 >> Tag1

Currently, I am using the Emulator. I can read floating points, coils, and unsigned interger values fine. Obviously, something is configured wrong...

Any suggestions.

Thanks
 
to reference bit 0:
Tag1.0

to reference bit 1:
Tag1.1

Also search the manual for "accessing individual bits", and "testing bits". It shows how to display them in the tag viewer, from there, you can see the formatting in case there is anything specific about your protocol, and you can give them each useful labels.
 
to reference bit 0:
Tag1.0

to reference bit 1:
Tag1.1

Also search the manual for "accessing individual bits", and "testing bits". It shows how to display them in the tag viewer, from there, you can see the formatting in case there is anything specific about your protocol, and you can give them each useful labels.

You can also create 16 different Tags (if you want to - sometimes I do, sometimes I don't).

1. Create a Flag Tag
2. Set the Source 407101
3. Set the Treat As Bit Array with the correct bit order. You may have to try both options to determine which is correct for your device.
4. Select the appropriate Bit Number.

Copy and Paste (do not Smart Duplicate) change the Bit Number for the next Tag.
 
I called tech support and spoke with Stephen. He explained that no blocks were needed. He stepped me through creating a simple data tag, flag, then put the correct source and modbus register. The final two steps were:
Treat As: Bit Array Little-Endian
Bit Number: choose appropriate bit

Thanks
 
Thank you for the follow-up so that those searching in the future find details on how to complete the task.
 

Similar Topics

Hi, I'm having an issue in crimson 3.0 when I create a programme using a case statement referencing a fault word that each bit needs to change the...
Replies
1
Views
75
How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
101
Has anyone found a way to convert/replace/update the firmware on old Parker TS80xx series HMIs (i.e. TS8010, TS8006, etc) to accept Crimson...
Replies
0
Views
86
Has anyone setup communications with Red Lion 3.0 MODBUS to Baker Hughes Centrilift GCS VFD? Thanks
Replies
0
Views
82
Hi, I have a complex database in Crimson 3.0 and in one of the display pages I am trying to get a tag to show the sum of several other tags. The...
Replies
3
Views
151
Back
Top Bottom