Support Portal

How to set the digital outputs of Pin 2 and Pin4 of the Ports from the SIG350 with a Rockwell PLC and Studio 5000

How to set the digital outputs of Pin 2 and Pin4 of the Ports from the SIG350 with a Rockwell PLC and Studio 5000
Related Products
SIG350 EtherNet/IP
SIG350
SIG350-0005AP100 IOL-MASTER,ETHERNETIP

Table of Contents

First of all you have to set the Pins of the Port in the configuration assembly to digital output
In this example with port 1

You have to change IO_Link_Port_S1_Port_Mode to 4 which means digital output for Pin4.
Than you have to change the value of IO_Link_Port_S1_IQ_Behavior to 2 which means digital output for Pin 2.

 


Now how to set/switch Pin 2 output to true (High signal)
First you have to enable the output. This you do with the Byte 0 of the output assembly.

If you set Bit 0 to true Port1 Pin2 is enabled, if you set Bit 1 to true Port2 Pin2 is enabled and so on.

 


Second you have set the output to an high level with the Byte 2 and 3 of the output assembly.

If you set Bit 1 to true, Port1 Pin2 got an high level, if you set Bit 3 to true, Port2 Pin2 got an high level, than Bit 5 and so on. Now you can switch with these bits the output on and off.


 

To set/switch the Pin 4 output to true (high level) you must enable first the process data out.
This you do for the first Port with Byte 4 Bit 0. If you set this to true, Pin 4 of Port 1 one is activated/enabled.

 

 

To switch now the output on and off, you must set the Byte 6 Bit 0 to true

For the next Port you have to know the Assembly size which you have chosen, in this case the size is 32 Byte. If you use a smaller one the size in the next picture will reduced to the chosen size for the IOL Data.

Keywords:
sig350, digital outputs, pin 2, pin 4, EIP, Ethernet/IP, Rockwell, Studio 5000